[Ipopt] Installing IPOPT
marick mathis
trucsdivers95 at gmail.com
Mon Oct 22 09:34:24 EDT 2018
Hello everyone,
sorry to bother you with such a useless thing but I have an issue while
trying to compile the solver.
After using an educational email to get intel parallel studio, I used this
with minor modifications : https://www.youtube.com/watch?v=AjZmK6MDkP0
Then this for blas and lapack : https://www.youtube.com/watch?v=5N1QYWxAAL4
I created a build directory in CoinIpopt/ and a ThirdParty/ one in
CoinIpopt/Ipopt/.
After :
- downloaded metis source code,
- and requested HSL to the british organization,
- and git cloned mumps from https://github.com/group-gu/mumps (because
it's been days that I am waiting for the french organization authorization)
And put everything within ThirdParty/,
I configure from CoinIpopt/ with :
./configure --with-blas="-L/usr/local/lib -lblas"
--with-lapack="-L/usr/local/lib -llapack"
--with-hsl-incdir="/home/exs/CoinIpopt/Ipopt/ThirdParty/HSL/include"
--with-hsl-lib="-L/home/exs/CoinIpopt/Ipopt/ThirdParty/HSL/lib -lcoinhsl
-lmetis"
--with-mumps-incdir="/home/exs/CoinIpopt/Ipopt/ThirdParty/Mumps/include"
ADD_CFLAGS=-fopenmp ADD_FFLAGS=-fopenmp ADD_CXXFLAGS=-fopenmp
and it is a success, but after doing (still from CoinIpopt/) :
make
I end up with these errors :
IpMumpsSolverInterface.cpp:22:17: fatal error: mpi.h: No such file or
directory
compilation terminated.
Makefile:569: recipe for target 'IpMumpsSolverInterface.lo' failed
make[3]: *** [IpMumpsSolverInterface.lo] Error 1
make[3]: Leaving directory
'/home/exs/CoinIpopt/Ipopt/src/Algorithm/LinearSolvers'
Makefile:688: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/exs/CoinIpopt/Ipopt/src/Algorithm'
Makefile:679: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/exs/CoinIpopt/Ipopt'
Makefile:323: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Please notice that I used all most uptodate packages, except for metis for
which a precise version was mandatored on ipopt website instructions. (
https://www.coin-or.org/Ipopt/documentation/node14.html )
By thanking you in advance for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20181022/51f88e8d/attachment-0001.html>
More information about the Ipopt
mailing list