Changeset 2510 for trunk/LMDZ.MARS/deftank
- Timestamp:
- Apr 30, 2021, 3:37:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/deftank/ciclad/run_month1
r2216 r2510 1 #PBS -S 2 #PBS -N 1 #PBS -S /bin/bash 2 #PBS -N run_month1 3 3 #PBS -q day 4 4 #PBS -j eo 5 5 #PBS -l nodes=1:ppn=24 6 #PBS -l mem= 5gb7 #PBS -l vmem= 28gb6 #PBS -l mem=30gb 7 #PBS -l vmem=50gb 8 8 #PBS -l walltime=20:00:00 9 9 … … 52 52 # launch job for next month 53 53 if (( $num_next <= $num_end )) ; then 54 sed -e "0,/num_now=/{s/num_now=/num_now=$num_next/}" \ 55 -e "0,/#PBS -N run_month/{s/#PBS -N run_month/#PBS -N run_month$num_next/}" \ 56 -e "0,/num_end=/{s/num_end=/num_end=$num_end/}" run_month > run_month$num_next 54 cp -f run_month$num_now tmp 55 sed -e "s@run_month${num_now}@run_month${num_next}@" \ 56 -e "s@num_now=${num_now}@num_now=${num_next}@" tmp > run_month$num_next 57 rm tmp 57 58 qsub run_month$num_next 58 59 fi
Note: See TracChangeset
for help on using the changeset viewer.