1 |
# Code customization for MITgcm multi-component super-param runs with ESMF. |
2 |
# ========================================================================= |
3 |
|
4 |
|
5 |
# On aces compile on compute machine |
6 |
# e.g qsub -I -l walltime=08:00:00 -i nodes=1:ppn=2 -q long |
7 |
# Check out latest MITgcm source code into directory MITgcm_HEAD_20080108 |
8 |
# [ works and tested with checkpoint59l code ] |
9 |
cvs co -P -d MITgcm_HEAD_20080108 MITgcm |
10 |
# Add in prm stuff |
11 |
cd MITgcm_HEAD_20080108/verification |
12 |
cvs co -P -d prm MITgcm_contrib/PRM |
13 |
## To check out from before I started playing with MAPL based components do |
14 |
# cvs co -r checkpoint58q_post -d MITgcm_checkpoint58q_post MITgcm |
15 |
# cd MITgcm_checkpoint58q_post/verification/ |
16 |
# cvs co -d prm MITgcm_contrib/PRM |
17 |
# cd prm |
18 |
# cvs update -A -D "2006-11-15" |
19 |
|
20 |
# Setup makefiles etc... for prm |
21 |
cd prm/multi_comp_setup/esmf_test/run |
22 |
# Make sure the following execute in bash shell and |
23 |
# that mpich/compiler e.g. "module load mpich/intel" are |
24 |
# set |
25 |
source prm_site_config_file |
26 |
source do_links |
27 |
source do_genmake2 |
28 |
# Build executables (still in directory prm/multi_comp_setup/esmf_test/run) |
29 |
source do_make |
30 |
# Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) |
31 |
source mkpgfile > pgfile |
32 |
source do_run |
33 |
# Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) |
34 |
source do_clean |