Changeset 5632


Ignore:
Timestamp:
2015-07-24T12:13:09+02:00 (5 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Bugfix for cron execution

Location:
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting.sh

    r5629 r5632  
    6464cd ${DIR_XIOS} 
    6565full=''; [ $DEBUG -eq 0 ] && full='--full' 
    66 ./make_xios $full --arch $ARCH --job $NPROC >& /dev/null 
     66./make_xios $full --arch ${CFG_ARCH} --job $NPROC > /dev/null 
    6767[ ! -e ${DIR_XIOS}/lib/libxios.a ] && get_out 1 
    6868 
     
    7171print_step "Compiling ${REFE_CONF} configuration" 
    7272cd ${NEMO_CONF} 
    73 [[ -d ${TEST_CONF} && $DEBUG -eq 0 ]] && ./makenemo -n ${TEST_CONF} clean >& /dev/null 
    74 ./makenemo -n ${TEST_CONF} -r ${REFE_CONF} -m $ARCH -j $NPROC             >& /dev/null 
     73[[ -d ${TEST_CONF} && $DEBUG -eq 0 ]] && ./makenemo -n ${TEST_CONF} clean > /dev/null 
     74./makenemo -n ${TEST_CONF} -r ${REFE_CONF} -m ${CFG_ARCH} -j $NPROC       > /dev/null 
    7575[ ! -e ${TEST_CONF}/BLD/bin/nemo.exe ] && get_out 2 
    7676 
     
    8888print_step 'Difference with standard input files list' 
    8989diff_inputs 
    90  
     90exit 0 
    9191## Job submission & computing 
    9292##--------------------------------------------------- 
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh

    r5629 r5632  
    212212   case $ERR in 
    213213       ## Compilation 
    214        1) ERR='XIOS compilation failed'             ;;  2) ERR='NEMO compilation failed'            ;; 
     214       1) ERR='XIOS compilation failed'               ;;  2) ERR='NEMO compilation failed'            ;; 
    215215       ## Submission 
    216        3) ERR='Missing input files'                  ;;  4) ERR='Job submission error'               ;; 
     216       3) ERR='Missing input files'                   ;;  4) ERR='Job submission error'               ;; 
    217217       ## Running 
    218        5) ERR='nemo.exe crashed at '${LAST_TIME_STEP};;  6) ERR='Exceeded time limit '${TIME_LIMI}'h';; 
     218       5) ERR='Crashed at time step '${LAST_TIME_STEP};;  6) ERR='Exceeded time limit '${TIME_LIMI}'h';; 
    219219       ## Results 
    220        7) ERR='Missing previous outputs '            ;;  8) ERR='New outputs  differ/missing'        ;; 
    221        9) ERR='Missing previous restarts'            ;; 10) ERR='New restarts differ/missing'        ;; 
     220       7) ERR='Missing previous outputs '             ;;  8) ERR='New outputs  differ/missing'        ;; 
     221       9) ERR='Missing previous restarts'             ;; 10) ERR='New restarts differ/missing'        ;; 
    222222       ## Undefined 
    223        *) ERR='Unknown error'                        ;; 
     223       *) ERR='Unknown error'                         ;; 
    224224   esac 
    225225 
Note: See TracChangeset for help on using the changeset viewer.