Skip to content

Commit

Permalink
more verbose output when looking for optional files in extras dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbybp committed Feb 25, 2024
1 parent 99673fd commit 497e563
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/compile_solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,16 @@ rm -rf ThirdParty/SCIP
rm -rf ThirdParty/SoPlex
rm -rf ThirdParty/Glpk

echo "#########################################################################"
echo "# Use novariadic metis 4.0.3 if available #"
echo "#########################################################################"
if [ -f $IDAES_EXT/../metis-4.0-novariadic.tar.gz ]; then
echo "Found metis-4.0-novariadic.tar.gz"
rm -rf ./ThirdParty/Metis/metis-4.0/*
cp $IDAES_EXT/../metis-4.0-novariadic.tar.gz ./ThirdParty/Metis/metis-4.0/
cd ThirdParty/Metis/metis-4.0
tar -zxvf metis-4.0-novariadic.tar.gz
rm metis-4.0-novariadic.tar.gz
echo "#########################################################################"
echo "# Use novariadic metis 4.0.3 #"
echo "#########################################################################"
make $PARALLEL
cd $IDAES_EXT/coinbrew
fi
Expand All @@ -165,6 +166,7 @@ echo "# Get coinhsl.zip if available #"
echo "#########################################################################"
# If we have the HSL stuff copy and extract it in the right place
if [ -f $IDAES_EXT/../coinhsl.zip ]; then
echo "Found coinhsl.zip"
# if the HSL source zip is in place...
mkdir ThirdParty/HSL/coinhsl
cp $IDAES_EXT/../coinhsl.zip ThirdParty/HSL/coinhsl/
Expand Down

0 comments on commit 497e563

Please sign in to comment.