Changeset 3495 for trunk/LMDZ.COMMON/libf/evolution/deftank/PCMrun.job
- Timestamp:
- Nov 7, 2024, 10:27:18 AM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/PCMrun.job
r3416 r3495 23 23 # Name of executable for the PCM: 24 24 exePCM="gcm_64x48x32_phymars_para.e" 25 26 # Execution command: 27 exe_cmd="srun --cpu-bind=threads --label -c${OMP_NUM_THREADS:=1}" 25 28 ######################################################################## 26 29 … … 32 35 read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt 33 36 cp run_PCM.def run.def 34 srun --cpu-bind=threads --label -c${OMP_NUM_THREADS:=1} $exePCM > out_runPCM${iPCM} 2>&1 35 if [ ! -f "restartfi.nc" ] || ! (tail -n 1 out_runPCM${iPCM} | grep -iq "everything is cool!"); then # Check if it ended abnormally37 eval "$exe_cmd $exePCM > out_runPCM${iPCM} 2>&1" 38 if [ ! -f "restartfi.nc" ] || ! (tail -n 100 out_runPCM${iPCM} | grep -iq "everything is cool!"); then # Check if it ended abnormally 36 39 echo "Error: the run PCM $iPCM crashed!" 37 40 echo "Be careful: there may be dependent jobs remaining in the SLURM queue with status 'DependencyNeverSatisfied'! You can cancel them by executing the script \"kill_launchPEM.sh\"."
Note: See TracChangeset
for help on using the changeset viewer.