| 1 |
|
# $Header$ |
| 2 |
|
# $Name$ |
| 3 |
|
|
| 4 |
# Code customization for MITgcm multi-component super-param runs with ESMF. |
# Code customization for MITgcm multi-component super-param runs with ESMF. |
| 5 |
# ========================================================================= |
# ========================================================================= |
| 6 |
|
# works with ESMF version 3.0.0 |
| 7 |
|
# works and has been tested with MITgcm checkpoint63m |
| 8 |
|
|
| 9 |
# On aces compile on compute machine |
# On aces compile on compute machine |
| 10 |
# e.g qsub -I -l walltime=08:00:00 -i nodes=1:ppn=2 -q long |
# e.g qsub -I -l walltime=08:00:00 -i nodes=1:ppn=2 -q long |
| 11 |
# Check out latest MITgcm source code into directory MITgcm_HEAD_20061011 |
# Check out latest MITgcm source code into directory MITgcm_HEAD |
| 12 |
cvs co -d MITgcm_HEAD_20061011 MITgcm |
cvs co -P -d MITgcm_HEAD MITgcm |
| 13 |
# Add in prm stuff |
# Add in prm stuff |
| 14 |
cd MITgcm_HEAD_20061011/verification |
cd MITgcm_HEAD/verification |
| 15 |
cvs co -d prm MITgcm_contrib/PRM |
cvs co -P -d prm MITgcm_contrib/PRM |
|
## To check out from before I started playing with MAPL based components do |
|
|
# cvs co -r checkpoint58q_post -d MITgcm_checkpoint58q_post MITgcm |
|
|
# cd MITgcm_checkpoint58q_post/verification/ |
|
|
# cvs co -d prm MITgcm_contrib/PRM |
|
|
# cd prm |
|
|
# cvs update -A -D "2006-11-15" |
|
| 16 |
|
|
| 17 |
# Setup makefiles etc... for prm |
# Setup makefiles etc... for prm |
| 18 |
cd prm/multi_comp_setup/esmf_test/run |
cd prm/multi_comp_setup/esmf_test/run |
| 19 |
# Make sure the following execute in bash shell and |
# Make sure that mpich/compiler e.g. "module load mpich/intel" are set and |
| 20 |
# that mpich/compiler e.g. "module load mpich/intel" are |
# MITgcm optfile + ESMF path are set correctly in file "prm_site_config_file" |
| 21 |
# set |
do_links |
| 22 |
source do_links |
do_genmake2 |
|
source do_genmake2 |
|
| 23 |
# Build executables (still in directory prm/multi_comp_setup/esmf_test/run) |
# Build executables (still in directory prm/multi_comp_setup/esmf_test/run) |
| 24 |
source do_make |
do_make |
| 25 |
# Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) |
# Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) |
| 26 |
source mkpgfile > pgfile |
mkpgfile |
| 27 |
source do_run |
do_run |
| 28 |
# Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) |
# Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) |
| 29 |
source do_clean |
do_clean |
| 30 |
|
|
| 31 |
|
#- Note(jmc): directories which are not used (just to keep development version): |
| 32 |
|
multi_comp_setup/comp_mitgcm/code_basic/hidden |
| 33 |
|
multi_comp_setup/comp_mitgcm/code_fancy |
| 34 |
|
multi_comp_setup/comp_mitgcm/build |
| 35 |
|
multi_comp_setup/multi_code |
| 36 |
|
multi_comp_setup/esmf_test/run/test_redist |
| 37 |
|
|
| 38 |
|
#- Note(jmc): dir structure and source-code location: see file |
| 39 |
|
multi_comp_setup/doc/contents.txt |
| 40 |
|
|