[Ipopt-tickets] [Ipopt] #106: linking with gfortran and lapack

Ipopt coin-trac at coin-or.org
Thu Aug 13 10:17:22 EDT 2009


#106: linking with gfortran and lapack
------------------------------+---------------------------------------------
Reporter:  asm4               |       Owner:  ipopt-team
    Type:  defect             |      Status:  new       
Priority:  low                |   Component:  Ipopt     
 Version:  3.7 (C++ Version)  |    Severity:  normal    
Keywords:                     |  
------------------------------+---------------------------------------------
 if i have a simple C code that i need to link with
 ipopt, i need to add -llapack and -lgfortran even though my code does not
 use
 anything from these libraries.

 libClp on the other hand does seem to link to such libraries.
 $ ldd libClp.so
         linux-vdso.so.1 =>  (0x00007fff38dfe000)
         liblapack.so.3gf => /usr/lib/atlas/liblapack.so.3gf
 (0x00007f732ff03000)
         libblas.so.3gf => /usr/lib/atlas/libblas.so.3gf
 (0x00007f732f552000)
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f732f247000)
         libm.so.6 => /lib/libm.so.6 (0x00007f732efc6000)
         libc.so.6 => /lib/libc.so.6 (0x00007f732ec64000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f732ea55000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f7330c34000)

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



More information about the Ipopt-tickets mailing list