| 1 | # $Header: /u/gcmpack/MITgcm_contrib/PRM/README,v 1.13 2012/05/05 22:33:23 jmc Exp $ | 
| 2 | # $Name:  $ | 
| 3 |  | 
| 4 | # 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 | 
| 10 | # 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 | 
| 12 | cvs co -P -d MITgcm_HEAD MITgcm | 
| 13 | # Add in prm stuff | 
| 14 | cd MITgcm_HEAD/verification | 
| 15 | cvs co -P -d prm MITgcm_contrib/PRM | 
| 16 |  | 
| 17 | # Setup makefiles etc... for prm | 
| 18 | cd prm/multi_comp_setup/esmf_test/run | 
| 19 | # Make sure that mpich/compiler e.g. "module load mpich/intel" are set and | 
| 20 | #   MITgcm optfile + ESMF path are set correctly in file "prm_site_config_file" | 
| 21 | do_links | 
| 22 | do_genmake2 | 
| 23 | # to generate MITgcm libs using "ieee" or "devel" optfile flags, | 
| 24 | #    type instead: "do_genmake2 -ieee" or "do_genmake2 -devel" respectively. | 
| 25 |  | 
| 26 | # Build executables (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 27 | do_make | 
| 28 | # note: options that are used to compile PRM F90 source files are hard-coded in: | 
| 29 | #    prm/build_scripts/makemake.sh through variable F90C_ARGS | 
| 30 |  | 
| 31 | # Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 32 | mkpgfile | 
| 33 | do_run | 
| 34 | # Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 35 | do_clean | 
| 36 |  | 
| 37 | #- Note(jmc): directories which are not used (just to keep development version): | 
| 38 | multi_comp_setup/comp_mitgcm/code_basic/hidden | 
| 39 | multi_comp_setup/comp_mitgcm/code_fancy | 
| 40 | multi_comp_setup/comp_mitgcm/build | 
| 41 | multi_comp_setup/multi_code | 
| 42 | multi_comp_setup/esmf_test/run/test_redist | 
| 43 |  | 
| 44 | #- Note(jmc): dir structure and source-code location: see file | 
| 45 | multi_comp_setup/doc/contents.txt |