- Timestamp:
- 2017-11-29T12:20:30+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/inc/trusting.env
r8834 r8843 12 12 ##------------------------------------------------------------------- 13 13 14 if [ ${TRUST_FLAG_DEBUG} == 'true' ]; then 14 if [ ${TRUST_FLAG_DEBUG} == 'false' ]; then 15 ## std mode (merge stdout & stderr to /dev/null, XIOS compilation from scratch) 16 TRUST_IO_XIOS_MODE='--full' 17 TRUST_MAIN_STDOUT='>& /dev/null' 18 else 15 19 ## debug mode (verbose output and skip XIOS compilation) 16 20 TRUST_IO_XIOS_MODE='' 17 21 TRUST_MAIN_STDOUT='1> /dev/null' 18 else19 ## std mode (merge stdout & stderr to /dev/null, XIOS compilation from scratch)20 TRUST_IO_XIOS_MODE='--full'21 TRUST_MAIN_STDOUT='>& /dev/null'22 22 fi 23 23 … … 101 101 ##------------------- 102 102 103 ## Forcing archive unset 104 if [[ ! ${TRUST_IO_FORC_TAR} && ${TRUST_IO_FORC_TAR-_} ]]; then 105 106 ## Forcing directory set 107 if [ ${TRUST_IO_FORC_PATH} ]; then 103 [ -z "${TRUST_CFG_NEW}" ] && TRUST_CFG_NEW=${TRUST_CFG_REF}'_trust' 104 export TRUST_CFG_NEW TRUST_CFG_REF 105 export TRUST_CFG_KEY_ADD TRUST_CFG_KEY_DEL 106 107 108 ## Inputs/Outputs 109 ## -------------- 110 111 [ -z "${TRUST_IO_XIOS}" ] && get_out A 112 export TRUST_IO_XIOS 113 114 ## Forcing directory set and not empty 115 if [ ${TRUST_IO_FORC_PATH} ]; then 116 117 ## Forcing archive unset 118 if [[ ! ${TRUST_IO_FORC_TAR} && ${TRUST_IO_FORC_TAR-_} ]]; then 119 108 120 ## Default forcing archive from trunk 109 121 TRUST_IO_FORC_TAR='ORCA2_LIM_nemo_v3.7.tar INPUTS_PISCES_v3.6st.tar' … … 126 138 fi 127 139 128 [ -z "${TRUST_CFG_NEW}" ] && TRUST_CFG_NEW=${TRUST_CFG_REF}'_trust'129 export TRUST_CFG_NEW TRUST_CFG_REF130 export TRUST_CFG_KEY_ADD TRUST_CFG_KEY_DEL131 132 133 ## Inputs/Outputs134 ## --------------135 136 [ -z "${TRUST_IO_XIOS}" ] && get_out A137 export TRUST_IO_XIOS138 140 export TRUST_IO_FORC_PATH TRUST_IO_FORC_TAR 139 141 export TRUST_IO_CDO 140 142 141 143 142 ## Compilation & Running143 ##------------ ----------144 ## Compilation 145 ##------------ 144 146 145 147 ## Assuming the sourcing of XIOS arch .env file (modules) for setting … … 156 158 ## Not mandatory 157 159 export TRUST_COMPILE_FORTRAN TRUST_COMPILE_MPI TRUST_COMPILE_NETCDF 160 161 162 ## Running 163 ##-------- 158 164 159 165 ## Assuming the job submit script is in './batch', if not
Note: See TracChangeset
for help on using the changeset viewer.