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