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 5788 for branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/arch_template.cfg – NEMO

Ignore:
Timestamp:
2015-10-12T20:28:35+02:00 (9 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS18_TRUST Several enhancements (global variables rename, notification mail object, add job performances, templates description, script to install new minimal branch to test) to improve accessibility for NEMO users & bugfixes (tar creation, modulefiles)

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##--------------------------------------------------- 
    23 
    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 
    46 
    57 
    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 
     12ARCH_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: 
     16JOB_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 
     18JOB_STAT=''          ## Test state of the submitted job (true -> pending/running or false -> completed/crashed) 
     19                             ## ex: "llq | grep \${JOB_ID}" 
     20JOB_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 
     28CDOD=''                 ## Essential to check a difference between NetCDF restart files 
    929 
    1030 
    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): 
     35STR_CDOD=''          ## CDO (Climate Data Operators) 
     36                          ## ex: 'cdo'||'nco'||... 
     37STR_LMPI=''          ## MPI    libraries             
     38                          ## ex: 'openmpi'||'mpich'||... 
     39STR_NCDF=''          ## NetCDF    " "                
     40                          ## ex: 'netcdf'||'netcdf-parallel'||... 
     41 
     42## Fortran compiler version (use with `$COMPILER --version`) 
     43CMPF=''             ## ex: 'ifort'||'gfortran'||'pgfortran'||... 
    2044 
    2145 
    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##--------------------------------------------------- 
    3048 
    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_....}`) 
     50JOB_INFO=''          ## Get job informations to fill in a logfile during computation 
     51                             ## ex: "llq -x     \${JOB_ID}" 
     52JOB_TIME=''          ## Get CPU elapsed time 
     53                             ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'` 
     54JOB_PMEM=''          ## Get max physical memory 
     55                             ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3,\$4}'` 
     56JOB_VMEM=''          ## Get " " virtual    ""   
Note: See TracChangeset for help on using the changeset viewer.