Changeset 3861 for trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job
- Timestamp:
- Jul 21, 2025, 1:55:12 PM (12 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/deftank/PEMrun.job
r3851 r3861 2 2 #SBATCH --job-name=jobPEM1 3 3 #SBATCH --account=cin0391 4 ### GENOA nodes accommodate 96 cores5 4 #SBATCH --constraint=GENOA 6 5 ### Number of nodes/cores to use 7 6 #SBATCH --nodes=1 8 #SBATCH --ntasks =17 #SBATCH --ntasks-per-node=1 9 8 #SBATCH --cpus-per-task=1 10 # ##SBATCH --exclusive9 #SBATCH --threads-per-core=1 # --hint=nomultithread 11 10 #SBATCH --output=jobPEM_%j.out 12 11 #SBATCH --time=24:00:00 … … 44 43 echo "Run \"PEM $iPEM\" is starting." 45 44 cp run_PEM.def run.def 46 eval "./$exePEM $arg_pem > out_runPEM${iPEM}2>&1"47 if [ ! -f "restartfi.nc" ] || ! (tail -n 100 out_runPEM${iPEM}| grep -iq "so far, so good!"); then # Check if it ended abnormally45 eval "./$exePEM $arg_pem > run.log 2>&1" 46 if [ ! -f "restartfi.nc" ] || ! (tail -n 100 run.log | grep -iq "so far, so good!"); then # Check if it ended abnormally 48 47 echo "Error: the run \"PEM $iPEM\" crashed!" 49 48 exit 1 … … 51 50 52 51 # Copy data files and prepare the next run 53 mv out_runPEM${iPEM} out_PEM/run${iPEM}52 mv run.log logs/runPEM${iPEM}.log 54 53 if [ -f "diagpem.nc" ]; then 55 54 mv diagpem.nc diags/diagpem${iPEM}.nc
Note: See TracChangeset
for help on using the changeset viewer.