/[MITgcm]/MITgcm_contrib/jmc_script/README
ViewVC logotype

Diff of /MITgcm_contrib/jmc_script/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by jmc, Sun Nov 25 21:14:57 2007 UTC revision 1.20 by jmc, Thu Mar 17 19:59:54 2022 UTC
# Line 1  Line 1 
1  Some basic scripts are gather here.  Some basic scripts are gather here.
2    
3  a) the restart test : "2+2=4"  a) the restart test: "2+2=4"
4    
5  script: tst_2+2  script: tst_2+2
6  - to use in a run dir. after a successful "testreport"  - to use in a run dir. after a successful "testreport"
# Line 16  script: do_test_2+2 Line 16  script: do_test_2+2
16    and can only be used after a successful "testreport"    and can only be used after a successful "testreport"
17  - do_test_2+2 -help -> print "usage"  - do_test_2+2 -help -> print "usage"
18    
19    NOTE: scripts "tst_2+2" & "do_test_2+2" have been moved (Dec 25, 2007)
20     to: MITgcm/tools/
21    
22  script: tst_2+2_cpl  script: tst_2+2_cpl
23   = version of tst_2+2 adapted for coupled set-up (verification/cpl_aim+ocn)   = version of tst_2+2 adapted for coupled set-up (e.g., verification/cpl_aim+ocn)
24    
25  b) PBS-batch script that re-submit itself (loop).  b) PBS-batch script that re-submit itself (loop).
26  script: runScript  script: runScript
# Line 32  c) A short script to split the ASCII Dia Line 35  c) A short script to split the ASCII Dia
35     (e.g., in matlab, just use "load" command)     (e.g., in matlab, just use "load" command)
36  script: extract_StD  script: extract_StD
37   no known dependency   no known dependency
38  + A matlab script to load in 1 array all the separated files:  +  A matlab script to load in 1 array all the separated files:
39  matlab-script: read_StD  matlab-script: read_StD.m
40   no known dependency   no known dependency
41    +  2 example scripts to make simple plots from Stat-Diags output:
42    matlab-script: grph_StD.m (uses read_StD.m)
43    matlab-script: plot_StD.m (uses read_StD.m, c_levs.m)
44    
45  d) script: rn_pickup  d) script: rn_pickup
46  - Rename 'pickup*.ckpt[A,B].*' files to 'pickup*.[10-digits-iter].*'  - Rename 'pickup*.ckpt[A,B].*' files to 'pickup*.[10-digits-iter].*'
47    with several selection options    with several selection options.
48  - rn_pickup (no argument) -> print "usage"  - rn_pickup (no argument) -> print "usage"
49    
50    e) script: mk_mkfile
51    - run genmake2 with the same options as when "Makefile" was generated
52     (needs an existing previous "Makefile") ; this replaces "make makefile".
53     in addition, link *_mpi files from the MODS directory when -mpi was
54     used to generate the previous Makefile.
55    
56    f) script: derive_other_types
57      from 1 src file, derive other type (R4,RS,RL,RS) version. For now, can
58      only be applied to the 4 src files: "mdsio_pass_r{4,8}tor{l,s}.F"
59    
60    g) script: mk_options_list
61      generate list of CPP Options used in Fortran source files
62    
63    h) script: comp_res
64      to compare MONITOR output from 2 STDOUT files (outside of testreport).
65      Note: use executable "cmpnum" compiled from tiny fortran code: cmpnum.f
66    
67    ----------------------------------------------------------------------
68    shell & matlab scripts to process MONITOR output from STDOUT files
69     and make simple time-serie plots:
70    --------------------
71    a) shell script: select_MON
72     get all MONITOR output from a single file and split into many
73     single-variable output files (easier to load and plot)
74    
75    b) shell scripts: do_extract_MON & extract_MON
76     collect into a single file all MONITOR output from consecutive
77     STDOUT output files (from a single experiment with one of more restart)
78    
79    c) matlab script: grph_MON.m
80     plot MONITOR time-serie of one or more experiment (with lines of different
81     color). Note: experiment with larger number of records needs to come first.
82    Uses: read_MON.m
83     to load-in single-variable output files (--> many files per experiment)
84    and/or: readnc_MON.m
85     to load-in netcdf (MNC) MONITOR output files

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.22