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.sh

    r5455 r5459  
    5757. ${ARCH_ENV} > /dev/null 
    5858get_soft_rel 
    59 cat env.log 
     59cat arch_env.log 
    6060 
    6161# XIOS compiling 
     
    6363print_step 'Compiling XIOS' 
    6464cd ${DIR_XIOS} 
    65 ./make_xios --full --arch $ARCH -job $NPROC #>& /dev/null 
     65#./make_xios --full --arch $ARCH -job $NPROC #>& /dev/null 
    6666[ ! -e ${DIR_XIOS}/lib/libxios.a ] && get_out $STATUS $STEP 
    6767 
     
    7070print_step "Compiling ${CONF_REF} configuration" 
    7171cd ${NEMO_CONF} 
    72 [ -d ${TEST_CONF} ] && ./makenemo -n ${TEST_CONF} clean 
     72#[ -d ${TEST_CONF} ] && ./makenemo -n ${TEST_CONF} clean 
    7373./makenemo -n ${TEST_CONF} -r ${REFE_CONF} -m $ARCH -j $NPROC #>& /dev/null 
    7474[ ! -e ${TEST_CONF}/BLD/bin/nemo.exe ] && get_out $STATUS $STEP 
     
    113113sleep ${time_increment} 
    114114 
    115 if (( ${time_elapsed} = ${TIME_LIMI} )); then 
     115if [ ${time_elapsed} -eq ${TIME_LIMI} ]; then 
    116116    print_step 'Killing job' 
    117117    ${JOB_DELE} ${JOB_ID} &> /dev/null 
     
    126126    comments 'E R R O R' 
    127127    get_out $STATUS $STEP 
    128 else 
    129     STATUS='OK' 
     128fi 
    130129 
    131     # Inspect output text files 
    132     #--------------------------------------------------- 
    133     print_step 'Test ASCII output files diff' 
    134     for file in ocean.output solver.stat tracer.stat; do 
    135    diff $file ${REFE_DIR}/$file 
    136    [ $? -ne 0 ] && get_out 'FAILED' 'ASCII output file differ' 
    137     done 
     130STATUS='OK' 
     131# Inspect output text files 
     132#--------------------------------------------------- 
     133print_step 'Test ASCII output files diff' 
     134for file in ocean.output solver.stat tracer.stat; do 
     135    diff $file ${REFE_DIR}/$file 
     136    [ $? -ne 0 ] && get_out 'FAILED' 'ASCII output file diff' 
     137done 
    138138 
    139     # Inspect output NetCDF files 
    140     #--------------------------------------------------- 
    141     print_step 'Test last restart NetCDF files diff' 
    142     diff_restart 
    143     [ $? -ne 0 ] && get_out 'FAILED' "$CDO diff failed" 
     139# Inspect output NetCDF files 
     140#--------------------------------------------------- 
     141print_step 'Test last restart NetCDF files diff' 
     142diff_restart 
     143[ $? -ne 0 ] && get_out 'FAILED' "$CDO diff failed" 
    144144 
    145     # Get computation duration 
    146     #--------------------------------------------------- 
    147     print_step 'Get real CPU time' 
    148     get_cpu_time 
     145# Get computation duration 
     146#--------------------------------------------------- 
     147print_step 'Get real CPU time' 
     148get_cpu_time 
    149149 
    150     comments 'W A R N I N G' 
    151 fi 
     150# Get comments (ocean.output & diff arch_env.log) 
     151#--------------------------------------------------- 
     152comments 'W A R N I N G' 
    152153 
    153154# End 
Note: See TracChangeset for help on using the changeset viewer.