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.<br><br>Hi,<br><div class="gmail_quote"><br>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. <br>
<br>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? <br>
<br><br>/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `MPI_Finalize'<br>/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `MPI_Init'<br>
/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `MPI_Comm_rank'<br>/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `dmumps_c'<br>
collect2: ld returned 1 exit status<br>make: *** [genome_ipopt_main] Error 1<br><br><br>Any help is appreciated. <br><br>Thanks,<br>-Abishek<br><br>p.s. the entire error message was <br>make<br><br>bla=;\<br>for file in coords.o utils.o genome_ipopt_main.o genome_ipopt_nlp.o genome_model.o ; do bla="$bla `echo $file`"; done; \<br>
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<br>
/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `MPI_Finalize'<br>/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `MPI_Init'<br>
/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `MPI_Comm_rank'<br>/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin//libipopt.so: undefined reference to `dmumps_c'<br>
collect2: ld returned 1 exit status<br>make: *** [genome_ipopt_main] Error 1<br><br><br><br>
</div><br>