This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
instructions [2014/06/03 14:23] gilmer |
instructions [2014/06/03 14:40] (current) gilmer |
||
---|---|---|---|
Line 17: | 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, and leave out brackets around path) |
- | 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. Go into jacobian_PARDISO.f90 and uncomment the line that calls pardisoinit | ||
Now you can compile and run as before, but it should be faster than the default LAPACK solver. | Now you can compile and run as before, but it should be faster than the default LAPACK solver. |