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 5799 for branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config – NEMO

Ignore:
Timestamp:
2015-10-16T16:38:37+02:00 (9 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS18_TRUST Establishing common environment for installing & running trusting, consolidation of scripts & continuation of templates & help section improvments

Location:
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/X64_ADA.cfg

    r5788 r5799  
    22##--------------------------------------------------- 
    33 
    4 ARCH_ENV=${DIR_XIOS}/arch/arch-${TRUS_HPCC}.env 
    54 
    6 CMPF='ifort' 
    7 STR_CDOD='cdo/' 
    8 STR_LMPI='intel/impi/' 
    9 STR_NCDF='netcdf/' 
     5## Default settings 
     6##--------------------------------------------------- 
     7TRUS_ENVI=${TRUS_XIOS}/arch/arch-${TRUS_HPCC} 
    108 
    11 JOB_SUBM="llsubmit ${TRUS_DIR}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'" 
    12 JOB_STAT="llq      | grep \${JOB_ID}" 
    13 JOB_INFO="llq -x          \${JOB_ID}" 
    14 JOB_KILL="llcancel        \${JOB_ID}" 
     9TRUS_CDOD='cdo diffn' 
    1510 
    16 [ -z "${TRUS_NPRO}"   ] && TRUS_NPRO='16' 
    17 [ -z "$TIMEOUT" ] && TIMEOUT='10800' 
    1811 
    19 JOB_TIME="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'" 
    20 JOB_PMEM="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3,\$4}'" 
    21 JOB_VMEM="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f2 | awk '{print \$3,\$4}'" 
     12## Job commands 
     13##--------------------------------------------------- 
     14TRUS_JSUB="llsubmit ${TRUS_DIRE}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'" 
     15TRUS_JSTA="llq      | grep \${JOB_ID}" 
     16TRUS_JKIL="llcancel        \${JOB_ID}" 
    2217 
    23 CDOD='cdo diffn' 
     18TRUS_JTIM="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'" 
     19TRUS_JPME="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3     ,\$4 }'" 
     20TRUS_JVME="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f2 | awk '{print \$3     ,\$4 }'" 
     21 
     22TRUS_JINF="llq -x \${JOB_ID}" 
     23 
     24 
     25## Available softwares/librairies 
     26##--------------------------------------------------- 
     27TRUS_CMPF='ifort' 
     28TRUS_CDOR='cdo/' 
     29TRUS_MPIR='intel/impi/' 
     30TRUS_CDFR='netcdf/' 
     31 
     32 
     33## Personal settings 
     34##--------------------------------------------------- 
     35[ -z "${TRUS_NPRO}" ] && TRUS_NPRO='16' 
     36[ -z "${TRUS_TOUT}" ] && TRUS_TOUT='10800' 
     37 
     38PATH='/smplocal/pub/cdo/1.5.9/bin':$PATH 
     39#WRAPPER_LDFLAGS='-L/smplocal/pub/IdrMemMPI/1.4/lib -lidrmem' 
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/X64_CURIE.cfg

    r5788 r5799  
    22##--------------------------------------------------- 
    33 
    4 ARCH_ENV=${DIR_XIOS}/arch/arch-${TRUS_HPCC}.env 
    54 
    6 CMPF='ifort' 
    7 STR_CDOD='netcdf-utils-' 
    8 STR_LMPI='bullxmpi/' 
    9 STR_NCDF='netcdf-' 
     5## Default settings 
     6##--------------------------------------------------- 
     7TRUS_ENVI=${TRUS_XIOS}/arch/arch-${TRUS_HPCC} 
    108 
    11 JOB_SUBM="ccc_msub ${TRUS_DIR}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'" 
    12 JOB_STAT="ccc_mpp   | grep  \${JOB_ID}" 
    13 JOB_INFO="ccc_macct         \${JOB_ID}" 
    14 JOB_KILL="ccc_mdel          \${JOB_ID}" 
     9TRUS_CDOD='cdo diffn' 
    1510 
    16 [ -z "${TRUS_NPRO}"   ] && TRUS_NPRO='16' 
    17 [ -z "$TIMEOUT" ] && TIMEOUT='10800' 
    1811 
    19 JOB_TIME="ccc_macct \${JOB_ID} | awk '/opa/ {print \$9}'" 
    20 JOB_PMEM="ccc_macct \${JOB_ID} | awk " 
    21 JOB_VMEM="ccc_macct \${JOB_ID} | awk " 
     12## Job commands 
     13##--------------------------------------------------- 
     14TRUS_JSUB="ccc_msub ${TRUS_DIRE}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'" 
     15TRUS_JSTA="ccc_mpp  | grep  \${JOB_ID}" 
     16TRUS_JKIL="ccc_mdel         \${JOB_ID}" 
    2217 
    23 CDOD='cdo diffn' 
     18TRUS_JTIM="ccc_macct \${JOB_ID} | awk '/opa/ {print \$9}'" 
     19TRUS_JPME="ccc_macct \${JOB_ID} | awk                    " 
     20TRUS_JVME="ccc_macct \${JOB_ID} | awk                    " 
     21 
     22TRUS_JINF="ccc_macct \${JOB_ID}" 
     23 
     24 
     25## Available softwares/librairies 
     26##--------------------------------------------------- 
     27TRUS_CMPF='ifort' 
     28TRUS_CDOR='netcdf-utils-' 
     29TRUS_MPIR='bullxmpi/' 
     30TRUS_CDFR='netcdf-' 
     31 
     32 
     33## Personal settings 
     34##--------------------------------------------------- 
     35[ -z "${TRUS_NPRO}" ] && TRUS_NPRO='16' 
     36[ -z "${TRUS_TOUT}" ] && TRUS_TOUT='10800' 
     37 
     38PATH='/usr/local/netcdf-utils-4.3.3.1_hdf5/bin':$PATH 
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/arch_template.cfg

    r5788 r5799  
    1 ## HPC configuration template 
     1## (Super)Computer configuration template 
    22##--------------------------------------------------- 
    33 
    44## 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 
     5## Rules for completion: 
     6   ## Undefined variables (=)   are mandatory 
     7   ## Void         " "    (='') " " optional 
     8## Look into other  configuration file for examples 
     9## It will be called by its name without the extension 
    610 
    711 
    8 ## Mandatory  
     12## Default settings 
    913##--------------------------------------------------- 
    1014 
    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" 
     15## (Super)Computer environment (can be void if $PATH is already setted) 
     16   ## If `module` command is available, arch-${TRUS_HPCC}.env will be sourced. 
     17   ## If not (scheduled jobs by `cron`/`at` commands), it will be arch-${TRUS_HPCC}.path or any file given 
     18TRUS_ENVI=${TRUS_XIOS}/arch/arch-${TRUS_HPCC}     # ${TRUS_XIOS} is defined from user configuration file 
    1419 
    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}" 
     20## Number of compiling processes 
     21[ -z "${TRUS_NPRO}" ] && TRUS_NPRO=1 
    2222 
    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 
     23## Command to compare 2 netCDF restart files in argument (think to load software in $PATH by any way) 
     24TRUS_CDOD='cdo diffn' 
    2925 
    3026 
    31 ## Interest when monitoring HPC center 
     27## Job commands 
    3228##--------------------------------------------------- 
    3329 
    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'||... 
     30## Use with `eval ${JOB_....}` because they will certainly need to have job ID as argument ("\${JOB_ID}") 
     31## It will be taken on the fly from standard output returned at the submission of the job 
    4132 
    42 ## Fortran compiler version (use with `$COMPILER --version`) 
    43 CMPF=''             ## ex: 'ifort'||'gfortran'||'pgfortran'||... 
     33TRUS_JSUB=   ## Submit a job and get his ID in return (assigned to ${JOB_ID}). Use absolute path, 
     34                 ## ./batch folder has been created to contain your submission script but it won't be copied into ${TRUS_TEST} 
     35             ## ex: `llsubmit ${TRUS_DIRE}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'` 
     36TRUS_JSTA=      ## Test state of the submitted job (true -> pending/running or false -> completed/crashed) 
     37                    ## ex: "llq | grep \${JOB_ID}" 
     38TRUS_JKIL=      ## Kill the submitted job 
     39                    ## ex: "llcancel   \${JOB_ID}" 
     40 
     41## Computational performances of finished job 
     42TRUS_JTIM=''    ## Get CPU elapsed time 
     43                    ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'` 
     44TRUS_JPME=''       ## Get max physical memory 
     45                    ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3     ,\$4 }'` 
     46TRUS_JVME=''       ## Get " " virtual    ""   
     47 
     48## Get job informations to fill in a logfile during computation 
     49TRUS_JINF=''       ## ex: "llq -x \${JOB_ID}" 
    4450 
    4551 
    46 ## Optional (can be void if no alternative or need) 
     52## Available softwares/librairies 
    4753##--------------------------------------------------- 
    4854 
    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    ""   
     55## Fortran compiler version (use with `${TRUS_CMPF} --version`) 
     56TRUS_CMPF=''     ## ex: 'ifort'|'gfortran'|'pgfortran'|... 
     57 
     58## Software releases (string pattern to match just before the number in $PATH): 
     59TRUS_CDOR=''       ## CDO (Climate Data Operators) 
     60                      ## ex: 'cdo'|'nco'|... 
     61TRUS_MPIR=''       ## MPI    libraries             
     62                      ## ex: 'openmpi'|'mpich'|... 
     63TRUS_CDFR=''    ## NetCDF    " "                
     64                      ## ex: 'netcdf'|'netcdf-parallel'|... 
     65 
     66 
     67## Personal settings 
     68##--------------------------------------------------- 
     69 
     70## Timeout for computation (s) 
     71[ -z "${TRUS_TOUT}" ] && TRUS_TOUT= 
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/martin.cfg

    r5788 r5799  
    1 ## User configuration 
    2 ##------------------- 
     1## Installation for overall trusting tests on Curie Supercomputer 
     2##--------------------------------------------------- 
    33 
    4 DIR_WORK=$CCCWORKDIR 
    5 DIR_SCRA=$SCRATCHDIR/trusting 
    6 DIR_STOR=$CCCSTOREDIR/trusting_sav 
    74 
    8 if [ -z "${TRUS_WKCY}" ]; then branch='trunk'; else branch=${TRUS_WKCY}; fi 
    9 TRUS_WKCY=${DIR_WORK}/NEMO/$branch/NEMOGCM 
     5## Global Directories 
     6##--------------------------------------------------- 
     7TRUS_SCRA=$SCRATCHDIR/NEMO/trusting 
     8TRUS_STOR=$CCCSTOREDIR/NEMO/trusting_sav 
     9TRUS_FORC=$CCCWORKDIR/NEMO/FORC 
     10TRUS_XIOS=$CCCWORKDIR/XIOS/xios-1.0 
     11 
     12 
     13## Default settings 
     14##--------------------------------------------------- 
     15[ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 
     16TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 
     17 
    1018[ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' 
    11 TRUS_BHMK=${DIR_STOR}/${TRUS_REFE}/${TRUS_WKCY} 
    12 TEST_DIR=${DIR_SCRA}/${TRUS_REFE}/${TRUS_WKCY}/trusting_${DATE} 
     19TRUS_CONF=${TRUS_REFE}'_trust' 
    1320 
    14 DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 
    15  
    16 TRUS_TEST=${TRUS_REFE}'_trust' 
    17 [ ${TRUS_REFE} == 'ORCA2_LIM_PISCES'  ] && TRUS_TEST='O2LP_trust' 
    18 [ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TEST='O1L3P_trust' 
    19  
    20 KEYS_ADD=''; KEYS_DEL='' 
    21  
    22 if [ ${TRUS_REFE} == 'ORCA2_LIM' ]; then 
    23     TRUS_TEST='O2LA_trust' 
    24     KEYS_ADD='key_add key_agrif' && KEYS_DEL='key_del key_zdftmx' 
    25 fi 
    26  
    27 TRUS_FORC=${DIR_WORK}/NEMO/FORC 
    2821[ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' 
    2922[ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' 
    3023[ ${TRUS_REFE} == 'AMM12'             ] && TRUS_TARF='AMM12_v3.6.tar' 
    3124 
    32 [ -z "$TRUS_MAIL" ] && TRUS_MAIL='ntmlod@locean-ipsl.upmc.fr' 
     25TRUS_KEYA=''; TRUS_KEYD='' 
     26[ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' 
     27 
     28 
     29## Personal settings 
     30##--------------------------------------------------- 
     31[ -z "${TRUS_WORK}" ] && TRUS_WORK=$CCCWORKDIR/NEMO 
     32 
     33TRUS_TEST=${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/trusting_${DATE} 
     34TRUS_BHMK=${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} 
     35 
     36[ ${TRUS_REFE} == 'ORCA2_LIM_PISCES'  ] && TRUS_CONF='O2LP_trust' 
     37[ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_CONF='O1L3P_trust' 
     38[ ${TRUS_REFE} == 'ORCA2_LIM'         ] && TRUS_CONF='O2LA_trust' 
     39 
     40[ -z "${TRUS_MAIL}" ] && TRUS_MAIL='ntmlod@locean-ipsl.upmc.fr' 
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/romr005.cfg

    r5788 r5799  
    1 ## User configuration 
    2 ##------------------- 
     1## Installation for overall trusting tests on Ada Supercomputer 
     2##--------------------------------------------------- 
    33 
    4 DIR_WORK=$WORKDIR 
    5 DIR_SCRA=$WORKDIR/NEMO/trusting 
    6 DIR_STOR=$WORKDIR/NEMO/trusting_sav 
    74 
    8 if [ -z "${TRUS_WKCY}" ]; then branch='trunk'; else branch=${TRUS_WKCY}; fi 
    9 TRUS_WKCY=${DIR_WORK}/NEMO/$branch/NEMOGCM 
     5## Global Directories 
     6##--------------------------------------------------- 
     7TRUS_SCRA=$WORKDIR/NEMO/trusting 
     8TRUS_STOR=$WORKDIR/NEMO/trusting_sav 
     9TRUS_FORC=$WORKDIR/NEMO/FORC 
     10TRUS_XIOS=$WORKDIR/XIOS/xios-1.0 
     11 
     12 
     13## Default settings 
     14##--------------------------------------------------- 
     15[ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 
     16TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 
     17 
    1018[ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' 
    11 TRUS_BHMK=${DIR_STOR}/${TRUS_REFE}/$branch 
    12 TEST_DIR=${DIR_SCRA}/${TRUS_REFE}/$branch/trusting_${DATE} 
     19TRUS_CONF=${TRUS_REFE}'_trust' 
    1320 
    14 DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 
    15  
    16 TRUS_TEST=${TRUS_REFE}'_trust' 
    17 [ ${TRUS_REFE} == 'ORCA2_LIM_PISCES'  ] && TRUS_TEST='O2LP_trust' 
    18 [ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TEST='O1L3P_trust' 
    19  
    20 KEYS_ADD=''; KEYS_DEL='' 
    21  
    22 if [ ${TRUS_REFE} == 'ORCA2_LIM' ]; then 
    23     TRUS_TEST='O2LA_trust' 
    24     KEYS_ADD='key_add key_agrif' && KEYS_DEL='key_del key_zdftmx' 
    25 fi 
    26  
    27 TRUS_FORC=${DIR_WORK}/NEMO/FORC 
    2821[ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' 
    2922[ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' 
    3023[ ${TRUS_REFE} == 'AMM12'             ] && TRUS_TARF='AMM12_v3.6.tar' 
    3124 
    32 [ -z "$TRUS_MAIL" ] && TRUS_MAIL='ntmlod@locean-ipsl.upmc.fr' 
     25TRUS_KEYA=''; TRUS_KEYD='' 
     26[ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' 
     27 
     28 
     29## Personal settings 
     30##--------------------------------------------------- 
     31[ -z "${TRUS_WORK}" ] && TRUS_WORK=$WORKDIR/NEMO 
     32 
     33TRUS_TEST=${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/trusting_${DATE} 
     34TRUS_BHMK=${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} 
     35 
     36[ ${TRUS_REFE} == 'ORCA2_LIM_PISCES'  ] && TRUS_CONF='O2LP_trust' 
     37[ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_CONF='O1L3P_trust' 
     38[ ${TRUS_REFE} == 'ORCA2_LIM'         ] && TRUS_CONF='O2LA_trust' 
     39 
     40[ -z "${TRUS_MAIL}" ] && TRUS_MAIL='ntmlod@locean-ipsl.upmc.fr' 
  • branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/user_template.cfg

    r5788 r5799  
    1 ## User configuration 
     1## User configuration template 
    22##--------------------------------------------------- 
    33 
    44## Copy to root (./config) and rename it by keeping '.cfg' extension, then fill in according to your installation 
    5 ## Will be called by its name without extension 
     5## Rules for completion: 
     6   ## Undefined variables (=)   are mandatory 
     7   ## Void         " "    (='') " " optional 
     8## Look into other configuration file for examples 
     9## It will be called by its name without extension 
    610 
    711 
    8 ## Mandatory 
     12## Global directories 
     13##--------------------------------------------------- 
     14TRUS_SCRA=     ## Computation 
     15TRUS_STOR=     ## Backup 
     16TRUS_FORC=     ## Location of forcing archive to extract (combined use with ${TRUS_TARF}) or 
     17               ##    ""    "" all inputs files to copy into ${TRUS_TEST} 
     18TRUS_XIOS=     ## XIOS installation 
     19 
     20 
     21## Default settings 
    922##--------------------------------------------------- 
    1023 
    11 ## Few settings can be changed from directly from command line to reduce the creation of user configuration file 
     24## These settings can be changed directly from command line to reduce number of user configuration file 
    1225## See `./trusting.sh [-h|--help]` 
    1326 
    14 ## Directories path 
    15 TRUS_BHMK=''           ## Benchmark folder where target files for comparison have been stored 
    16                          ## Inputs  (all) : CPP_*, namelist_*, *.xml et inputs_file.txt (formed by first test) 
    17                          ## Outputs (any) : *.stat, ocean.output, restarts 
    18 TEST_DIR=''       ## Testing folder for computation 
    19                          ## ex: ".../trusting_${DATE}" 
    20 TRUS_WKCY=''          ## Working copy of branch test 
    21                          ## ex: ".../NEMOGCM" 
    22 DIR_XIOS=''       ## XIOS installation 
     27## SVN branch name 
     28[ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 
    2329 
    24 ## NEMO configurations 
    25 TRUS_REFE=''          ## Reference configuration to test 
    26 TRUS_TEST=''          ## Testing configuration name 
     30## Minimal content for code checkout/update 
     31TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 
    2732 
    28 ## Forcing files 
    29 TRUS_FORC=''          ## Directory with forcing archive to extract (combined use with ${TRUS_TARF}) or 
    30                       ##    " "     ""  all inputs files to copy into ${TEST_DIR} 
     33## Reference configuration to test 
     34[ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' 
     35 
     36## Forcing archive, let void if not need to untar inside ${TRUS_FORC} 
     37[ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' 
     38[ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' 
     39[ ${TRUS_REFE} == 'AMM12'             ] && TRUS_TARF='AMM12_v3.6.tar' 
     40 
     41## Testing configuration name 
     42TRUS_CONF=${TRUS_REFE}'_trust' 
     43 
     44## CPP keys to add or remove from reference configuration 
     45TRUS_KEYA=''; TRUS_KEYD='' 
     46[ ${TRUS_REFE} == 'ORCA2_LIM' ] && TRUS_KEYA='key_add key_agrif' && TRUS_KEYD='key_del key_zdftmx' 
    3147 
    3248 
    33 ## Possible use  
     49## Personal settings 
    3450##--------------------------------------------------- 
    3551 
    36 ## Archive inputs name, let void if not requested 
    37 TRUS_TARF='' 
     52## Folder for testing branch (intallation & compilation of testing configuration) 
     53[ -z "${TRUS_WORK}" ] && TRUS_WORK= 
    3854 
    39 ## CPP keys to add or remove from reference configuration 
    40 KEYS_ADD='' 
    41 KEYS_DEL='' 
     55## Testing folder for computation 
     56TRUS_TEST=     ## ${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/${DATE} recommended 
    4257 
     58## Benchmark folder where target files for comparison have been stored, ie: 
     59   ## Inputs  (all) : CPP_*, namelist_*, *.xml et inputs_list.txt (created by first test) 
     60   ## Outputs (any) : *.stat, ocean.output, restarts 
     61TRUS_BHMK=     ## ${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} recommended 
    4362 
    44 ## Optional (can be void if no alternative or need) 
    45 ##--------------------------------------------------- 
    46  
    47 ## Mailing list to notify of a failure (-p|--prod required) 
    48 TRUS_MAIL='' 
     63## Mailing list to notify on failure (-p|--prod option required) 
     64[ -z "${TRUS_MAIL}" ] && TRUS_MAIL='' 
Note: See TracChangeset for help on using the changeset viewer.