You might need to link those MPI libraries<br><br><div class="gmail_quote">On Tue, Apr 19, 2011 at 6:47 PM, Abishek SM <span dir="ltr"><<a href="mailto:s.m.abishek@gmail.com">s.m.abishek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks for the reply Tom. <br><br>I didnt give any special commands to configure. I just did ./configure to Ipopt and let the default script do the work. <br>
<br>In fact, I got the exact same error when I installed a virtual machine on my desktop with ubuntu on it. <br>
<br>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. :-). <br><font color="#888888"><br>-Abishek</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Tue, Apr 19, 2011 at 6:40 PM, Tom Vacek <span dir="ltr"><<a href="mailto:vacek008@umn.edu" target="_blank">vacek008@umn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
I saw an error like that once, but I don't remember what I was
doing. What command did you use for configure?<br>
<br>
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.<div><div></div><div><br>
<br>
On 04/19/2011 05:28 PM, Abishek SM wrote:
</div></div><blockquote type="cite"><div><div></div><div>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>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Ipopt mailing list
<a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jiadong Wang<br>Harold S. Mohler Laboratory<br>Lehigh University<br>200 West Packer Avenue<br>Bethlehem, PA 18015-1582<br><br>Phone No: 484-707-8895<br>