[4344] | 1 | --------------------------------------------------------------------------- |
---|
| 2 | |
---|
[4337] | 3 | ***** replay tools *********** |
---|
| 4 | |
---|
| 5 | Developed by F. Hourdin, 2022, frederic.hourdin@lmd.ipsl.fr |
---|
| 6 | |
---|
[4344] | 7 | --------------------------------------------------------------------------- |
---|
| 8 | |
---|
| 9 | Purpose : |
---|
| 10 | --------- |
---|
| 11 | |
---|
| 12 | The idea is to rerun a unique subroutine (which could istelf call others) from |
---|
| 13 | the LMDZ physcs package after a first simulations (i.e. routines in |
---|
| 14 | LMDZ/libf/phylmd). |
---|
[4337] | 15 | The variables in the interface of the routine are stored in binary files |
---|
| 16 | (dump_ini.bin and dump_param.bin). |
---|
[4344] | 17 | The tools also creates automatically an netcdf file phys.nc with all the |
---|
| 18 | variables of the subroutine stored at each time-step. |
---|
[4337] | 19 | |
---|
| 20 | 1D : run lmdz1d.e first and then replay1d.e |
---|
| 21 | both lmdz1d.F90 and replay1d.F90 are on libf/phylmd/dyn1d |
---|
| 22 | 3D : run gcm.e first and then replay3d.e |
---|
| 23 | both gcm.F90 and replay3d.F90 are on libf/dyn3d |
---|
| 24 | Available in sequential mode only (no parallel version so far) |
---|
| 25 | |
---|
[4344] | 26 | |
---|
[4337] | 27 | Contains : |
---|
[4344] | 28 | --------- |
---|
| 29 | |
---|
[4337] | 30 | * replay_equip.sh |
---|
| 31 | The main script, to be run on the phylmd directory. |
---|
| 32 | It equips the fortran routine before compilation. |
---|
| 33 | The main documentation of the replay tools is in this script |
---|
[4347] | 34 | By default, it equips the code for binary output for replay and nc output |
---|
| 35 | for diangostics. |
---|
| 36 | The -nconly option can be used to equip other routines with nc output only |
---|
| 37 | replay_equip.sh -h |
---|
| 38 | to see the options |
---|
[4344] | 39 | |
---|
[4337] | 40 | * replay_param.sh |
---|
| 41 | a first, simpler, but less powerfull version of replay_equip.sh |
---|
[4344] | 42 | |
---|
[4337] | 43 | * replay_clean.sh |
---|
| 44 | to be run on phylmd to clean all what was added automatically by |
---|
| 45 | replay_equip.sh |
---|
[4344] | 46 | |
---|
[4337] | 47 | * replay_1D.sh |
---|
| 48 | A script to run automatically replay tools in SCM mode on |
---|
| 49 | 1D/EXEC/... |
---|
[4344] | 50 | |
---|
| 51 | It is suggested to add |
---|
| 52 | export PATH=$PATH:~/LMDZ/Replay |
---|
| 53 | (or any other location of the Replay directory on you computer) |
---|
| 54 | so that you can invoke the script from wherever on your computer. |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | Available through |
---|
| 58 | ----------------- |
---|
| 59 | svn checkout https://svn.lmd.jussieu.fr/LMDZ/BOL/Replay |
---|
| 60 | Rm : svn deposit created from FH laptop through : |
---|
| 61 | svn import ./Replay https://svn.lmd.jussieu.fr/LMDZ/BOL/Replay -m "Import initial des outils Replay" |
---|
| 62 | |
---|