[Coin-discuss] Compilation issues for IPOPT

Mikhail Nediak mnediak at business.queensu.ca
Fri Aug 4 20:12:52 EDT 2006


Hi,

As a follow up to my previous message, I have managed to build Ipopt and
Dfo libraries on this system by disabling shared libraries with
--enable-shared=no (since Dfo only needs the static one). However, my
attempt at building the example for Dfo failed since the standard -lblas
and -llapack were deemed "incompatible" by ld:

[nediakm at nar317 Dfo_2006Aug01]$ make dfotest_ipopt
f77 -o dfotest_ipopt -O dfotest.o\
             ./libdfo_ipopt.a ranlux.o ../Ipopt_2006Aug01/lib/libipopt.a
-llapack -lblas
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../libblas.so when
searching for -lblas
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../libblas.a when searching
for -lblas
/usr/bin/ld: skipping incompatible /usr/lib/libblas.so when searching
for -lblas
/usr/bin/ld: skipping incompatible /usr/lib/libblas.a when searching for
-lblas
/usr/bin/ld: cannot find -lblas
collect2: ld returned 1 exit status
make: *** [dfotest_ipopt] Error 1

I am not quite sure how the incompatibility is determined and whether it
is possible to twist the build process around it.
Also, it is not clear how to produce (or find and use) the substitutes
supposedly resulting from "ThirdParty" packages. Finally, on my standard
workstation the build for dfotest_ipopt fails because libipopt.a no
longer provides ev_hlv_dummy__ (it did in the build of an earlier
version).

Any suggestions?

Thanks much!

Mikhail
  
On Wed, 2006-08-02 at 12:14, Mikhail Nediak wrote:
> Dear COIN Experts,
> 
> I am trying to get IPOPT and DFO to run on one of the SHARCNET clusters
> in Canada and have run into a problem. The make is failing during the
> attempt to create .libs/libipopt.so.0.0.0 because it 
> can not find libipopt.so.0. The log of the make run ("errs" file
> included in logs.zip together with config.log)
> does not refer to libipopt up to this point, so there is no surprise
> that the library was not found. Would someone have a suggestion
> concerning this issue (perhaps some flag for ./configure which I
> may have forgotten to set :-))?
> 
> The code was obtained as Aug 1 tarball. The machine is a cluster of
> Opterons running HP Linux XC 3.0. 
> 
> As a second note, the standard sequence of ./configure and make 
> also fails on a standard P4 workstation with Fedora Core 2, but 
> in a different place:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../../inc -O3 -fomit-frame-pointer -pipe
> -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type
> -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
> -I./../Common -I./../LinAlg -I./../Algorithm/LinearSolvers
> -I./../LinAlg/TMatrices -I./../Algorithm -MT IpTNLPAdapter.lo -MD -MP
> -MF .deps/IpTNLPAdapter.Tpo -c IpTNLPAdapter.cpp  -fPIC -DPIC -o
> .libs/IpTNLPAdapter.o
> make[1]: *** No rule to make target
> `../../../ThirdParty/HSL/libcoinhsl.la', needed by `libipopt.la'.  Stop.
> make[1]: Leaving directory
> `/home/mnediak/COIN-tarballs/Ipopt_2006Aug01/Ipopt/src/Interfaces'
> make: *** [all-recursive] Error 1
> 
> Any advice would be much appreciated!
> 
> Best regards,
> Mikhail
> 
> 
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss




More information about the Coin-discuss mailing list