| 1 | 
jmc | 
1.1 | 
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. | 
| 4 | 
  | 
  | 
 | 
| 5 | 
  | 
  | 
a) the restart test : "1+1=2" | 
| 6 | 
  | 
  | 
script: tst1+1 | 
| 7 | 
jmc | 
1.2 | 
 call 2 short scripts: rnp & add0upto10c | 
| 8 | 
jmc | 
1.1 | 
 | 
| 9 | 
  | 
  | 
* no input argument but few comments within the file tst1+1 | 
| 10 | 
  | 
  | 
  (needs to be edited and modify). | 
| 11 | 
  | 
  | 
* an example of data.tst file is provided  | 
| 12 | 
  | 
  | 
Note: the script is sensitive to space and upper-case / lower | 
| 13 | 
  | 
  | 
  case characters regarding nIter0 line and nTimeSteps line. | 
| 14 | 
  | 
  | 
 | 
| 15 | 
  | 
  | 
b) PBS-batch script that re-submit itself (loop). | 
| 16 | 
  | 
  | 
script: runScript | 
| 17 | 
jmc | 
1.2 | 
 call 2 short scripts: add0upto3c & add0upto10c | 
| 18 | 
jmc | 
1.1 | 
 | 
| 19 | 
  | 
  | 
* used (and tested) on myrinet-3 cluster. | 
| 20 | 
  | 
  | 
* suffer from a lack of meaningful comments. | 
| 21 | 
  | 
  | 
   | 
| 22 | 
jmc | 
1.3 | 
c) A short script to split the ASCII Diagnostics-Stats output file | 
| 23 | 
  | 
  | 
   into separated files (one per field) that are easy to read/load  | 
| 24 | 
  | 
  | 
   (e.g., in matlab, just use "load" command) | 
| 25 | 
  | 
  | 
script: extract_StD | 
| 26 | 
  | 
  | 
 no known dependency |