Ignore:
Timestamp:
Apr 30, 2021, 3:37:45 PM (4 years ago)
Author:
abierjon
Message:

Mars GCM:
Some corrections of run scripts in deftank/ciclad/ :
the next run_monthX is now well written, with a formulation that is more coherent with deftank/occigen/run_month1 version
+ the PBS memory specifications for the CICLAD job are set to more relevant values

AB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/deftank/ciclad/run_month1

    r2216 r2510  
    1 #PBS -S  /bin/bash
    2 #PBS -N  run_month1
     1#PBS -S /bin/bash
     2#PBS -N run_month1
    33#PBS -q day
    44#PBS -j eo
    55#PBS -l nodes=1:ppn=24
    6 #PBS -l mem=5gb
    7 #PBS -l vmem=28gb
     6#PBS -l mem=30gb
     7#PBS -l vmem=50gb
    88#PBS -l walltime=20:00:00
    99
     
    5252# launch job for next month
    5353if (( $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
    5758  qsub run_month$num_next
    5859fi
Note: See TracChangeset for help on using the changeset viewer.