New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5545 for branches/2015 – NEMO

Changeset 5545 for branches/2015


Ignore:
Timestamp:
2015-07-03T18:42:48+02:00 (9 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Bugfixe

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

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/config/X64_CURIE.cfg

    r5483 r5545  
    88 
    99# Job commands: ccc_* 
    10 JOB_SUBM="ccc_msub ${NEMO_TRUS}/batch/${CFG_ARCH}.sh | awk '{print \$NF}'" 
     10JOB_SUBM="ccc_msub ${NEMO_TRUS}/batch/${CFG_ARCH}.sh | grep -oe '\<[0-9]*\>'" 
    1111JOB_LIST=ccc_mpp 
    1212JOB_INFO=ccc_macct 
    13 JOB_TIME="awk 'END{print \$9}'" 
    14 JOB_DELE=ccc_mdel                           
     13JOB_TIME="ccc_macct \${JOB_ID} | awk '/opa/ {print \$9}'" 
     14JOB_DELE=ccc_mdel 
    1515 
    1616# Compiling & computing settings 
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh

    r5543 r5545  
    6464                 | awk '/records/ {print $1}'                           ) 
    6565 
    66       if [ ${nc_diff} -ne 0 ]; then 
     66      if [[ ! -z ${nc_diff} && ${nc_diff} -ne 0 ]]; then 
    6767          export ST='FAILED' 
    6868          printf "$CDO ${nc_diff}\n" 
     
    197197 
    198198    if [ "$ST" == 'FAILED' ]; then 
    199    if [ ! -e mesg_09_inputs_${CFG_USER}_${CFG_ARCH}.txt ]; then 
    200        printf "Input files\n\n"   > mesg_09_inputs_${CFG_USER}_${CFG_ARCH}.txt 
    201    fi 
    202  
    203    if [ ! -e mesg_10_cputime_${CFG_USER}_${CFG_ARCH}.txt ]; then 
    204        printf "Real CPU time\n\n" > mesg_10_cputime_${CFG_USER}_${CFG_ARCH}.txt 
    205    fi 
    206  
    207    if [ ! -e mesg_11_comments_${CFG_USER}_${CFG_ARCH}.txt ]; then 
    208        printf "Comments\n\n"      > mesg_11_comments_${CFG_USER}_${CFG_ARCH}.txt 
    209    fi 
     199   file=mesg_09_inputs_${CFG_USER}_${CFG_ARCH}.txt 
     200   [ ! -e $file ] && printf "Input files\n\n"   > $file 
     201   file=mesg_10_cputime_${CFG_USER}_${CFG_ARCH}.txt 
     202   [ ! -e $file ] && printf "Real CPU time\n\n" > $file 
     203   file=mesg_11_comments_${CFG_USER}_${CFG_ARCH}.txt 
     204   [ ! -e $file ] && printf "Comments\n\n"      > $file 
    210205 
    211206        # Error identification 
Note: See TracChangeset for help on using the changeset viewer.