<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    I saw an error like that once, but I don't remember what I was
    doing.&nbsp; What command did you use for configure?<br>
    <br>
    Also, if you're using netlib BLAS, consider GotoBlas, which is BSD
    licensed now.&nbsp; It's quite a bit faster.&nbsp; Note that if you build
    GotoBlas, the library also provides Lapack.<br>
    <br>
    On 04/19/2011 05:28 PM, Abishek SM wrote:
    <blockquote
      cite="mid:BANLkTinJjHhRMcf4H3ffUrR6p5rT9KJjzQ@mail.gmail.com"
      type="cite">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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; 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&nbsp;
        -L/oelab01_homes001/abs2017/3dmodel/Ipopt-3.9.2/lib/coin/
        -lipopt -lpthread -llapack -lgfortranbegin -lgfortran -lblas
        -lm&nbsp; -ldl&nbsp; -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>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>