Changes between Version 7 and Version 8 of pace


Ignore:
Timestamp:
01/13/21 21:05:59 (4 years ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pace

    v7 v8  
    99To run ISSM from the standard install on PACE requires a batch script, the MATLAB ISSM run script, and any input files that ISSM requires.
    1010
    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.
    1212
    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:
    1414
    1515{{{
     
    2121}}}
    2222
    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:
    2424
    2525{{{
     
    2828}}}
    2929
    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:
    3131
    3232{{{
     
    3535}}}
    3636
    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.
    3838
    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:
    4040
    4141{{{
     
    7171== Compiling ISSM from source locally on PACE ==
    7272
    73 
    7473If 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.
    7574
    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:
    7776
    7877{{{
     
    8180}}}
    8281
    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).
    8483
    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:
    8685
    8786{{{
     
    105104}}}
    106105
    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).
    108107