1 | Installation of LAPACK subroutines within IPOPT. |
---|
2 | |
---|
3 | ********************************************************************** |
---|
4 | Note: It is YOUR RESPONSIBILITY to ensure that you are entitled to |
---|
5 | download and use this third party package. |
---|
6 | ********************************************************************** |
---|
7 | |
---|
8 | If you are working under Unix/Linux-like system and you have `wget' |
---|
9 | installed, you can downloaded the required source code for LAPACK |
---|
10 | by executing the included script `get.Lapack' in this directory. |
---|
11 | |
---|
12 | Otherwise, follow those instructions: |
---|
13 | |
---|
14 | LAPACK is available at |
---|
15 | |
---|
16 | http://www.netlib.org/lapack |
---|
17 | |
---|
18 | There you can find precompiled libraries for some operating systems, or |
---|
19 | obtain the source code (with instructions on how to build it). If you decide |
---|
20 | to build the LAPACK library according to those instructions, make sure that |
---|
21 | you tell the configure script where it is (using |
---|
22 | --with-lapack="-LPATH/TO/LAPACKLIBDIR -llapack" ) |
---|
23 | |
---|
24 | Alternatively, if you want to have the necessary LAPACK routines compiled |
---|
25 | within this distribution, please download the 'lapack-3.2.1.tgz' tarball |
---|
26 | from http://www.netlib.org/lapack and unpack it in this directory: |
---|
27 | |
---|
28 | gunzip lapack-3.2.1.tgz |
---|
29 | tar xf lapack-3.2.1.tar |
---|
30 | mv lapack-3.2.1 LAPACK |
---|
31 | |
---|
32 | The last step is necessary since the projects expect the source code to |
---|
33 | be in that directory. |
---|
34 | |
---|
35 | If you then run the configure script again, it would automatically detect the |
---|
36 | sources and prepare the Makefiles so that they will be automaticall compiled. |
---|
37 | |
---|
38 | NOTE: The LAPACK source files are expected to be in the subdirectory |
---|
39 | LAPACK/SRC and LAPACK/INSTALL of this directory. |
---|