Skip to content

Commit

Permalink
Update docker MFEM version to v4.7 (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckendrick authored Oct 8, 2024
1 parent 81d1f8c commit 73a90bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ WORKDIR $LIB_DIR
# install mfem
RUN git clone https://github.com/mfem/mfem.git mfem_parallel
WORKDIR ./mfem_parallel
# v4.5.2-dev commit. This is the mfem version used by PyMFEM v4.5.2.0.
RUN git checkout 00b2a0705f647e17a1d4ffcb289adca503f28d42
# v_4.7 commit. This is the mfem version used by PyMFEM v4.7.0.1.
RUN git checkout dc9128ef596e84daf1138aa3046b826bba9d259f
#RUN tar -zxvf mfem-4.5.tar.gz
#RUN mv mfem-4.5 mfem_parallel
#RUN git pull
Expand Down
4 changes: 2 additions & 2 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ else
fi
if [[ $UPDATE_LIBS == "true" ]]; then
cd mfem_parallel
# NOTE(kevin): v4.5.2-dev commit. This is the mfem version used by PyMFEM v4.5.2.0.
# v4.7.0 commit. This is the mfem version used by PyMFEM v4.7.0.1.
# This version matching is required to support pylibROM-PyMFEM interface.
git checkout 00b2a0705f647e17a1d4ffcb289adca503f28d42
git checkout dc9128ef596e84daf1138aa3046b826bba9d259f
make -j 8 parallel CPPFLAGS="${ROM_CXXFLAGS}" STATIC=NO SHARED=YES MFEM_USE_MPI=YES MFEM_USE_GSLIB=${MG} MFEM_USE_LAPACK=${MFEM_USE_LAPACK:-"NO"} MFEM_USE_METIS=YES MFEM_USE_METIS_5=YES METIS_DIR="$METIS_DIR" METIS_OPT="$METIS_OPT" METIS_LIB="$METIS_LIB" MFEM_USE_SUPERLU=${MFEM_USE_SUPERLU:-"NO"} SUPERLU_DIR="$SUPERLU_DIR" SUPERLU_OPT="$SUPERLU_OPT" SUPERLU_LIB="$SUPERLU_LIB"
check_result $? mfem-parallel-installation
fi
Expand Down

0 comments on commit 73a90bd

Please sign in to comment.