1 | Installation of certain Harwell subroutines for 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 | Information on the Harwell Subroutine Library (HSL) is available at |
---|
9 | |
---|
10 | http://www.cse.clrc.ac.uk/nag/hsl/ |
---|
11 | |
---|
12 | Some of the required HSL routines are available in the HSL Archive. |
---|
13 | The subroutines in the HSL Archive are free for non-commercial |
---|
14 | purposes (make sure you read the license). |
---|
15 | |
---|
16 | The sparse symmetric linear solvers that you can use in Ipopt are MA57 |
---|
17 | (if you have access for the standard HSL library) and/or MA27 (if you |
---|
18 | have only access to the HSL Archive). In addition, you should get |
---|
19 | MC19 (from the ASL archive). |
---|
20 | |
---|
21 | |
---|
22 | Instructions on how to download files from the HSL Archive: |
---|
23 | ----------------------------------------------------------- |
---|
24 | |
---|
25 | If you need to download subroutines from the HSL Archive website, this |
---|
26 | is how it goes: |
---|
27 | |
---|
28 | In order to download the HSL Archive subroutines (like ma27 and mc19), |
---|
29 | you need to register at the HSL Archive website |
---|
30 | |
---|
31 | http://hsl.rl.ac.uk/archive/hslarchive.html |
---|
32 | |
---|
33 | After that you can log in and go to the page that lists all the HSL |
---|
34 | Archive packages for download. If you then click on the name of the |
---|
35 | desired routine (like MA27), you get to a download page, where one of |
---|
36 | the button reads "Download Package (comments removed)". |
---|
37 | |
---|
38 | Click on that button (leave the precision choice at default "Double |
---|
39 | Precision"). This brings up a webpage which contains the code for the |
---|
40 | subroutine as text. All you have to do now is to save this page (all |
---|
41 | of it, even if there are more than one subroutines in it) into the a |
---|
42 | file called "ma27ad.f". (If "Save page to..." doesn't work, you can |
---|
43 | copy the content of this page into an editor and save it there.) |
---|
44 | |
---|
45 | Similarly, if you want to get the MC19 routine, do the same steps as above |
---|
46 | and safe the context in a file called "mc19ad.f" . |
---|
47 | |
---|
48 | For neither MA27 or MC19 it is necessary to download any dependencies. |
---|
49 | |
---|
50 | Instructions on where to put the source code: |
---|
51 | --------------------------------------------- |
---|
52 | |
---|
53 | Copy the source files for the required HSL routines into this |
---|
54 | directory before running the `configure' script. The configuration |
---|
55 | script will detect which source files you have and prepare the |
---|
56 | Makefile accordingly. |
---|
57 | |
---|
58 | If you want to use MA57, please make sure that all source code for |
---|
59 | MA57 ***including dependencies*** is in a file called ma57ad.f. |
---|
60 | Currently, it seems that the dependencies are the files: |
---|
61 | |
---|
62 | fd15ad.f |
---|
63 | mc21ad.f |
---|
64 | mc34ad.f |
---|
65 | mc47ad.f |
---|
66 | mc59ad.f |
---|
67 | mc64ad.f |
---|
68 | mc71ad.f |
---|