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 |
cnh |
1.6 |
## To check out from before I started playing with MAPL based components do |
12 |
|
|
# cvs co -r checkpoint58q_post -d MITgcm_checkpoint58q_post MITgcm |
13 |
|
|
# cd MITgcm_checkpoint58q_post/verification/ |
14 |
|
|
# cvs co -d prm MITgcm_contrib/PRM |
15 |
|
|
# cd prm |
16 |
|
|
# cvs update -A -D "2006-11-15" |
17 |
|
|
|
18 |
cnh |
1.2 |
# Setup makefiles etc... for prm |
19 |
|
|
cd prm/multi_comp_setup/esmf_test/run |
20 |
cnh |
1.5 |
# Make sure the following execute in bash shell and |
21 |
|
|
# that mpich/compiler e.g. "module load mpich/intel" are |
22 |
|
|
# set |
23 |
jmc |
1.7 |
source prm_site_config_file |
24 |
cnh |
1.2 |
source do_links |
25 |
|
|
source do_genmake2 |
26 |
|
|
# Build executables (still in directory prm/multi_comp_setup/esmf_test/run) |
27 |
|
|
source do_make |
28 |
|
|
# Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) |
29 |
cnh |
1.3 |
source mkpgfile > pgfile |
30 |
cnh |
1.2 |
source do_run |
31 |
|
|
# Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) |
32 |
|
|
source do_clean |