[Ipopt] Libipopt.so error

Abishek SM s.m.abishek at gmail.com
Tue Apr 19 18:28:47 EDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110419/ad2444d7/attachment.html 


More information about the Ipopt mailing list