Ignore:
Timestamp:
Mar 13, 2025, 11:26:01 PM (5 months ago)
Author:
fhourdin
Message:

LMDZ_Setup for tuning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/script_SIMU

    r5564 r5574  
    366366if [ $next =  $stopsim ] ; then
    367367   echo 'On arrive au bout, simulation next:'$next', stopsim:'$stopsim
    368    # Cas particulier ou on veut chainer plusieurs simulations multi annuelles.
    369    # pour le tuning automatique.
    370    # Ici on passe de SCM_1-019 a SCM_1-029
    371    if [ "${simul:0:3}" = "SCM" ] ; then
    372       pre="SCM_1-"
    373       num=`echo $simul | sed -e 's/'$pre'//'`
    374       # (( num = $num + 10 )) change a cause d un probleme avec 008
    375       num=`echo $num | awk ' { print $1 + 10 } '`
    376       num=`printf "%03d\n" $num`
    377       simul_new=$pre$num
    378       cd $SCRIPTDIR
    379       if [ $num -le 250 ] ; then
    380          sed -e 's/^simul=.*.$/simul='$simul_new'/' -e 's/^\# @ job_nam.*.=.*.$/\# @ job_name = '$simul_new'/' tmp_$simul >| tmp_$simul_new
    381          submitcmd tmp_$simul_new
    382       fi
    383    fi
    384    exit
     368   exit 1
    385369fi
    386370
Note: See TracChangeset for help on using the changeset viewer.