[Ipopt-tickets] [Ipopt] #181: Unpredictable results with mac OS X Lion vecLib

Ipopt coin-trac at coin-or.org
Wed Mar 14 09:52:41 EDT 2012


#181: Unpredictable results with mac OS X Lion vecLib
-------------------------------------------------+-------------------------
Reporter:  guest                                 |      Owner:  ipopt-team
    Type:  defect                                |     Status:  new
Priority:  highest                               |  Component:  Ipopt
 Version:  3.10                                  |   Severity:  major
Keywords:  Mac OS Lion vecLib BLAS memmory       |
  errors                                         |
-------------------------------------------------+-------------------------
 Strange (and critic) behaviour of ipopt when it is compiled with the
 vecLib BLAS library of Mac OS X Lion.



 It seems to be due to some incompatibilities in the file :
 Ipopt-3.10.2/Ipopt/src/LinAlg/IpBlas.cpp. When used with the last mac OS
 BLAS, some of the functions are passed values which lead to unpredictable
 results, as said in the following pages : [[BR]]

 [http://www.mathkeisan.com/usersguide/man/ddot.html][[BR]]

 [http://www.mathkeisan.com/usersguide/man/dcopy.html][[BR]]

 [http://www.mathkeisan.com/usersguide/man/daxpy.html][[BR]]


 The increment passed to DDOT , DCOPY and DAXPY BLAS API functions must be
 non zero otherwise results are senseless.



 The attached patch for the IpBlas.cpp file, written by Frédéric Hecht,
 seems to correct the bug, thus allowing Ipopt to run on the last mac OS.

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



More information about the Ipopt-tickets mailing list