next up previous contents
Next: Other third-Party Software Up: Building and Testing the Previous: VPATH Installations   Contents


Using Ipopt

Ipopt is a COIN-OR project (projects.coin-or.org/Ipopt) and is included in the download with the OS project. However, unlike the other COIN-OR projects that download with OS, the Ipopt project requires third-party software that is based on FORTRAN and care must be taken if you wish to build OS with the Ipopt solver. You can exclude Ipopt from the OS build by adding the option

COIN_SKIP_PROJECTS=Ipopt
to the configure script.

If you do choose to build Ipopt, first get the necessary third-party software. First connect into the ThirdParty directory. Then execute the following commands:

$ cd /Blas
$ ./get.Blas
$ cd ../Lapack
$ ./get.Lapack
$ cd ../Mumps
$ ./get.Mumps

Alternatively, you can connect into the project root COIN-OS and execute the script get.AllThirdParty. This will also get the AMPL ASL libraries.

What you do next depends upon whether or not a FORTRAN compiler is present, and if so, which version of FORTRAN. There are three options.

Option 1.
If you are building in Unix-like environment and have a Fortran 95 compiler available, you can simply run the configure script and the FORTRAN compiler will be detected and the Ipopt project will be built.

Option 2.
If you have a FORTRAN 77 compiler, you must first obtain one of the Harwell Subroutine Library (HSL) routines ma27ad.f or MA57ad.f. See http://www.cse.scitech.ac.uk/nag/hsl/. Put the Harwell code in the directory ./data/ThirdParty/HSL. Now run the configure script as described in 3.1. See

 http://www.coin-or.org/Ipopt/documentation/node15.html

Option 3.
If you do not have a FORTRAN compiler and do not wish to obtain one, you can use the f2c compiler from Netlib. The installation instructions for this are in the INSTALL file in
../data/BuildTools/compile_f2c

Two important points:


next up previous contents
Next: Other third-Party Software Up: Building and Testing the Previous: VPATH Installations   Contents
Kipp Martin 2008-01-16