Ignore:
Timestamp:
2015-06-22T14:19:53+02:00 (5 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Ping pong updates between Curie & Ada to finalize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_func.sh

    r5455 r5459  
    99       last_time_step=$( cat ${TEST_DIR}/time.step | tr -d [:space:] ) 
    1010       STEP='nemo.exe crashed at '${last_time_step} && export STEP 
    11        line=$( grep -m1 "$state" ocean.output | tr -d '\n' ) 
     11       line=$( grep -m1 -A5 "$state" ocean.output | tr -d '\n' ) 
    1212   else 
    1313       STEP='nemo.exe crashed at initialization'    && export STEP 
     
    1616    fi 
    1717 
    18     if [ $( diff -q env.log ${REFE_DIR}/env.log ) ]; then 
    19    line=$( diff env.log ${REFE_DIR}/env.log  | tr -d '\n' ) 
     18    if [ $( diff -q arch_env.log ${REFE_DIR}/arch_env.log ) ]; then 
     19   line=$( diff arch_env.log ${REFE_DIR}/arch_env.log  | tr -d '\n' ) 
    2020    fi 
    2121 
     
    8181   [ -z "${arch_rel}"  ] && arch_rel=$( echo $PATH          | sed  "s#.*$rel/\([^/]*\).*#\1#" ) 
    8282   [ $rel == $COMPILER ] && arch_rel=$( $rel --version      | grep -m1 -o ' [0-9.]* '         ) 
    83    echo $rel ${arch_rel} >> env.log 
     83   echo $rel ${arch_rel} >> arch_env.log 
    8484    done 
    8585 
    86     sed -n 3p env.log | sed 'i\Compiler'    > mesg_05_compiler_${CFG_USER}_${CFG_ARCH}.txt 
    87     sed -n 4p env.log | sed 'i\MPI libs'    > mesg_06_mpi_${CFG_USER}_${CFG_ARCH}.txt 
    88     sed -n 5p env.log | sed 'i\NetCDF libs' > mesg_07_netcdf_${CFG_USER}_${CFG_ARCH}.txt 
     86    sed -n 3p arch_env.log | sed 'i\Compiler'    > mesg_05_compiler_${CFG_USER}_${CFG_ARCH}.txt 
     87    sed -n 4p arch_env.log | sed 'i\MPI libs'    > mesg_06_mpi_${CFG_USER}_${CFG_ARCH}.txt 
     88    sed -n 5p arch_env.log | sed 'i\NetCDF libs' > mesg_07_netcdf_${CFG_USER}_${CFG_ARCH}.txt 
    8989} 
    9090 
     
    107107   # For time being, just get revision number from XIOS 
    108108   if [ $dir == ${DIR_XIOS} ]; then 
    109        echo 'XIOS '$( svn info $dir | awk '(NR == 5) {print $NF}' ) >> env.log 
     109       echo 'XIOS '$( svn info $dir | awk '(NR == 5) {print $NF}' ) >> arch_env.log 
    110110       continue 
    111111   fi 
     
    162162   touch mesg_08_inputfiles_${CFG_USER}_${CFG_ARCH}.txt mesg_09_realcputime_${CFG_USER}_${CFG_ARCH}.txt \ 
    163163         mesg_10_comments_${CFG_USER}_${CFG_ARCH}.txt 
    164    tar -czf ${REFE_DIR}/trusting_${DATE_STR}_${CFG_USER}_${CFG_ARCH}.tar.gz * 
     164   #tar -czf ${REFE_DIR}/trusting_${DATE_STR}_${CFG_USER}_${CFG_ARCH}.tar.gz * 
    165165    fi 
    166166 
Note: See TracChangeset for help on using the changeset viewer.