This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
instructions [2014/06/03 14:19] gilmer created |
instructions [2014/06/03 14:38] gilmer |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | STILL WORKING ON THIS! The steps shown will get you part of the way there | ||
- | |||
These instructions are for implementing PARDISO with the only MAC OSX library they provide you with. I expect the instructions will be similar for other libraries, but the filename of the library will be different. | These instructions are for implementing PARDISO with the only MAC OSX library they provide you with. I expect the instructions will be similar for other libraries, but the filename of the library will be different. | ||
Line 19: | Line 17: | ||
7. In the source directory, open the file Makefile_local, and look under #Libraries | 7. In the source directory, open the file Makefile_local, and look under #Libraries | ||
- | 8. Set PARDISO_LIBDIR = -L[path to directory containing the dynamic library] | + | 8. Set PARDISO_LIBDIR = -L[path to directory containing the dynamic library] (That is a capitol L) |
- | 9. Set PARDISO_LIBS = -lpariso500-MACOS-X86-64 | + | 9. Set PARDISO_LIBS = -lpardiso500-MACOS-X86-64 (That is a lowercase L) |
10. Open Makefile, look under ##Choose Matrix Solver Package | 10. Open Makefile, look under ##Choose Matrix Solver Package | ||
- | 11. Comment all lines under this heading with #, and set MATRIX_SOLVER ?= PARDISO | + | 11. Comment all lines under this heading with # (Except leave MATRIX_SOLVER = build)!, and set MATRIX_SOLVER ?= PARDISO |
+ | |||
+ | 12. Go into jacobian_PARDISO.f90 and uncomment the line that calls pardisoinit | ||
- | 12. | + | Now you can compile and run as before, but it should be faster than the default LAPACK solver. |