| 1 | # Code customization for MITgcm multi-component super-param runs with ESMF. | # Code customization for MITgcm multi-component super-param runs with ESMF. | 
| 2 | # ========================================================================= | # ========================================================================= | 
| 3 |  |  | 
| 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 | # Check out latest MITgcm source code into directory MITgcm_HEAD_20061011 | # Check out latest MITgcm source code into directory MITgcm_HEAD_20061011 | 
| 7 | cvs co -d cvs co -d MITgcm_HEAD_20061011 MITgcm | cvs co -d MITgcm_HEAD_20061011 MITgcm | 
| 8 | # Add in prm stuff | # Add in prm stuff | 
| 9 | cd MITgcm_HEAD_20061011/verification | cd MITgcm_HEAD_20061011/verification | 
| 10 | cvs co -d prm MITgcm_contrib/PRM | cvs co -d prm MITgcm_contrib/PRM | 
| 11 |  | ## 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 | # Setup makefiles etc... for prm | # Setup makefiles etc... for prm | 
| 19 | cd prm/multi_comp_setup/esmf_test/run | cd prm/multi_comp_setup/esmf_test/run | 
| 20 |  | # Make sure the following execute in bash shell and | 
| 21 |  | # that mpich/compiler e.g. "module load mpich/intel" are | 
| 22 |  | # set | 
| 23 |  | source prm_site_config_file | 
| 24 | source do_links | source do_links | 
| 25 | source do_genmake2 | source do_genmake2 | 
| 26 | # Build executables (still in directory prm/multi_comp_setup/esmf_test/run) | # Build executables (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 27 | source do_make | source do_make | 
| 28 | # Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) | # Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 29 |  | source mkpgfile > pgfile | 
| 30 | source do_run | source do_run | 
| 31 | # Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) | # Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 32 | source do_clean | source do_clean |