[Ipopt-tickets] [Ipopt] #82: MA27, MA57 and Metis linking issue redux

Ipopt coin-trac at coin-or.org
Wed Aug 20 10:23:21 EDT 2008


#82: MA27, MA57 and Metis linking issue redux
--------------------------------+-------------------------------------------
  Reporter:  eric.anderson      |       Owner:  andreasw
      Type:  clarification      |      Status:  assigned
  Priority:  normal             |   Component:  Ipopt   
   Version:  3.2 (C++ Version)  |    Severity:  critical
Resolution:                     |    Keywords:          
--------------------------------+-------------------------------------------
Changes (by andreasw):

  * owner:  ipopt-team => andreasw
  * status:  new => assigned

Old description:

> Hello,
>
> I can't build Ipopt or BONMIN; with an Ipopt 3.2 tar ball, the make
> process always dies on:
> {{
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
> strings -Wconversion -o .libs/ipopt ampl_ipopt.o
> ./.libs/libamplinterface.a ../../Interfaces/.libs/libipopt.so
> /opt/cluster/x86_64/src/Ipopt-3.2.1/ThirdParty/ASL/amplsolver.a -ldl
> -llapack -lblas -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3
> -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib -L/lib/../lib
> -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../..
> -lgfortranbegin -lgfortran -lm -lgcc_s -Wl,--rpath
> -Wl,/opt/cluster/x86_64/src/Ipopt-3.2.1/lib
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc34ad_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc47id_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to
> `metis_nodend_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc47bd_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc64wd_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `fd15ad_'
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc71ad_'
> }}
>
> Using BONMIN, latest svn version, make completes just fine, but if I try
> to use the library (including "make test") I get this:
>
> {{
> make test
>
> ...
>
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
> strings -Wconversion -o .libs/unitTest InterfaceTest.o
> ../src/CbcBonmin/.libs/libbonmin.so /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so
> /opt/cluster/x86_64/src/coin-bonmin/Bonmin/../Cbc/src/.libs/libCbc.so
> /opt/cluster/x86_64/src/coin-bonmin/Bonmin/../Cgl/src/.libs/libCgl.so
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Osi/src/OsiClp/.libs/libOsiClp.so
> /opt/cluster/x86_64/src/coin-bonmin/Bonmin/../Osi/src/.libs/libOsi.so
> /opt/cluster/x86_64/src/coin-bonmin/Bonmin/../Clp/src/.libs/libClp.so
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../CoinUtils/src/.libs/libCoinUtils.so -lpthread -llapack
> -lblas -ldl -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3 -L/usr/lib/gcc/x86_64
> -linux-gnu/4.2.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib
> -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../.. -lgfortranbegin -lgfortran
> -lm -lgcc_s -Wl,--rpath -Wl,/opt/cluster/x86_64/src/coin-bonmin/lib
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `metis_nodend_'
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `mc34ad_'
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `mc47bd_'
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `mc64wd_'
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `fd15ad_'
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `mc47id_'
> /opt/cluster/x86_64/src/coin-
> bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
> reference to `mc71ad_'
>
> }}
>

> I'm guessing that this is related to the metis issue mentioned in bug
> #58, but I don't claim to know.  As I understand it, in that bug report
> the issue only existed if one chose to use MA57.  As far as I can tell,
> HSL no longer offers MA27, but MA57 is now free, meaning that there's no
> way around MA57.
>
> What's a person to do?

New description:

 Hello,

 I can't build Ipopt or BONMIN; with an Ipopt 3.2 tar ball, the make
 process always dies on:
 {{{
 g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
 -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
 strings -Wconversion -o .libs/ipopt ampl_ipopt.o
 ./.libs/libamplinterface.a ../../Interfaces/.libs/libipopt.so
 /opt/cluster/x86_64/src/Ipopt-3.2.1/ThirdParty/ASL/amplsolver.a -ldl
 -llapack -lblas -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3
 -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib -L/lib/../lib
 -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../..
 -lgfortranbegin -lgfortran -lm -lgcc_s -Wl,--rpath
 -Wl,/opt/cluster/x86_64/src/Ipopt-3.2.1/lib
 ../../Interfaces/.libs/libipopt.so: undefined reference to `mc34ad_'
 ../../Interfaces/.libs/libipopt.so: undefined reference to `mc47id_'
 ../../Interfaces/.libs/libipopt.so: undefined reference to `metis_nodend_'
 ../../Interfaces/.libs/libipopt.so: undefined reference to `mc47bd_'
 ../../Interfaces/.libs/libipopt.so: undefined reference to `mc64wd_'
 ../../Interfaces/.libs/libipopt.so: undefined reference to `fd15ad_'
 ../../Interfaces/.libs/libipopt.so: undefined reference to `mc71ad_'
 }}}

 Using BONMIN, latest svn version, make completes just fine, but if I try
 to use the library (including "make test") I get this:

 {{{
 make test

 ...

 g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
 -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
 strings -Wconversion -o .libs/unitTest InterfaceTest.o
 ../src/CbcBonmin/.libs/libbonmin.so /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so
 /opt/cluster/x86_64/src/coin-bonmin/Bonmin/../Cbc/src/.libs/libCbc.so
 /opt/cluster/x86_64/src/coin-bonmin/Bonmin/../Cgl/src/.libs/libCgl.so
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Osi/src/OsiClp/.libs/libOsiClp.so /opt/cluster/x86_64/src
 /coin-bonmin/Bonmin/../Osi/src/.libs/libOsi.so /opt/cluster/x86_64/src
 /coin-bonmin/Bonmin/../Clp/src/.libs/libClp.so /opt/cluster/x86_64/src
 /coin-bonmin/Bonmin/../CoinUtils/src/.libs/libCoinUtils.so -lpthread
 -llapack -lblas -ldl -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3
 -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib -L/lib/../lib
 -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../..
 -lgfortranbegin -lgfortran -lm -lgcc_s -Wl,--rpath
 -Wl,/opt/cluster/x86_64/src/coin-bonmin/lib
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `metis_nodend_'
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `mc34ad_'
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `mc47bd_'
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `mc64wd_'
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `fd15ad_'
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `mc47id_'
 /opt/cluster/x86_64/src/coin-
 bonmin/Bonmin/../Ipopt/src/Interfaces/.libs/libipopt.so: undefined
 reference to `mc71ad_'

 }}}


 I'm guessing that this is related to the metis issue mentioned in bug #58,
 but I don't claim to know.  As I understand it, in that bug report the
 issue only existed if one chose to use MA57.  As far as I can tell, HSL no
 longer offers MA27, but MA57 is now free, meaning that there's no way
 around MA57.

 What's a person to do?

Comment:

 Hi Eric,

 Did you try a newer version of Ipopt (3.4)?  Does the same problem appear
 there?  If it does, could you please attached the {{{Ipopt/config.log}}}
 file (from the Ipopt subdirectory!!!) to this ticket?

 Thanks

 Andreas

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/82#comment:1>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list