- Timestamp:
- 2017-11-24T15:03:07+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/cfg/arch_template.cfg
r5929 r8808 9 9 ## Default settings 10 10 ##--------------------------------------------------- 11 # (Super)Computer environment (${TRUS _XIOS} is already defined in the user configuration file)12 TRUS _ENVI=${TRUS_XIOS}/arch/arch-${TRUS_HPCC}13 ## If `module` is available, ${TRUS _ENVI}.env will be sourced14 ## If not (scheduled jobs), it will be ${TRUS _ENVI}.path or finally ${TRUS_ENVI}11 # (Super)Computer environment (${TRUST_DIR_XIOS} is already defined in the user configuration file) 12 TRUST_JOB_ENV=${TRUST_DIR_XIOS}/arch/arch-${TRUST_MAIN_HPCC} 13 ## If `module` is available, ${TRUST_JOB_ENV}.env will be sourced 14 ## If not (scheduled jobs), it will be ${TRUST_JOB_ENV}.path or finally ${TRUST_JOB_ENV} 15 15 16 16 ## Comparison command with restart files as argument (think to append $PATH by any way) 17 TRUS_CDOD='cdo diffn'17 ='cdo diffn' 18 18 19 [ -z "${TRUS _NPRO}" ] && TRUS_NPRO= ## Number of compiling processes20 [ -z "${TRUS _TOUT}" ] && TRUS_TOUT= ## Timeout for computation (s)19 [ -z "${TRUST_COMPILE_NPROC}" ] && TRUST_COMPILE_NPROC= ## Number of compiling processes 20 [ -z "${TRUST_JOB_TIMEOUT}" ] && TRUST_JOB_TIMEOUT= ## Timeout for computation (s) 21 21 22 22 23 23 ## (Super)computer environment 24 24 ##--------------------------------------------------- 25 ## Job commands will almost always be used with `eval ${TRUS _JXXX}` because25 ## Job commands will almost always be used with `eval ${TRUST_JOB_XXX}` because 26 26 ## they will certainly need job ID number as argument for working 27 TRUS _JSPT= ## Submission script contained ./batch folder, will be copied to testing folder28 TRUS _JSUB= ## Submit a job and get his ID on the fly (assigned to ${TRUS_JIDN})29 ## ex: `llsubmit ${TRUS _JSPT} | grep -oe '\<[0-9]*\>'`30 TRUS _JSTA= ## Test state of the submitted job (true -> pending/running or false -> completed/crashed)31 ## ex: "llq | grep \${TRUS _JIDN}"32 TRUS _JKIL= ## Kill the submitted job33 ## ex: "llcancel \${TRUS _JIDN}"27 TRUST_JOB_SCRIPT= ## Submission script contained ./batch folder, will be copied to testing folder 28 TRUST_JOB_SUBMIT= ## Submit a job and get his ID on the fly (assigned to ${TRUST_JOB_ID}) 29 ## ex: `llsubmit ${TRUST_JOB_SCRIPT} | grep -oe '\<[0-9]*\>'` 30 TRUST_JOB_STATE= ## Test state of the submitted job (true -> pending/running or false -> completed/crashed) 31 ## ex: "llq | grep \${TRUST_JOB_ID}" 32 TRUST_JOB_KILL= ## Kill the submitted job 33 ## ex: "llcancel \${TRUST_JOB_ID}" 34 34 35 35 ## Computational performances of job (respectively elapsed time, max physical & virtual memory) 36 TRUS _JTIM='' ## ex: "grep IdrisMemMPI NEMO_CI_\${TRUS_JIDN} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}"37 TRUS _JPME='' ## ex: "grep IdrisMemMPI NEMO_CI_\${TRUS_JIDN} | cut -d, -f3 | awk '{print \$3 ,\$4 }"38 TRUS _JVME='' ## ex: "grep IdrisMemMPI NEMO_CI_\${TRUS_JIDN} | cut -d, -f2 | awk '{print \$3 ,\$4 }"36 TRUST_JOB_TIME='' ## ex: "grep IdrisMemMPI NEMO_CI_\${TRUST_JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}" 37 TRUST_JOB_RAM_P='' ## ex: "grep IdrisMemMPI NEMO_CI_\${TRUST_JOB_ID} | cut -d, -f3 | awk '{print \$3 ,\$4 }" 38 TRUST_JOB_RAM_V='' ## ex: "grep IdrisMemMPI NEMO_CI_\${TRUST_JOB_ID} | cut -d, -f2 | awk '{print \$3 ,\$4 }" 39 39 40 TRUS _JINF='' ## Get job informations to fill in a logfile during computation41 ## ex: "llq -x \${TRUS _JIDN}"40 TRUST_JOB_INFO='' ## Get job informations to fill in a logfile during computation 41 ## ex: "llq -x \${TRUST_JOB_ID}" 42 42 43 ## Compiler (use with `${TRUS _CMPV} --version`)44 TRUS _CMPV='' ## ex: 'ifort'|'gfortran'|'pgfortran'|...43 ## Compiler (use with `${TRUST_COMPILE_FORTRAN} --version`) 44 TRUST_COMPILE_FORTRAN='' ## ex: 'ifort'|'gfortran'|'pgfortran'|... 45 45 46 46 ## Software/libraries (string pattern to match just before the release number in $PATH) 47 47 ## Respectively CDO (Climate Data Operators) / MPI libraries / NetCDF libraries 48 TRUS _CDOR='' ## ex: 'cdo/'|'netcdf-utils-'49 TRUS _MPIR='' ## ex: 'intel/impi/'|'bullxmpi/'50 TRUS _CDFR='' ## ex: 'netcdf/'|'netcdf-'48 TRUST_CDO='' ## ex: 'cdo/'|'netcdf-utils-' 49 TRUST_COMPILE_MPI='' ## ex: 'intel/impi/'|'bullxmpi/' 50 TRUST_COMPILE_NETCDF='' ## ex: 'netcdf/'|'netcdf-'
Note: See TracChangeset
for help on using the changeset viewer.