Changeset 3556 for trunk/LMDZ.COMMON/libf/evolution/deftank/PCMrun.job
- Timestamp:
- Dec 17, 2024, 12:15:17 PM (5 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/PCMrun.job
r3518 r3556 32 32 33 33 # Running the PCM 34 read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt 34 35 echo "Run PCM $iPCM is starting." 35 read i_myear n_myear convert_years iPCM iPEM nPCM nPCM_ini < info_PEM.txt36 36 cp run_PCM.def run.def 37 37 eval "$exe_cmd > out_runPCM${iPCM} 2>&1" 38 38 if [ ! -f "restartfi.nc" ] || ! (tail -n 100 out_runPCM${iPCM} | grep -iq "everything is cool!"); then # Check if it ended abnormally 39 39 echo "Error: the run PCM $iPCM crashed!" 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\"." 40 if [ $mode -ne 0 ]; then 41 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\"." 42 fi 41 43 exit 1 42 44 fi … … 70 72 fi 71 73 ((iPCM++)) 72 ((i_myear++)) 74 if [ $counting -ne 0 ]; then 75 i_myear=$(echo "$i_myear + 1." | bc -l) 76 fi 73 77 sed -i "1s/.*/$i_myear $n_myear $convert_years $iPCM $iPEM $nPCM $nPCM_ini/" info_PEM.txt
Note: See TracChangeset
for help on using the changeset viewer.