Changeset 3495 for trunk/LMDZ.COMMON/libf/evolution/deftank/launchPEM.sh
- Timestamp:
- Nov 7, 2024, 10:27:18 AM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/launchPEM.sh
r3419 r3495 17 17 #n_earth_years=300 18 18 19 # Set the number of initial PCM runs :19 # Set the number of initial PCM runs (>= 2): 20 20 nPCM_ini=3 21 21 22 # Set the number of PCM runs between each PEM run :22 # Set the number of PCM runs between each PEM run (>= 2): 23 23 nPCM=2 24 24 25 # Set the dimension of the model (1 = "1D"; other values = "3D"):26 dim=3 25 # Set the launching mode (0 = "processing scripts"; any other values = "submitting jobs"). The former option is usually used to process the script on a local machine while the latter is used to submit jobs on supercomputer: 26 mode=1 27 27 ######################################################################## 28 28 … … 48 48 checklaunch 49 49 initlaunch 50 cyclelaunch $ dim$nPCM_ini50 cyclelaunch $mode $nPCM_ini 51 51 52 52 else … … 57 57 echo "This is a new cycle for the PEM simulation." 58 58 date 59 if [ $ dim -ne 1]; then59 if [ $mode -ne 0 ]; then 60 60 job_scheduler 61 61 fi 62 62 read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt 63 cyclelaunch $ dim$nPCM63 cyclelaunch $mode $nPCM 64 64 65 65 # Starting a relaunch … … 122 122 fi 123 123 if [ $relaunch = "PCM" ]; then 124 relaunchPCM $ dim124 relaunchPCM $mode 125 125 else 126 relaunchPEM $ dim126 relaunchPEM $mode 127 127 fi 128 128 … … 133 133 echo "This is a continuation of the previous PEM run." 134 134 date 135 submitPEM $ dim135 submitPEM $mode 136 136 137 137 # Default case: error
Note: See TracChangeset
for help on using the changeset viewer.