[Ipopt-tickets] [Ipopt] #58: MA57 & MeTiS for IPOPT

Ipopt coin-trac at coin-or.org
Thu Mar 6 10:20:15 EST 2008


#58: MA57 & MeTiS for IPOPT
--------------------------------+-------------------------------------------
  Reporter:  pmota              |       Owner:  andreasw  
      Type:  clarification      |      Status:  assigned  
  Priority:  normal             |   Component:  Ipopt     
   Version:  3.3 (C++ Version)  |    Severity:  normal    
Resolution:                     |    Keywords:  MA57 MeTiS
--------------------------------+-------------------------------------------
Comment (by andreasw):

 Paulo wrote:

 {{{
 Dear Andreas:

 I just need one thing: ma57ad.f needs to be linked with a lib called
 libmetis.a, which I have placed in the HSL directory
 I just do not know how to make the link.
 Regards,
 Paulo Mota
 }}}

 If you compiled your own Harwell library with MA57, you should not put
 anything into the HSL directory.  Assume, that you compiled a library
 libhsl.a which contains MA57, and that you also have libmetis.a, and put
 them into your $HOME/lib.  Then, it should work if you use the following
 flag for Ipopt's configure:

 {{{
 --with-hsl="-L$HOME/lib -lhsl -lmetis"
 }}}

 If you need more libraries to link with MA57 (blas?), add those compiler
 flags here, too.

 To figure out what compilers flags work you can also just compile a simple
 test program that you write independent of Ipopt, which simply calls one
 of the MA57 routines.

 If you get error messages still from Ipopt's configure, the instructions
 at

 https://projects.coin-or.org/BuildTools/wiki/user-
 troubleshooting#ProblemsDuringConfiguration

 might be useful to find out what it going wrong.

 Regards,

 Andreas

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



More information about the Ipopt-tickets mailing list