Changes between Version 7 and Version 8 of pace
- Timestamp:
- 01/13/21 21:05:59 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pace
v7 v8 9 9 To run ISSM from the standard install on PACE requires a batch script, the MATLAB ISSM run script, and any input files that ISSM requires. 10 10 11 1. In the Ice & Climate group shared directory, there is a test script including the correct input files and batch file that can be copied (PLEASE DON'T MODIFY THIS IN THE SHARED DIRECTORY) to your personal directory and run to learn how ISSM is run.11 1. In the Ice & Climate group shared directory, there is a test script including the correct input files and batch file that can be copied (PLEASE DON'T MODIFY THIS IN THE SHARED DIRECTORY) to your personal directory and run to learn how ISSM is run. 12 12 13 (a)To copy these files to your home directory, run the following commands:13 a. To copy these files to your home directory, run the following commands: 14 14 15 15 {{{ … … 21 21 }}} 22 22 23 (b)Then to run the test script on PACE, run the following command:23 a. Then to run the test script on PACE, run the following command: 24 24 25 25 {{{ … … 28 28 }}} 29 29 30 (c)You can check the status of the run using the following command:30 a. You can check the status of the run using the following command: 31 31 32 32 {{{ … … 35 35 }}} 36 36 37 (d)An output text file should be created in the same directory as the batch file. You can have a quick look at the status of the run (which ISSM should output) using vi or less.37 a. An output text file should be created in the same directory as the batch file. You can have a quick look at the status of the run (which ISSM should output) using vi or less. 38 38 39 2. For other non-test ISSM runs, the batch script should generally look like:39 1. For other non-test ISSM runs, the batch script should generally look like: 40 40 41 41 {{{ … … 71 71 == Compiling ISSM from source locally on PACE == 72 72 73 74 73 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. 75 74 76 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:75 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: 77 76 78 77 {{{ … … 81 80 }}} 82 81 83 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).82 1. 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). 84 83 85 3. Once you've successfully built ISSM, the batch script will look slightly different:84 1. Once you've successfully built ISSM, the batch script will look slightly different: 86 85 87 86 {{{ … … 105 104 }}} 106 105 107 4. 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).106 1. 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). 108 107