[Ipopt] Libipopt.so error

Stefan Vigerske vigerske at zib.de
Wed Apr 20 13:54:54 EDT 2011


Hi,

looks like you miss linking against libcoinmumps.so, which should be in
/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin/ThirdParty

Stefan

Am 20.04.2011 00:28, schrieb Abishek SM:
> I am not sure if the first message got posted, but I registered to the
> mailing list and sending it again. Sorry if you receive a duplicate of this
> message.
> 
> Hi,
> 
> I needed to Ipopt for running a program written by a research group. I
> followed the instructions in the installation - I got BLAS, Lapack and
> HSL(ma27 and ma19) as described in the documentation. Configure, make and
> make install worked perfectly fine. In fact, make test was successful.
> 
> I tried to compile the C++ program that uses Ipopt and when I ran the make
> command for that, I got these errors. (genome_ipopt_main is the C++ program
> - it doesnt use MPI at all). Did I miss something? Is it possible that make
> test for Ipopt works successfully but something else is wrong?
> 
> 
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `MPI_Finalize'
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `MPI_Init'
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `MPI_Comm_rank'
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `dmumps_c'
> collect2: ld returned 1 exit status
> make: *** [genome_ipopt_main] Error 1
> 
> 
> Any help is appreciated.
> 
> Thanks,
> -Abishek
> 
> p.s. the entire error message was
> make
> 
> bla=;\
> for file in coords.o utils.o genome_ipopt_main.o genome_ipopt_nlp.o
> genome_model.o              ; do bla="$bla `echo $file`"; done; \
> g++4 -Wl,--rpath -Wl,/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin/
> -fomit-frame-pointer -pipe -Wimplicit -Wparentheses -Wreturn-type
> -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
> -Wno-unknown-pragmas -g -o genome_ipopt_main $bla
> -L/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin/ -lipopt -lpthread
> -llapack -lgfortranbegin -lgfortran -lblas -lm  -ldl  -lm -lgcc_s
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `MPI_Finalize'
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `MPI_Init'
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `MPI_Comm_rank'
> /oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so:
> undefined reference to `dmumps_c'
> collect2: ld returned 1 exit status
> make: *** [genome_ipopt_main] Error 1
> 
> 
> 
> 
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt



More information about the Ipopt mailing list