- Timestamp:
- 2015-10-12T20:28:35+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/arch_template.cfg
r5761 r5788 1 ## Copy to ./${NEMO_HPCC}.cfg, fill in according to your machine 1 ## HPC configuration template 2 ##--------------------------------------------------- 2 3 3 ## Super-computer configuration 4 ## Copy to root (./config) and rename it by keeping '.cfg' extension, then fill in according to your (super)computer 5 ## Will be called by its name without the extension 4 6 5 7 6 ## Architecture environment 7 ARCH_ENV='' ## (be careful with compliance with XIOS) 8 ## ex: "${DIR_XIOS}/arch/arch-${NEMO_HPCC}.env" 8 ## Mandatory 9 ##--------------------------------------------------- 10 11 ## (Super)Computer environment 12 ARCH_ENV='' ## *.env, *.path or modulesfile to source (let void if $PATH has already been setted) 13 ## ex: "${DIR_XIOS}/arch/arch-${TRUS_HPCC}.env" 14 15 ## Job commands (use with `eval ${JOB_....}`), may need to use "\${JOB_ID}" variable as the job ID returned from submission: 16 JOB_SUBM='' ## Submit a job and get his ID in return (will became ${JOB_ID}) 17 ## ex: `llsubmit ${TRUS_DIR}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'`, use absolute path 18 JOB_STAT='' ## Test state of the submitted job (true -> pending/running or false -> completed/crashed) 19 ## ex: "llq | grep \${JOB_ID}" 20 JOB_KILL='' ## Kill the submitted job 21 ## ex: "llcancel \${JOB_ID}" 22 23 ## Compiling (number of tasks) and computation (timeout in s) 24 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO='1' 25 [ -z "${TIMEOUT}" ] && TIMEOUT='10800' 26 27 ## $CDO command to compare 2 datasets in argument 28 CDOD='' ## Essential to check a difference between NetCDF restart files 9 29 10 30 11 ## Available softwares (pattern to search before release number): 12 CDO='' ## CDO (Climate Data Operators) (string appears in $LOADEDMODULES or $PATH) 13 ## ex: 'cdo'/'nco'/... 14 COMPILER='' ## Fortran compiler (use with `$COMPILER --version`) 15 ## ex: 'ifort'/'gfortran'/'pgfortran'/... 16 MPI='' ## MPI libraries ( " " "" "" "" "" " " ) 17 ## ex: 'opempi'/'mpich'/... 18 NETCDF='' ## NetCDF " " ( " " "" "" "" "" " " ) 19 ## ex: 'netcdf42'/'netcdf-parallel'/... 31 ## Interest when monitoring HPC center 32 ##--------------------------------------------------- 33 34 ## Software releases (string pattern to match just before the number in $LOADEDMODULES or $PATH): 35 STR_CDOD='' ## CDO (Climate Data Operators) 36 ## ex: 'cdo'||'nco'||... 37 STR_LMPI='' ## MPI libraries 38 ## ex: 'openmpi'||'mpich'||... 39 STR_NCDF='' ## NetCDF " " 40 ## ex: 'netcdf'||'netcdf-parallel'||... 41 42 ## Fortran compiler version (use with `$COMPILER --version`) 43 CMPF='' ## ex: 'ifort'||'gfortran'||'pgfortran'||... 20 44 21 45 22 ## Job commands (works with job ID): 23 JOB_SUBM='' ## Submit a job && get his ID in return 24 ## ex: "cmd ${NEMO_TRUS}/batch/${NEMO_HPCC}.sh | awk '{print \$NF}'" 25 JOB_LIST='' ## List all submitted jobs to determine if a job is completed or not 26 JOB_INFO='' ## Get job informations to fill in a log file (job ID as argument) 27 JOB_TIME='' ## Get real CPU time computation with `eval "${JOB_INFO} ${JOB_ID} | ${JOB_TIME}"` 28 ## ex: "awk '/opa/ END{print \$9}'" 29 JOB_DELE='' ## Kill submitted job (job ID as argument) 46 ## Optional (can be void if no alternative or need) 47 ##--------------------------------------------------- 30 48 31 32 ## Compiling & computation 33 [ -z "$NPROC" ] && NPROC=1 ## Processing units for compilation 34 [ -z "${TIME_LIMI}" ] && TIME_LIMI='' ## Utmost time in seconds to wait for completed job 49 ## Computational performances of finished job (use with `eval ${JOB_....}`) 50 JOB_INFO='' ## Get job informations to fill in a logfile during computation 51 ## ex: "llq -x \${JOB_ID}" 52 JOB_TIME='' ## Get CPU elapsed time 53 ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'` 54 JOB_PMEM='' ## Get max physical memory 55 ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3,\$4}'` 56 JOB_VMEM='' ## Get " " virtual ""
Note: See TracChangeset
for help on using the changeset viewer.