/[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.5 by jmc, Tue Oct 30 22:41:33 2007 UTC revision 1.6 by jmc, Sun Nov 25 21:14:57 2007 UTC
# Line 1  Line 1 
1  Some basic scripts are gather here.  Some basic scripts are gather here.
2  They are not specially design to be general and obviously  
3  need to be modified/customized for each application.  a) the restart test : "2+2=4"
4    
5  a) the restart test : "1+1=2"  script: tst_2+2
6  script: tst1+1  - to use in a run dir. after a successful "testreport"
7   call 2 short scripts: rnp & add0upto10c  - input argument: '0','1','2','3','4' or 'All':
8      proceed step by step or all steps at once
9  * no input argument but few comments within the file tst1+1  - tst_2+2 (no argument) -> print "usage"
10    (needs to be edited and modify).  - know problems: specific restart procedure (with fizhi pkg or offline pkg)
11  * an example of data.tst file is provided    not yet implemented
12  Note: the script is sensitive to space and upper-case / lower  
13    case characters regarding nIter0 line and nTimeSteps line.  script: do_test_2+2
14    - call restart test "tst_2+2" multiple times, in every test experiment.
15    - needs to be in MITgcm/verification (with a copy of tst_2+2i script)
16      and can only be used after a successful "testreport"
17    - do_test_2+2 -help -> print "usage"
18    
19  script: tst_2+2_cpl  script: tst_2+2_cpl
20   = version adapted for coupled set-up (verification/cpl_aim+ocn)   = version of tst_2+2 adapted for coupled set-up (verification/cpl_aim+ocn)
21    
22  b) PBS-batch script that re-submit itself (loop).  b) PBS-batch script that re-submit itself (loop).
23  script: runScript  script: runScript
  call 2 short scripts: add0upto3c & add0upto10c  
24    
25  * used (and tested) on myrinet-3 cluster.  - used (and tested) on myrinet-3 cluster.
26  * suffer from a lack of meaningful comments.  - suffer from a lack of meaningful comments.
27      - not specially design to be general and obviously
28      need to be modified/customized for each set-up.
29    
30  c) A short script to split the ASCII Diagnostics-Stats output file  c) A short script to split the ASCII Diagnostics-Stats output file
31     into separated files (one per field) that are easy to read/load     into separated files (one per field) that are easy to read/load
32     (e.g., in matlab, just use "load" command)     (e.g., in matlab, just use "load" command)
33  script: extract_StD  script: extract_StD
34   no known dependency   no known dependency
35   + A matlab script to load in 1 array all the separated files:  + A matlab script to load in 1 array all the separated files:
36  matlab-script: read_StD  matlab-script: read_StD
37   no known dependency   no known dependency
38    
39    d) script: rn_pickup
40    - Rename 'pickup*.ckpt[A,B].*' files to 'pickup*.[10-digits-iter].*'
41      with several selection options
42    - rn_pickup (no argument) -> print "usage"

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

  ViewVC Help
Powered by ViewVC 1.1.22