Ignore:
Timestamp:
2015-06-15T17:49:41+02:00 (5 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Many improvments & bug corrections

File:
1 edited

Legend:

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

    r5402 r5424  
    5151[ $( echo ${NEMO_VERS} | tr -d '[:alpha:][:punct:]' ) ] && SVN_CMD='svn update -r '$( echo ${NEMO_VERS} | tr -d '[:alpha:][:punct:]' ) 
    5252 
    53 datestr1=$( LC_ALL=C date -d"${DATE_STR}" +%Y-%m-%dT%H:%M ) 
    5453. ./trusting_func.sh 
    5554 
     55 
     56#  
     57#--------------------------------------------------- 
    5658mkdir -p ${TEST_DIR} ${REFE_DIR} 
    5759echo ${TEST_DIR} && cd ${TEST_DIR} 
     60datestr1=$( LC_ALL=C date -d"${DATE_STR}" +%Y-%m-%dT%H:%M ) 
    5861printf "Date\n%s\n"       $datestr1 > mesg_01_date_${CFG_USER}_${CFG_ARCH}.txt 
    5962# Only at end status will change to OK 
     
    6568printf "Step......................\nGet softwares release\n"                     | tee mesg_04_step_${CFG_USER}_${CFG_ARCH}.txt 
    6669. ${ARCH_ENV} > /dev/null    # Sourcing architecture environment 
    67 get_rel 
     70get_soft_rel 
    6871sed -n 2p model.log | sed 'i\Fortran compiler' | tee mesg_05_compiler_${CFG_USER}_${CFG_ARCH}.txt 
    6972sed -n 3p model.log | sed 'i\MPI libraries   ' | tee mesg_06_mpi_${CFG_USER}_${CFG_ARCH}.txt 
     
    7477#--------------------------------------------------- 
    7578printf "Step......................\nGet NEMO SVN revision with: ${SVN_CMD}\n"    | tee mesg_04_step_${CFG_USER}_${CFG_ARCH}.txt 
    76 get_rev 
    77 sed -n 6p model.log | sed 'i\NEMO revision' > mesg_02_nemo_${CFG_USER}_${CFG_ARCH}.txt 
     79get_nemo_rev 
     80sed -n 6p model.log | sed 'i\NEMO revision'    | tee mesg_02_nemo_${CFG_USER}_${CFG_ARCH}.txt 
    7881 
    7982 
     
    8386cd ${NEMO_CONF} 
    8487#[ -d ${TEST_CONF} ] && ./makenemo -n ${TEST_CONF} clean 
    85 ./makenemo -n ${TEST_CONF} -r ${REFE_CONF} -m $ARCH -j $NPROC > /dev/null 2>&1 
     88./makenemo -n ${TEST_CONF} -r ${REFE_CONF} -m $ARCH -j $NPROC >& /dev/null 
    8689[ ! -e ${TEST_CONF}/BLD/bin/nemo.exe ] && get_out 
    8790 
     
    165168    real_cpu_time=$( ${JOB_VIEW} ${job_num} | awk 'END{print $9}' ) 
    166169    printf "Real CPU time\n%s\n" ${real_cpu_time} | tee mesg_08_realcputime_${CFG_USER}_${CFG_ARCH}.txt 
     170    printf "Input files\nNA"                      | tee mesg_09_inputfiles_${CFG_USER}_${CFG_ARCH}.txt 
    167171else 
    168172    printf "Step......................\nTest input files difference\n"           | tee mesg_04_step_${CFG_USER}_${CFG_ARCH}.txt 
Note: See TracChangeset for help on using the changeset viewer.