[Ipopt-tickets] [Ipopt] #176: Ipopt configure/compile problem beginning with 3.10
Ipopt
coin-trac at coin-or.org
Thu Dec 1 18:35:59 EST 2011
#176: Ipopt configure/compile problem beginning with 3.10
--------------------+-------------------------------------------------------
Reporter: bwmoore | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.10 | Severity: normal
Keywords: |
--------------------+-------------------------------------------------------
I'm new to COIN-OR, so if this is not the right place to post this, let me
know.
On versions beginning with 3.10, I encounter a compile problem as shown
below (3.9.3 does not have this problem).
I'm running Ubuntu 10.04, with Mumps and Metis. I do not have any of the
HSL code; it looks like 3.10 and later expect HSL to be present.
IpLinearSolversRegOp.cpp:11:27: error: CoinHslConfig.h: No such file or
directory
make[3]: *** [IpLinearSolversRegOp.lo] Error 1
make[3]: Leaving directory `/home/bwmoore/svn_work/coin-
or/Ipopt/trunk/Ipopt/src/Algorithm/LinearSolvers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bwmoore/svn_work/coin-
or/Ipopt/trunk/Ipopt/src/Algorithm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bwmoore/svn_work/coin-
or/Ipopt/trunk/Ipopt'
make: *** [all-recursive] Error 1
If I copy Ipopt/trunk/ThirdParty/HSL/CoinHslConfig.h to
Ipopt/trunk/Ipopt/src/Algorithm/LinearSolvers/CoinHslConfig.h
the compiler then gives a message that it is missing 'config_coinhsl.h'
Copying
Ipopt/trunk/ThirdParty/HSL/coinfig_coinhsl_default.h to
Ipopt/trunk/ThirdParty/HSL/config_coinhsl.h
allows the compile to appear to complete, however 'make test' fails with
../src/Interfaces/.libs/libipopt.so: undefined reference to `ma27id_'
../src/Interfaces/.libs/libipopt.so: undefined reference to `ma27ad_'
../src/Interfaces/.libs/libipopt.so: undefined reference to `mc19ad_'
../src/Interfaces/.libs/libipopt.so: undefined reference to `ma27cd_'
../src/Interfaces/.libs/libipopt.so: undefined reference to `ma27bd_'
collect2: ld returned 1 exit status
make[2]: *** [hs071_cpp] Error 1
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/176>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list