From f956962e553fb5103088d1ece858a0675bc78c07 Mon Sep 17 00:00:00 2001 From: Cole Kendrick Date: Thu, 26 Sep 2024 08:54:04 -0700 Subject: [PATCH] Update docker MFEM version to v4.7 --- docker/Dockerfile | 4 ++-- scripts/setup.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index b7161cbfc..5a6ba1ea6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/scripts/setup.sh b/scripts/setup.sh index d263ab266..48b3a0f4d 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -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