Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MFEM version #302

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading