| 1 | jmc | 1.14 | # $Header: /u/gcmpack/MITgcm_contrib/PRM/README,v 1.13 2012/05/05 22:33:23 jmc Exp $ | 
| 2 | jmc | 1.13 | # $Name:  $ | 
| 3 |  |  |  | 
| 4 | cnh | 1.2 | # Code customization for MITgcm multi-component super-param runs with ESMF. | 
| 5 |  |  | # ========================================================================= | 
| 6 | jmc | 1.13 | #   works with ESMF version 3.0.0 | 
| 7 |  |  | #   works and has been tested with MITgcm checkpoint63m | 
| 8 | cnh | 1.8 |  | 
| 9 | cnh | 1.4 | # On aces compile on compute machine | 
| 10 |  |  | # e.g qsub -I -l walltime=08:00:00 -i nodes=1:ppn=2 -q long | 
| 11 | jmc | 1.13 | # Check out latest MITgcm source code into directory MITgcm_HEAD | 
| 12 |  |  | cvs co -P -d MITgcm_HEAD MITgcm | 
| 13 | cnh | 1.2 | # Add in prm stuff | 
| 14 | jmc | 1.13 | cd MITgcm_HEAD/verification | 
| 15 | jmc | 1.11 | cvs co -P -d prm MITgcm_contrib/PRM | 
| 16 | cnh | 1.6 |  | 
| 17 | cnh | 1.2 | # Setup makefiles etc... for prm | 
| 18 |  |  | cd prm/multi_comp_setup/esmf_test/run | 
| 19 | jmc | 1.13 | # 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 | jmc | 1.14 | # to generate MITgcm libs using "ieee" or "devel" optfile flags, | 
| 24 |  |  | #    type instead: "do_genmake2 -ieee" or "do_genmake2 -devel" respectively. | 
| 25 |  |  |  | 
| 26 | cnh | 1.2 | # Build executables (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 27 | jmc | 1.13 | do_make | 
| 28 | jmc | 1.14 | # 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 | cnh | 1.2 | # Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 32 | jmc | 1.13 | mkpgfile | 
| 33 |  |  | do_run | 
| 34 | cnh | 1.2 | # Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 35 | jmc | 1.13 | do_clean | 
| 36 | jmc | 1.10 |  | 
| 37 | jmc | 1.12 | #- 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 | jmc | 1.14 | #- Note(jmc): dir structure and source-code location: see file | 
| 45 | jmc | 1.13 | multi_comp_setup/doc/contents.txt | 
| 46 | jmc | 1.12 |  |