[Ipopt-tickets] Re: [Ipopt] #50: Cannot link fortran example with IPOPT 3.3

Ipopt coin-trac at coin-or.org
Tue Nov 27 15:05:29 EST 2007


#50: Cannot link fortran example with IPOPT 3.3
--------------------------------+-------------------------------------------
  Reporter:  einglez            |       Owner:  andreasw
      Type:  defect             |      Status:  assigned
  Priority:  normal             |   Component:  Ipopt   
   Version:  3.3 (C++ Version)  |    Severity:  normal  
Resolution:                     |    Keywords:          
--------------------------------+-------------------------------------------
Changes (by andreasw):

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

Comment:

 I don't have the Intel Fortran compiler, so I cannot load your solution
 files.

 Could you please describe each steps you did to get to the point of the
 error?  Which version of the source code did you use?

 Did you use project files that were included in the Ipopt distribution?
 (Ipopt 3.3 does not longer have project files for the Intel compiler, but
 I guess you were using Ipopt 3.2?)  Or did you create your own ones?

 The linking problem seems to be that the linker cannot find the Fortran
 symbols in the Ipopt.lib library.  This could be a problem related to name
 mangling and calling conventions.  Somewhere in the preferences for the
 Fortran Compiler should be settings for that, something like using upper
 case versus lower case names, and also whether you are using stdcall or
 cdelc or something like that.  What are your settings there?  (You should
 be using upper case)

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



More information about the Ipopt-tickets mailing list