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 |
|
|
call 2 shorts scripts: rnp & add0upto10c |
8 |
|
|
|
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 |
|
|
call 2 shorts scripts: add0upto3c & add0upto10c |
18 |
|
|
|
19 |
|
|
* used (and tested) on myrinet-3 cluster. |
20 |
|
|
* suffer from a lack of meaningful comments. |
21 |
|
|
|