| 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" |
| 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 |
e) script: mk_mkfile |
| 51 |
- run genmake2 with the same options as when "Makefile" was generated |
- run genmake2 with the same options as when "Makefile" was generated |
| 52 |
(needs an existing previous "Makefile") ; this replaces "make makefile". |
(needs an existing previous "Makefile") ; this replaces "make makefile". |
| 53 |
in addition, link *_mpi files from the MODS directory when -mpi was |
in addition, link *_mpi files from the MODS directory when -mpi was |
| 54 |
used to generate the previous Makefile. |
used to generate the previous Makefile. |
| 55 |
|
|
| 56 |
f) script: derive_other_types |
f) script: derive_other_types |
| 57 |
from 1 src file, derive other type (R4,RS,RL,RS) version. For now, can |
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" |
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 |