[Ipopt] problems with atlas

Tony Kelman kelman at berkeley.edu
Wed May 21 00:48:59 EDT 2014


You’re very welcome. I’m cc’ing the mailing list for the sake of the next person who runs into this problem and might find this in the archives via Google.

-Tony


From: Guillermo Cabrera 
Sent: Tuesday, May 20, 2014 9:38 PM
To: Tony Kelman 
Subject: Re: [Ipopt] problems with atlas

Hi Tony,


Thank you very much for your help. I rearrange libraries order as follows

-lf77blas -latlas -lcblas


and it finally worked. 


Thanks again.

Guillermo








On 21 May 2014 00:24, Tony Kelman <kelman at berkeley.edu> wrote:

  Well, the error was different this time, so that’s progress:

  /usr/local/atlas/lib//libf77blas.a(ATL_F77wrap_daxpy.o): In function `atl_f77wrap_daxpy_':
  ATL_F77wrap_axpy.c:(.text+0x24): undefined reference to `ATL_daxpy'
  ATL_F77wrap_axpy.c:(.text+0x51): undefined reference to `ATL_daxpy'
  ATL_F77wrap_axpy.c:(.text+0x7c): undefined reference to `ATL_daxpy'
  ATL_F77wrap_axpy.c:(.text+0x8f): undefined reference to `ATL_daxpy'
  collect2: error: ld returned 1 exit status

  How many library files are there in /usr/local/atlas/lib? You may need to rearrange the order you provide them in if they’re all static libraries, or add more on the link line.



  From: Guillermo Cabrera 
  Sent: Tuesday, May 20, 2014 9:19 PM
  To: Tony Kelman 
  Subject: Re: [Ipopt] problems with atlas

  Hi Tony. I tried with the "-L" before and I got the same output. I've attached the config.log I got when using the "-L".


  Cheers

  Guillermo




  On 21 May 2014 00:09, Tony Kelman <kelman at berkeley.edu> wrote:

    Whoops, read that too quickly. The error is here
    /usr/bin/ld: cannot find /usr/local/atlas/lib/: File format not recognized
    /usr/bin/ld: cannot find -lcblas
    /usr/bin/ld: cannot find -latlas
    /usr/bin/ld: cannot find -lf77blas
    collect2: error: ld returned 1 exit status


    You need “-L/usr/local/atlas/lib/” first, you’re missing the -L

    From: Guillermo Cabrera 
    Sent: Tuesday, May 20, 2014 8:03 PM
    To: Tony Kelman 
    Subject: Re: [Ipopt] problems with atlas

    Hi Tony,


    It does not work. Attached you can find the config.log file.

    Cheers

    Guillermo




    On 20 May 2014 22:20, Tony Kelman <kelman at berkeley.edu> wrote:

      Guillermo,

      The full error message should be spelled out inside ThirdParty/HSL/config.log. My quick guess is you should link it as “-lcblas -latlas -lf77blas”, the linker generally inserts the “ib” automatically. If that doesn’t help, can you post the config.log?

      -Tony


      From: Guillermo Cabrera 
      Sent: Tuesday, May 20, 2014 2:38 PM
      To: ipopt at list.coin-or.org 
      Subject: [Ipopt] problems with atlas

      Hi there,


      I've been experiencing some problems when installing ipopt in my computer with ATLAS. I've successfully installed ipopt with standard BLAS library before. However, when trying to install ipopt with atlas as blas library i have the following error message:

      ".......
      checking whether user supplied BLASLIB="/usr/local/atlas/lib/ -libcblas -libatlas -libf77blas" works... no
      configure: error: user supplied BLAS library "/usr/local/atlas/lib/ -libcblas -libatlas -libf77blas" does not work
      configure: error: /bin/bash '../../../ThirdParty/HSL/configure' failed for ThirdParty/HSL
      "


      Atlas installation run with no problem. I'm working on ubuntu 12.04 64 bits with g++ 4.7.3, gcc 4.7.3 and gfortran compilers


      Any help is welcome :)


      Cheers

      Guillermo


--------------------------------------------------------------------------
      _______________________________________________
      Ipopt mailing list
      Ipopt at list.coin-or.org
      http://list.coin-or.org/mailman/listinfo/ipopt



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140520/2f6b98a7/attachment.html>


More information about the Ipopt mailing list