- Timestamp:
- 2015-07-24T18:32:54+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh
r5633 r5634 8 8 [ -e time.step ] && LAST_TIME_STEP=$( cat time.step | tr -d ' ' ) 9 9 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' ) 11 11 else 12 12 [ -e ocean.output ] && line=$( grep -m1 -A3 "^ $state" ocean.output | tr -d '\n' ) … … 101 101 get_soft_rel() { 102 102 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 ) 105 105 ## Not working inside CURIE cron (no modules command && cdo embedded in netcdf-*) 106 106 #[ "$soft" == "$COMPILER" ] && soft_rel=$( $soft --version | grep -m1 -o ' [0-9.]* ' )
Note: See TracChangeset
for help on using the changeset viewer.