- Timestamp:
- 2015-11-26T16:55:09+01:00 (8 years ago)
- Location:
- branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/X64_ADA.cfg
r5799 r5929 9 9 TRUS_CDOD='cdo diffn' 10 10 11 12 ## Job commands 13 ##--------------------------------------------------- 14 TRUS_JSUB="llsubmit ${TRUS_DIRE}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'" 15 TRUS_JSTA="llq | grep \${JOB_ID}" 16 TRUS_JKIL="llcancel \${JOB_ID}" 17 18 TRUS_JTIM="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'" 19 TRUS_JPME="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3 ,\$4 }'" 20 TRUS_JVME="grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f2 | awk '{print \$3 ,\$4 }'" 21 22 TRUS_JINF="llq -x \${JOB_ID}" 11 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO='16' 12 [ -z "${TRUS_TOUT}" ] && TRUS_TOUT='10800' 23 13 24 14 25 ## Available softwares/librairies15 ## (Super)computer environment 26 16 ##--------------------------------------------------- 27 TRUS_CMPF='ifort' 17 TRUS_JSPT=${TRUS_HPCC}.sh 18 TRUS_JSUB="llsubmit ${TRUS_JSPT} | grep -oe '\<[0-9]*\>'" 19 TRUS_JINF="llq -x \${TRUS_JIDN}" 20 TRUS_JSTA="llq | grep \${TRUS_JIDN}" 21 TRUS_JKIL="llcancel \${TRUS_JIDN}" 22 23 TRUS_JTIM="grep IdrisMemMPI NEMO_CI_\${TRUS_JIDN} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'" 24 TRUS_JPME="grep IdrisMemMPI NEMO_CI_\${TRUS_JIDN} | cut -d, -f3 | awk '{print \$3 ,\$4 }'" 25 TRUS_JVME="grep IdrisMemMPI NEMO_CI_\${TRUS_JIDN} | cut -d, -f2 | awk '{print \$3 ,\$4 }'" 26 27 TRUS_CMPV='ifort' 28 28 TRUS_CDOR='cdo/' 29 29 TRUS_MPIR='intel/impi/' 30 30 TRUS_CDFR='netcdf/' 31 31 32 33 ## Personal settings34 ##---------------------------------------------------35 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO='16'36 [ -z "${TRUS_TOUT}" ] && TRUS_TOUT='10800'37 38 32 PATH='/smplocal/pub/cdo/1.5.9/bin':$PATH 39 33 #WRAPPER_LDFLAGS='-L/smplocal/pub/IdrMemMPI/1.4/lib -lidrmem' -
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/X64_CURIE.cfg
r5799 r5929 9 9 TRUS_CDOD='cdo diffn' 10 10 11 12 ## Job commands 13 ##--------------------------------------------------- 14 TRUS_JSUB="ccc_msub ${TRUS_DIRE}/batch/${TRUS_HPCC}.sh | grep -oe '\<[0-9]*\>'" 15 TRUS_JSTA="ccc_mpp | grep \${JOB_ID}" 16 TRUS_JKIL="ccc_mdel \${JOB_ID}" 17 18 TRUS_JTIM="ccc_macct \${JOB_ID} | awk '/opa/ {print \$9}'" 19 TRUS_JPME="ccc_macct \${JOB_ID} | awk " 20 TRUS_JVME="ccc_macct \${JOB_ID} | awk " 21 22 TRUS_JINF="ccc_macct \${JOB_ID}" 11 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO='16' 12 [ -z "${TRUS_TOUT}" ] && TRUS_TOUT='10800' 23 13 24 14 25 ## Available softwares/librairies15 ## (Super)computer environment 26 16 ##--------------------------------------------------- 27 TRUS_CMPF='ifort' 17 TRUS_JSPT=${TRUS_HPCC}.sh 18 TRUS_JSUB="ccc_msub ${TRUS_JSPT} | grep -oe '\<[0-9]*\>'" 19 TRUS_JINF="ccc_macct \${TRUS_JIDN}" 20 TRUS_JSTA="ccc_mpp | grep \${TRUS_JIDN}" 21 TRUS_JKIL="ccc_mdel \${TRUS_JIDN}" 22 23 TRUS_JTIM="ccc_macct \${TRUS_JIDN} | grep \"\${TRUS_JIDN}.0 *opa\" | awk '{print \$9 }'" 24 TRUS_JPME="ccc_macct \${TRUS_JIDN} | grep -m1 \"\${TRUS_JIDN}.0\" | awk '{printf \"%d Mo\n\", \$2; exit}'" 25 TRUS_JVME="ccc_macct \${TRUS_JIDN} | grep -m1 \"\${TRUS_JIDN}.0\" | awk '{printf \"%d Go\n\", \$7; exit}'" 26 27 TRUS_CMPV='ifort' 28 28 TRUS_CDOR='netcdf-utils-' 29 29 TRUS_MPIR='bullxmpi/' 30 30 TRUS_CDFR='netcdf-' 31 31 32 33 ## Personal settings34 ##---------------------------------------------------35 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO='16'36 [ -z "${TRUS_TOUT}" ] && TRUS_TOUT='10800'37 38 32 PATH='/usr/local/netcdf-utils-4.3.3.1_hdf5/bin':$PATH -
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/arch_template.cfg
r5799 r5929 2 2 ##--------------------------------------------------- 3 3 4 ## Copy to root (./config) and rename it by keeping '.cfg' extension, then fill in according to your (super)computer 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 4 ## Copy to root, rename it and then fill in according to your (super)computer environment 5 ## Rules for completion: undefined variables (=) are mandatory & void variables (='') are optional 6 ## Look into other configuration file for examples 10 7 11 8 12 9 ## Default settings 13 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 sourced 14 ## If not (scheduled jobs), it will be ${TRUS_ENVI}.path or finally ${TRUS_ENVI} 14 15 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 18 TRUS_ENVI=${TRUS_XIOS}/arch/arch-${TRUS_HPCC} # ${TRUS_XIOS} is defined from user configuration file 19 20 ## Number of compiling processes 21 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO=1 22 23 ## Command to compare 2 netCDF restart files in argument (think to load software in $PATH by any way) 16 ## Comparison command with restart files as argument (think to append $PATH by any way) 24 17 TRUS_CDOD='cdo diffn' 25 18 26 27 ## Job commands 28 ##--------------------------------------------------- 29 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 32 33 TRUS_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]*\>'` 36 TRUS_JSTA= ## Test state of the submitted job (true -> pending/running or false -> completed/crashed) 37 ## ex: "llq | grep \${JOB_ID}" 38 TRUS_JKIL= ## Kill the submitted job 39 ## ex: "llcancel \${JOB_ID}" 40 41 ## Computational performances of finished job 42 TRUS_JTIM='' ## Get CPU elapsed time 43 ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f1 | awk '{print \$(NF-1),\$NF}'` 44 TRUS_JPME='' ## Get max physical memory 45 ## ex: `grep IdrisMemMPI NEMO_CI_\${JOB_ID} | cut -d, -f3 | awk '{print \$3 ,\$4 }'` 46 TRUS_JVME='' ## Get " " virtual "" 47 48 ## Get job informations to fill in a logfile during computation 49 TRUS_JINF='' ## ex: "llq -x \${JOB_ID}" 19 [ -z "${TRUS_NPRO}" ] && TRUS_NPRO= ## Number of compiling processes 20 [ -z "${TRUS_TOUT}" ] && TRUS_TOUT= ## Timeout for computation (s) 50 21 51 22 52 ## Available softwares/librairies23 ## (Super)computer environment 53 24 ##--------------------------------------------------- 25 ## Job commands will almost always be used with `eval ${TRUS_JXXX}` because 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 folder 28 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 job 33 ## ex: "llcancel \${TRUS_JIDN}" 54 34 55 ## Fortran compiler version (use with `${TRUS_CMPF} --version`) 56 TRUS_CMPF='' ## ex: 'ifort'|'gfortran'|'pgfortran'|... 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 }" 57 39 58 ## Software releases (string pattern to match just before the number in $PATH): 59 TRUS_CDOR='' ## CDO (Climate Data Operators) 60 ## ex: 'cdo'|'nco'|... 61 TRUS_MPIR='' ## MPI libraries 62 ## ex: 'openmpi'|'mpich'|... 63 TRUS_CDFR='' ## NetCDF " " 64 ## ex: 'netcdf'|'netcdf-parallel'|... 40 TRUS_JINF='' ## Get job informations to fill in a logfile during computation 41 ## ex: "llq -x \${TRUS_JIDN}" 65 42 43 ## Compiler (use with `${TRUS_CMPV} --version`) 44 TRUS_CMPV='' ## ex: 'ifort'|'gfortran'|'pgfortran'|... 66 45 67 ## Personal settings68 ## ---------------------------------------------------69 70 ## Timeout for computation (s) 71 [ -z "${TRUS_TOUT}" ] && TRUS_TOUT= 46 ## Software/libraries (string pattern to match just before the release number in $PATH) 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-' -
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/martin.cfg
r5799 r5929 1 ## Installation for overalltrusting tests on Curie Supercomputer1 ## Installation for trusting tests on Curie Supercomputer 2 2 ##--------------------------------------------------- 3 4 5 ## Global Directories6 ##---------------------------------------------------7 TRUS_SCRA=$SCRATCHDIR/NEMO/trusting8 TRUS_STOR=$CCCSTOREDIR/NEMO/trusting_sav9 TRUS_FORC=$CCCWORKDIR/NEMO/FORC10 TRUS_XIOS=$CCCWORKDIR/XIOS/xios-1.011 3 12 4 … … 14 6 ##--------------------------------------------------- 15 7 [ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 16 TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 8 TRUS_CKOT=( 'ARCH CONFIG NEMO \ 9 EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL \ 10 TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO ' ) 17 11 18 12 [ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' 19 13 TRUS_CONF=${TRUS_REFE}'_trust' 20 14 21 [ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar'15 #[ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' 22 16 [ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' 23 17 [ ${TRUS_REFE} == 'AMM12' ] && TRUS_TARF='AMM12_v3.6.tar' … … 27 21 28 22 29 ## Personal settings23 ## User environment 30 24 ##--------------------------------------------------- 31 [ -z "${TRUS_WORK}" ] && TRUS_WORK=$CCCWORKDIR/NEMO 32 33 TRUS_TEST=${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/trusting_${DATE} 34 TRUS_BHMK=${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} 25 TRUS_WORK=$CCCWORKDIR/NEMO 26 TRUS_SCRA=$SCRATCHDIR/NEMO/trusting/${TRUS_REFE}/${TRUS_BRAN}/${DATE} 27 TRUS_STOR=$CCCSTOREDIR/NEMO/trusting_sav/${TRUS_REFE}/${TRUS_BRAN} 28 TRUS_FORC=$CCCWORKDIR/NEMO/FORC_tmp 29 TRUS_XIOS=$CCCWORKDIR/XIOS/xios-1.0 35 30 36 31 [ ${TRUS_REFE} == 'ORCA2_LIM_PISCES' ] && TRUS_CONF='O2LP_trust' -
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/romr005.cfg
r5799 r5929 1 ## Installation for overalltrusting tests on Ada Supercomputer1 ## Installation for trusting tests on Ada Supercomputer 2 2 ##--------------------------------------------------- 3 4 5 ## Global Directories6 ##---------------------------------------------------7 TRUS_SCRA=$WORKDIR/NEMO/trusting8 TRUS_STOR=$WORKDIR/NEMO/trusting_sav9 TRUS_FORC=$WORKDIR/NEMO/FORC10 TRUS_XIOS=$WORKDIR/XIOS/xios-1.011 3 12 4 … … 14 6 ##--------------------------------------------------- 15 7 [ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 16 TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 8 TRUS_CKOT=( 'ARCH CONFIG NEMO \ 9 EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL \ 10 TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO ' ) 17 11 18 12 [ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' … … 27 21 28 22 29 ## Personal settings23 ## User environment 30 24 ##--------------------------------------------------- 31 [ -z "${TRUS_WORK}" ] && TRUS_WORK=$WORKDIR/NEMO 32 33 TRUS_TEST=${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/trusting_${DATE} 34 TRUS_BHMK=${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} 25 TRUS_WORK=$WORKDIR/NEMO 26 TRUS_SCRA=$WORKDIR/NEMO/trusting/${TRUS_REFE}/${TRUS_BRAN}/${DATE} 27 TRUS_STOR=$WORKDIR/NEMO/trusting_sav/${TRUS_REFE}/${TRUS_BRAN} 28 TRUS_FORC=$WORKDIR/NEMO/FORC 29 TRUS_XIOS=$WORKDIR/XIOS/xios-1.0 35 30 36 31 [ ${TRUS_REFE} == 'ORCA2_LIM_PISCES' ] && TRUS_CONF='O2LP_trust' -
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/config/user_template.cfg
r5799 r5929 2 2 ##--------------------------------------------------- 3 3 4 ## Copy to root (./config) and rename it by keeping '.cfg' extension, then fill in according to your installation 5 ## Rules for completion: 6 ## Undefined variables (=) are mandatory 7 ## Void " " (='') " " optional 4 ## Copy to root, rename it and then fill in according to your user environment 5 ## Rules for completion: undefined variables (=) are mandatory & void variables (='') are optional 8 6 ## Look into other configuration file for examples 9 ## It will be called by its name without extension10 11 12 ## Global directories13 ##---------------------------------------------------14 TRUS_SCRA= ## Computation15 TRUS_STOR= ## Backup16 TRUS_FORC= ## Location of forcing archive to extract (combined use with ${TRUS_TARF}) or17 ## "" "" all inputs files to copy into ${TRUS_TEST}18 TRUS_XIOS= ## XIOS installation19 7 20 8 21 9 ## Default settings 22 10 ##--------------------------------------------------- 23 24 11 ## These settings can be changed directly from command line to reduce number of user configuration file 25 12 ## See `./trusting.sh [-h|--help]` 26 13 27 ## SVN branch name 14 ## SVN branch name ('trunk', 'nemo_v3_6_STABLE', development branches) 28 15 [ -z "${TRUS_BRAN}" ] && TRUS_BRAN='trunk' 29 16 30 17 ## Minimal content for code checkout/update 31 TRUS_CKOT=( 'ARCH CONFIG NEMO EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO' ) 18 TRUS_CKOT=( 'ARCH CONFIG NEMO \ 19 EXTERNAL/AGRIF EXTERNAL/fcm EXTERNAL/IOIPSL \ 20 TOOLS/COMPILE TOOLS/maketools TOOLS/REBUILD_NEMO ' ) 32 21 33 ## Reference configuration to test34 [ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' 22 [ -z "${TRUS_REFE}" ] && TRUS_REFE='ORCA2_LIM_PISCES' ## Reference configuration to test 23 TRUS_CONF=${TRUS_REFE}'_trust' ## Testing configuration name 35 24 36 ## Forcing archive, let void if not need to untarinside ${TRUS_FORC}25 ## Forcing archive, let void if just need to copy the files inside ${TRUS_FORC} 37 26 [ -z "${TRUS_TARF}" ] && TRUS_TARF='ORCA2_LIM_nemo_v3.6.tar' 38 27 [ ${TRUS_REFE} == 'ORCA1_LIM3_PISCES' ] && TRUS_TARF='INPUTS_ORCA1_LIM3_PISCES_V6.tar' 39 28 [ ${TRUS_REFE} == 'AMM12' ] && TRUS_TARF='AMM12_v3.6.tar' 40 41 ## Testing configuration name42 TRUS_CONF=${TRUS_REFE}'_trust'43 29 44 30 ## CPP keys to add or remove from reference configuration … … 47 33 48 34 49 ## Personal settings35 ## User environment 50 36 ##--------------------------------------------------- 51 52 ## Folder for testing branch (intallation & compilation of testing configuration) 53 [ -z "${TRUS_WORK}" ] && TRUS_WORK= 54 55 ## Testing folder for computation 56 TRUS_TEST= ## ${TRUS_SCRA}/${TRUS_REFE}/${TRUS_BRAN}/${DATE} recommended 57 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 61 TRUS_BHMK= ## ${TRUS_STOR}/${TRUS_REFE}/${TRUS_BRAN} recommended 37 TRUS_WORK= ## Testing folder for compilation (branches checkouts & configuration compilation) 38 TRUS_SCRA= ## " " "" " " computation 39 ## ...../${TRUS_REFE}/${TRUS_BRAN}/${DATE} recommended 40 TRUS_STOR= ## Benchmark folder where target files for comparison have been stored, ie: 41 ## Inputs (all) : CPP_*, namelist_*, *.xml et inputs_list.txt (created by initial test) 42 ## Outputs (any) : *.stat, ocean.output, restarts 43 ## ...../${TRUS_REFE}/${TRUS_BRAN} recommended (same layout as ${TRUS_SCRA}) 44 TRUS_FORC= ## Path to the forcing archive to extract (usage combined with ${TRUS_TARF}) or 45 ## "" all inputs files who will be copied into ${TRUS_SCRA} 46 TRUS_XIOS= ## XIOS installation 62 47 63 48 ## Mailing list to notify on failure (-p|--prod option required)
Note: See TracChangeset
for help on using the changeset viewer.