[Coin-ipopt] Re: question on Ipopt compilation
Andreas Waechter
andreasw at watson.ibm.com
Fri Jan 27 05:34:51 EST 2006
Hi Tolga,
Please send questions regarding Ipopt in future to the Ipopt mailing list,
see http://list.coin-or.org/mailman/listinfo/coin-ipopt
1. According to the output you sent, the linker complains that the Harwell
routine MA27 is not provided. It should be in libiphsl.a, if you followed
the instructions on how to include third party software.
Did you put the source code for MA27 into OTHERS/HSL (before you ran
configure)? Is there really source code text in the file ma27ad.f? (It
might have gone lost when you downloaded it?).
2. Ipopt does not use the COIN Makefile system; it uses autoconf and
automake, independently of the rest of COIN. Therefore, Ipopt doesn't
appear in Makefile.locations.
3. You are using the Fortran version of Ipopt - there is now a new version
written in C++ (version 3.0)...
I hope this helps,
Andreas
On Thu, 26 Jan 2006, Tolga Cezik wrote:
>
> Hi Andreas,
>
> I am having a problem compiling Ipopt.
>
> I have powerpc-apple-darwin8-g++-4.0.0 on Mac OSX running Tiger. Configure goes through successfully. After typing make install, the make in COIN/Ipopt/IPOPT/AMPL_interface directory produces an error. I copied it to the end of this message.
>
> I think the paths are all correct since I followed the manuals in Ipopt to install blas, lapack, hsl and ampl...the headers and libraries all seem to exist.
>
> I am puzzled (also, Ipopt library flags do not appear in Makefile.location of COIN. Is that ok?). Could you offer any help on these issues?
>
> best,
>
> Dr. M. Tolga Cezik
>
>
> ------
> CP854965-A:/COIN/Ipopt cezik$ make install
> Making install in OTHERS
> Making install in blas
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> Making install in lapack
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> Making install in HSL
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> Making install in IPOPT
> Making install in include
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/COIN/Ipopt/include" || /bin/sh ../../mkinstalldirs "/COIN/Ipopt/include"
> /usr/bin/install -c -m 644 'Ipopt_Interface.h' '/COIN/Ipopt/include/Ipopt_Interface.h'
> Making install in ipopt
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> Making install in CUTEr_interface
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> Making install in AMPL_interface
> cc -O3 -funroll-loops -o ipopt ipoptAMPL.o libipampl.a /COIN/Ipopt/OTHERS/ASL/solvers/amplsolver.a ../../IPOPT/ipopt/libipcore.a ../../OTHERS/HSL/libiphsl.a ../../OTHERS/lapack/libiplapack.a ../../OTHERS/blas/libipblas.a -L/sw/lib/gcc/powerpc-apple-darwin8.3.0/3.4.3 -L/sw/lib/gcc/powerpc-apple-darwin8.3.0/3.4.3/../../.. -lfrtbegin -lg2c -lSystemStubs -lSystem -lmx /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/libgcc.a -ldl
> /usr/bin/ld: Undefined symbols:
> _ma27ad_
> _ma27bd_
> _ma27cd_
> collect2: ld returned 1 exit status
> make[2]: *** [ipopt] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
>
>
>
>
More information about the Coin-ipopt
mailing list