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 5634 for branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh – NEMO

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.