[Ipopt] Libipopt.so error

Jiadong Wang jiadwang at gmail.com
Tue Apr 19 21:10:27 EDT 2011


You might need to link those MPI libraries

On Tue, Apr 19, 2011 at 6:47 PM, Abishek SM <s.m.abishek at gmail.com> wrote:

> Thanks for the reply Tom.
>
> I didnt give any special commands to configure. I just did ./configure to
> Ipopt and let the default script do the work.
>
> In fact, I got the exact same error when I installed a virtual machine on
> my desktop with ubuntu on it.
>
> Thanks for the tip - but at this point, I am just trying to get it to work,
> I dont care about speed all that much yet. :-).
>
> -Abishek
>
>
> On Tue, Apr 19, 2011 at 6:40 PM, Tom Vacek <vacek008 at umn.edu> wrote:
>
>>  I saw an error like that once, but I don't remember what I was doing.
>> What command did you use for configure?
>>
>> Also, if you're using netlib BLAS, consider GotoBlas, which is BSD
>> licensed now.  It's quite a bit faster.  Note that if you build GotoBlas,
>> the library also provides Lapack.
>>
>>
>> On 04/19/2011 05:28 PM, Abishek SM wrote:
>>
>> 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 listIpopt at list.coin-or.orghttp://list.coin-or.org/mailman/listinfo/ipopt
>>
>>
>>
>> _______________________________________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/ipopt
>>
>>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>


-- 
Jiadong Wang
Harold S. Mohler Laboratory
Lehigh University
200 West Packer Avenue
Bethlehem, PA 18015-1582

Phone No: 484-707-8895
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110419/189cb927/attachment.html 


More information about the Ipopt mailing list