Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

awake.sh 

Prints a null character (“”) to the screen every 10 minutes.  This will keep the interactive session occupied.  

A SLURM bug can cause an Odyssey interactive session to hang if you step away from the computer for an extended period (more than 30 minutes).
Using awake.sh will prevent your interactive session from hanging.

.bashrc_mitgcm  

Customizes your bash Unix environment for the MITgcm.  It loads the proper modules needed to run the MITgcm,
as well as defining environment variables and other necessary settings.  It will also print out a list of the modules that were loaded:

Currently Loaded Modules:
  1) git/2.1.0-fasrc01        3) openmpi/1.8.1-fasrc05   5) hdf5/1.8.12-fasrc09
  2) intel/13.0.079-fasrc01   4) zlib/1.2.8-fasrc02      6) netcdf/4.1.3-fasrc06

To build the MITgcm, we shall use the Intel compilers (13.1), OpenMPI (v1.8.1), and netCDF-4.1.3. 
We determined that these library versions were compatible by using the RC Portal modules application:
https://portal.rc.fas.harvard.edu/apps/modules.

Next steps

  Once you have started an interactive session, you will need to do the following steps:

  1. Make a working directory where you can compile and run MITgcm
    1. This step only has to be done once for each simulation type (Hg, PFOS, PCB).
      1. Or, when you wish start a simulation with a fresh run directory.
    2. NOTE: We recommend creating working directories within your interactive session because the file copying process is very CPU-intensive. 
      1. This should not be done on an Odyssey login node.
  2. Build the MITgcm executable
  3. Run a MITgcm simulation.

Previous | Up | Next