[Ipopt-tickets] Re: [Ipopt] #30: cannot compile ipopt 3.2.3 with MA57

Ipopt coin-trac at coin-or.org
Mon Feb 12 09:41:21 EST 2007


#30: cannot compile ipopt 3.2.3  with MA57
--------------------------------+-------------------------------------------
  Reporter:  matteot            |       Owner:  andreasw
      Type:  enhancement        |      Status:  assigned
  Priority:  normal             |   Component:  Ipopt   
   Version:  3.2 (C++ Version)  |    Severity:  normal  
Resolution:                     |    Keywords:  MA57    
--------------------------------+-------------------------------------------
Changes (by andreasw):

  * status:  new => assigned
  * owner:  ipopt-team => andreasw
  * type:  defect => enhancement
  * severity:  blocker => normal

Comment:

 Hi Matteo,

 I myself don't have a copy of MA57, so I can't test anything here.

 When I set up the Makefile for MA57, I assumed that all dependencies for
 MA57 are in the file ma57ad.f.  The Makefile will not compile anything
 else.

 So, for you to proceed, you could simply include ALL Fortran source files
 for MA57 into that file.

 However, if you want to use Metis, the {{{ThirdParty/HSL/Makefile}}} won't
 help you, because it doesn't know how to compile it.  Instead, you will
 need to generate your own library for the Harwell libraries, that should
 include all code from HSL that you want to have Ipopt use.  For this, you
 would compile all source code somewhere else first, and make an archive
 (e.g., {{{libmyhsl.a}}}).  When you then run configure for Ipopt, you use
 the {{{--with-hsl}}} flag to tell it about your HSL library.  For example:

 {{{
 configure --with-hsl="-L$HOME/lib -lmyhsl"
 }}}

 if you put your {{{libmyhsl.a}}} into your {{{$HOME/lib}}}.

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



More information about the Ipopt-tickets mailing list