Skip to content

Commit

Permalink
Fix Ipopt_l1 on el7 (#202)
Browse files Browse the repository at this point in the history
* Try to fix linking for el7

* Try to fix el7 linking again

* try again

* Skip mumps on el7

* Fix el7

* Fix shared ipopt linking

* Fix el7?

* Give up on shared ipopt library for el7

* add comment

* el7 fix shared?

* Remove data

* el7 linking more

* fix

* fix

* Fix

* fix

* fix

* Fix

* Fix

* fix

* fix

* fix

* Fix

* Fix

* Fix

* Fix

* Give up and drop mumps in el7

* Fix

* fix

* Fix

* Add 2.6.2 release hash.

* Update compile script solve metis issue

* Fix ipopt_lp for el7
  • Loading branch information
John Eslick authored May 12, 2022
1 parent 5e1cd4d commit d20c6a9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/compile_solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,14 @@ echo "#########################################################################"
echo "# Ipopt_L1 ampl executables #"
echo "#########################################################################"
cd Ipopt_l1
./configure --disable-shared --enable-static --with-mumps --with-hsl\
--prefix=$IDAES_EXT/coinbrew/dist_l1
if [ ${osname} = "el7" ]; then
./configure --disable-shared --enable-static --with-mumps --with-hsl \
ADD_CXXFLAGS="-std=c++11" \
--prefix=$IDAES_EXT/coinbrew/dist_l1
else
./configure --disable-shared --enable-static --with-mumps --with-hsl \
--prefix=$IDAES_EXT/coinbrew/dist_l1
fi
make
make install
cd $IDAES_EXT/coinbrew
Expand Down

0 comments on commit d20c6a9

Please sign in to comment.