Changeset 5635


Ignore:
Timestamp:
2015-07-24T19:56:07+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/config/X64_CURIE.cfg

    r5545 r5635  
    22 
    33# Available softwares: 
    4 CDO=cdo  
    5 COMPILER=ifort 
    6 MPI=bullxmpi 
    7 NETCDF=netcdf 
     4CDO='cdo' 
     5COMPILER='intel' 
     6MPI='bullxmpi' 
     7NETCDF='netcdf' 
    88 
    99# Job commands: ccc_* 
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh

    r5634 r5635  
    101101get_soft_rel() { 
    102102    for soft in $CDO $COMPILER $MPI $NETCDF; do 
    103                                      soft_rel=$( echo $LOADEDMODULES | grep -o "$soft[^:]*"            ) 
     103                                     soft_rel=$( echo $LOADEDMODULES | grep -o "$soft[^:]*"  | sort -u ) 
    104104   [ -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-*) 
     
    178178The trusting sequence for ${REFE_CONF} has failed. 
    179179Directory: ${TEST_DIR} 
    180 Archive: trusting_${DATESTR}_${CFG_USER}_${CFG_ARCH}.tar.gz 
     180Archive created: trusting_${DATESTR}_${CFG_USER}_${CFG_ARCH}.tar.gz 
    181181 
    182182XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 
     
    230230 
    231231    ## Save tested configuration if trusting failed 
    232     [[ "$ST" == 'FAILED' && $DEBUG -eq 0 ]] && tar -czf ${REFE_DIR}/trusting_${DATESTR}_${CFG_USER}_${CFG_ARCH}.tar.gz * 
     232    if [[ "$ST" == 'FAILED' && $DEBUG -eq 0 ]]; then 
     233   echo 'Creating archive 'trusting_${DATESTR}_${CFG_USER}_${CFG_ARCH}.tar.gz' under '${REFE_DIR} 
     234   tar -czf ${REFE_DIR}/trusting_${DATESTR}_${CFG_USER}_${CFG_ARCH}.tar.gz * 
     235    fi 
    233236 
    234237    mesg_make 
Note: See TracChangeset for help on using the changeset viewer.