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 |
jmc |
1.11 |
# Check out latest MITgcm source code into directory MITgcm_HEAD_20080108 |
8 |
jmc |
1.12 |
# [ works and tested with checkpoint59p code ] |
9 |
jmc |
1.11 |
cvs co -P -d MITgcm_HEAD_20080108 MITgcm |
10 |
cnh |
1.2 |
# Add in prm stuff |
11 |
jmc |
1.11 |
cd MITgcm_HEAD_20080108/verification |
12 |
|
|
cvs co -P -d prm MITgcm_contrib/PRM |
13 |
cnh |
1.6 |
## 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 |
cnh |
1.2 |
# Setup makefiles etc... for prm |
21 |
|
|
cd prm/multi_comp_setup/esmf_test/run |
22 |
cnh |
1.5 |
# Make sure the following execute in bash shell and |
23 |
|
|
# that mpich/compiler e.g. "module load mpich/intel" are |
24 |
|
|
# set |
25 |
jmc |
1.7 |
source prm_site_config_file |
26 |
cnh |
1.2 |
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 |
cnh |
1.3 |
source mkpgfile > pgfile |
32 |
cnh |
1.2 |
source do_run |
33 |
|
|
# Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) |
34 |
|
|
source do_clean |
35 |
jmc |
1.10 |
|
36 |
jmc |
1.12 |
#- Note(jmc): directories which are not used (just to keep development version): |
37 |
|
|
multi_comp_setup/comp_mitgcm/code_basic/hidden |
38 |
|
|
multi_comp_setup/comp_mitgcm/code_fancy |
39 |
|
|
multi_comp_setup/comp_mitgcm/build |
40 |
|
|
multi_comp_setup/multi_code |
41 |
|
|
multi_comp_setup/esmf_test/run/test_redist |