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 8859 for branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/inc/trusting.env – NEMO

Ignore:
Timestamp:
2017-11-30T16:01:29+01:00 (6 years ago)
Author:
nicolasmartin
Message:

Continuation of global refactoring of Trusting tool

  • Introduce new 'dev' mode beetween 'debug' and 'prod' modes to skip XIOS compilation from scratch and working in a solely testing directory (thanks Andrew for the suggestion)
  • Switch cfg files from 'svn:mime-type=text/x-shellscript' to 'svn:executable' trying to get syntax highlighting under Trac
  • Bugfixes: correct XIOS branch 'XIOS_DEV_CMIP6' for ORCA1 and remove remaining 'TRUST_DIR_BENCHMARK' (replace by TRUST_TEST_BENCHMARK)
  • Improve the workflow displayed in the terminal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/inc/trusting.env

    r8843 r8859  
    1212##------------------------------------------------------------------- 
    1313 
    14 if [ ${TRUST_FLAG_DEBUG} == 'false' ]; then 
    15     ## std mode (merge stdout & stderr to /dev/null, XIOS compilation from scratch) 
     14if   [ ${TRUST_FLAG_DEBUG} == 'true' ]; then 
     15    ## debug mode (skip XIOS compilation    , output stdout & stderr) 
     16    TRUST_IO_XIOS_MODE='' 
     17    TRUST_MAIN_STDOUT='' 
     18elif [ ${TRUST_FLAG_DEV}   == 'true' ]; then 
     19    ## dev mode   (skip XIOS compilation    , output only stderr    ) 
     20    TRUST_IO_XIOS_MODE='' 
     21    TRUST_MAIN_STDOUT='1> /dev/null' 
     22else 
     23    ## prod mode  (compile XIOS from scratch, no stdout nor stderr  ) 
    1624    TRUST_IO_XIOS_MODE='--full' 
    1725    TRUST_MAIN_STDOUT='>& /dev/null' 
    18 else 
    19     ## debug mode (verbose output and skip XIOS compilation) 
    20     TRUST_IO_XIOS_MODE='' 
    21     TRUST_MAIN_STDOUT='1> /dev/null' 
    2226fi 
    2327 
     
    208212fi 
    209213 
    210 export TRUST_TEST_LOG=${TRUST_DIR_BENCHMARK}/trusting_${TRUST_TEST_NAME}.txt 
     214export TRUST_TEST_LOG=${TRUST_TEST_BENCHMARK}/trusting_${TRUST_TEST_NAME}.txt 
    211215 
    212216export TRUST_TEST_MAILING 
Note: See TracChangeset for help on using the changeset viewer.