Changeset 5634


Ignore:
Timestamp:
2015-07-24T18:32:54+02:00 (5 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Trusting release for scheduling tests ('crontab'/'at')

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

    r5633 r5634  
    6464cd ${DIR_XIOS} 
    6565full=''; [ $DEBUG -eq 0 ] && full='--full' 
    66 ./make_xios $full --arch ${CFG_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 ${CFG_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 
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh

    r5633 r5634  
    88   [ -e time.step ] && LAST_TIME_STEP=$( cat time.step | tr -d ' ' ) 
    99   export LAST_TIME_STEP 
    10    [ -e ocean.output ] && line=$( grep -m1 -A4 "$state" ocean.output | tr -d '\n' ) 
     10   [ -e ocean.output ] && line=$( grep -m1 -A4 "$state"   ocean.output | tr -d '\n' ) 
    1111    else 
    1212   [ -e ocean.output ] && line=$( grep -m1 -A3 "^ $state" ocean.output | tr -d '\n' ) 
     
    101101get_soft_rel() { 
    102102    for soft in $CDO $COMPILER $MPI $NETCDF; do 
    103                                      soft_rel=$( echo $LOADEDMODULES | grep -o "$soft[^:]*"  ) 
    104    [ -z "${soft_rel}"  ]     && soft_rel=$( echo $PATH          | grep -o "$soft/[^/]*" ) 
     103                                     soft_rel=$( echo $LOADEDMODULES | grep -o "$soft[^:]*"            ) 
     104   [ -z "${soft_rel}"  ]     && soft_rel=$( echo $PATH          | grep -o "$soft/[^/]*" | sort -u ) 
    105105   ## Not working inside CURIE cron (no modules command && cdo embedded in netcdf-*) 
    106106   #[ "$soft" == "$COMPILER" ] && soft_rel=$( $soft --version      | grep -m1 -o ' [0-9.]* '         ) 
Note: See TracChangeset for help on using the changeset viewer.