| 1 | 
cnh | 
1.2 | 
# Code customization for MITgcm multi-component super-param runs with ESMF. | 
| 2 | 
  | 
  | 
# ========================================================================= | 
| 3 | 
  | 
  | 
 | 
| 4 | 
cnh | 
1.4 | 
# On aces compile on compute machine | 
| 5 | 
  | 
  | 
# e.g qsub -I -l walltime=08:00:00 -i nodes=1:ppn=2 -q long | 
| 6 | 
cnh | 
1.2 | 
# Check out latest MITgcm source code into directory MITgcm_HEAD_20061011 | 
| 7 | 
cnh | 
1.4 | 
cvs co -d MITgcm_HEAD_20061011 MITgcm | 
| 8 | 
cnh | 
1.2 | 
# Add in prm stuff | 
| 9 | 
  | 
  | 
cd MITgcm_HEAD_20061011/verification | 
| 10 | 
  | 
  | 
cvs co -d prm MITgcm_contrib/PRM | 
| 11 | 
  | 
  | 
# Setup makefiles etc... for prm | 
| 12 | 
  | 
  | 
cd prm/multi_comp_setup/esmf_test/run | 
| 13 | 
cnh | 
1.5 | 
# Make sure the following execute in bash shell and | 
| 14 | 
  | 
  | 
# that mpich/compiler e.g. "module load mpich/intel" are | 
| 15 | 
  | 
  | 
# set | 
| 16 | 
cnh | 
1.2 | 
source do_links | 
| 17 | 
  | 
  | 
source do_genmake2 | 
| 18 | 
  | 
  | 
# Build executables (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 19 | 
  | 
  | 
source do_make | 
| 20 | 
  | 
  | 
# Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 21 | 
cnh | 
1.3 | 
source mkpgfile > pgfile | 
| 22 | 
cnh | 
1.2 | 
source do_run | 
| 23 | 
  | 
  | 
# Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 24 | 
  | 
  | 
source do_clean |