mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Adding a serial build of libmesh to ci.
This commit is contained in:
parent
0feb12e2ce
commit
a1c29c1f6d
2 changed files with 15 additions and 2 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -49,6 +49,10 @@ jobs:
|
|||
python-version: 3.8
|
||||
mpi: y
|
||||
omp: y
|
||||
- libmesh: y
|
||||
python-version: 3.8
|
||||
mpi: n
|
||||
omp: y
|
||||
- event: y
|
||||
python-version: 3.8
|
||||
omp: y
|
||||
|
|
@ -58,7 +62,8 @@ jobs:
|
|||
omp: n
|
||||
mpi: y
|
||||
name: 'Python ${{ matrix.python-version }} (omp=${{ matrix.omp }},
|
||||
mpi=${{ matrix.mpi }}, dagmc=${{ matrix.dagmc }}, event=${{ matrix.event }}
|
||||
mpi=${{ matrix.mpi }}, dagmc=${{ matrix.dagmc }},
|
||||
libmesh=${{ matrix.libmesh }}, event=${{ matrix.event }}
|
||||
vectfit=${{ matrix.vectfit }})'
|
||||
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,15 @@ mkdir LIBMESH && cd LIBMESH
|
|||
git clone https://github.com/libmesh/libmesh -b v1.6.0 --recurse-submodules
|
||||
mkdir build && cd build
|
||||
export METHODS="opt"
|
||||
../libmesh/configure --prefix=$HOME/LIBMESH CXX=mpicxx.mpich CC=mpicc.mpich FC=mpifort.mpich F77=mpif77.mpich --enable-exodus --disable-netcdf-4 --disable-eigen --disable-lapack
|
||||
|
||||
|
||||
if [[ $MPI == 'y']]; then
|
||||
../libmesh/configure --prefix=$HOME/LIBMESH CXX=mpicxx.mpich CC=mpicc.mpich FC=mpifort.mpich F77=mpif77.mpich \
|
||||
--enable-exodus --disable-netcdf-4 --disable-eigen --disable-lapack
|
||||
else
|
||||
../libmesh/configure --prefix=$HOME/LIBMESH CXX=mpicxx.mpich CC=mpicc.mpich FC=mpifort.mpich F77=mpif77.mpich \
|
||||
--enable-exodus --disable-netcdf-4 --disable-eigen --disable-lapack
|
||||
fi
|
||||
make -j4 install
|
||||
export LIBMESH_PC=$HOME/LIBMESH/lib/pkgconfig/
|
||||
rm -rf $HOME/LIBMESH/build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue