| 60 | == Compiling ISSM from source locally on PACE == |
| 61 | |
| 62 | |
| 63 | If the standard module install of ISSM on PACE is not sufficient for your needs (e.g. you need a different version of ISSM, or you need to modify the source code), then ISSM can also be built locally. The following instructions use some of the built in packages within the ISSM source, in addition to some of the existing modules on PACE to build ISSM locally. These instructions are current as of Jan. 13, 2021. |
| 64 | |
| 65 | 1. First, you must download or provide your own version of the source code in you local directory on PACE. You can do this using SVN run through a batch script, or simply by downloading the ISSM source to your personal machine (using the directions here: https://issm.jpl.nasa.gov/download/). In the Ice & Climate group shared directory, there is a build script (build-with-mvapich.sh), written by Dr. Fang Liu at PACE (who is the expert on all things related to ISSM builds on PACE) which can be used to build ISSM locally. Navigate into the "trunk" directory of the source code, then copy this build script from the shared directory: |
| 66 | |
| 67 | cp /storage/coda1/p-arobel3/0/shared/ISSM/ISSMsrc/build-with-mvapich.sh .[[BR]] |
| 68 | |
| 69 | 2. The build script is organized into "batches". To build the packages and source code in the correct order, simply go through the build script and uncomment one batch at a time and then run the script (using the command ./build-with-mvapich.sh after uncommenting each batch individually). |
| 70 | |
| 71 | 3. If you are modifying source code and have previously built ISSM locally successfully, you should only need to run batch 6 which simply compiles the source code (and doesn't recompile all the dependencies). |
| 72 | |
| 73 | |
| 74 | |
| 75 | |