Skip to content

Commit

Permalink
Merge pull request #269 from Robbybp/mumps-without-metis
Browse files Browse the repository at this point in the history
Compile Mumps without Metis
  • Loading branch information
Robbybp committed Jan 28, 2024
2 parents 449d332 + 0a65e76 commit 280f2c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/compile_solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ echo "#########################################################################"
echo "# Thirdparty/Mumps #"
echo "#########################################################################"
cd ThirdParty/Mumps
./configure --disable-shared --enable-static --with-metis \
# We compile without metis to get around a suspected Metis/Mumps version
# incompatibility. See https://github.com/IDAES/idaes-ext/issues/268
# ThirdParty/Metis uses v4.0.3, while ThirdParty/Mumps uses the latest release.
METISFLAG="--without-metis"
./configure --disable-shared --enable-static $METISFLAG \
--prefix=$IDAES_EXT/coinbrew/dist FFLAGS="-fPIC" CFLAGS="-fPIC" CXXFLAGS="-fPIC"
make $PARALLEL
make install
Expand Down

0 comments on commit 280f2c0

Please sign in to comment.