Download BLAS, LAPACK and ASL

Note: It is highly recommended that you obtain an efficient implementation of the BLAS library, tailored to your hardware; Section 1.3 lists a few options. Assuming that your precompiled efficient BLAS library is libmyblas.a in $HOME/lib, you need to add the flag -with-blas="-L$HOME/lib -lmyblas" when you run configure (see Section 2.3). Some of those libraries also include LAPACK.

If you have the download utility wget installed on your system, retrieving source code for BLAS (the inefficient reference implementation, not required if you have a precompiled library), as well as LAPACK and ASL is straightforward using scripts included with the ipopt distribution. These scripts download the required files from the Netlib Repository (www.netlib.org).

$ cd $IPOPTDIR/ThirdParty/Blas
$ ./get.Blas
$ cd ../Lapack
$ ./get.Lapack
$ cd ../ASL
$ ./get.ASL

If you do not have wget installed on your system, please read the INSTALL.* files in the $IPOPTDIR/ThirdParty/Blas, $IPOPTDIR/ThirdParty/Lapack and $IPOPTDIR/ThirdParty/ASL directories for alternative instructions.



Andreas Waechter 2010-12-22