| 1 | jmc | 1.13 | # $Header: /u/gcmpack/MITgcm_contrib/PRM/multi_comp_setup/esmf_test/run/do_links,v 1.2 2012/05/05 22:23:20 jmc Exp $ | 
| 2 |  |  | # $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 | cnh | 1.2 | # Build executables (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 24 | jmc | 1.13 | do_make | 
| 25 | cnh | 1.2 | # Run stuff (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 26 | jmc | 1.13 | mkpgfile | 
| 27 |  |  | do_run | 
| 28 | cnh | 1.2 | # Tidy up (still in directory prm/multi_comp_setup/esmf_test/run) | 
| 29 | jmc | 1.13 | do_clean | 
| 30 | jmc | 1.10 |  | 
| 31 | jmc | 1.12 | #- 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 | jmc | 1.13 | #- Note(jmc): dir structure and source-code location: see file | 
| 39 |  |  | multi_comp_setup/doc/contents.txt | 
| 40 | jmc | 1.12 |  |