Changeset 5761 for branches/2015/dev_r5092_CNRS_SETTE
- Timestamp:
- 2015-09-24T17:34:59+02:00 (9 years ago)
- Location:
- branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/config/arch_template.cfg
r5691 r5761 1 # Copy to ./${NEMO_HPCC}.cfg, fill in according to your installation1 ## Copy to ./${NEMO_HPCC}.cfg, fill in according to your machine 2 2 3 # Super-computer configuration3 ## Super-computer configuration 4 4 5 # Available softwares:6 CDO='' # CDO (Climate Data Operators) (string appears in $LOADEDMODULES or $PATH)7 # ex: 'cdo'/'nco'/...8 COMPILER='' # Fortran compiler (use with `$COMPILER --version`)9 # ex: 'ifort'/'gfortran'/'pgfortran'/...10 MPI='' # MPI libraries ( " " "" "" "" "" " " )11 # ex: 'opempi'/'mpich'/...12 NETCDF='' # NetCDF " " ( " " "" "" "" "" " " )13 # ex: 'netcdf42'/'netcdf-parallel'/...14 5 15 # Job commands (works with job ID): 16 JOB_SUBM='' # Submit a job && get his ID in return 17 # ex: "cmd ${NEMO_TRUS}/batch/${NEMO_HPCC}.sh | awk '{print \$NF}'" 18 JOB_LIST='' # List all submitted jobs (use with `grep` to determine if a job is completed or not) 19 JOB_INFO='' # Get job informations (" " "" job ID as argument) 20 JOB_TIME='' # Get real CPU time computation with `eval "${JOB_INFO} ${JOB_ID} | ${JOB_TIME}"` 21 # ex: "awk '/opa/ END{print \$9}'" 22 JOB_DELE='' # Kill submitted job (" " "" " " "" "" "" ) 6 ## Architecture environment 7 ARCH_ENV='' ## (be careful with compliance with XIOS) 8 ## ex: "${DIR_XIOS}/arch/arch-${NEMO_HPCC}.env" 23 9 24 # Compiling & computing settings25 [ -z "$NPROC" ] && NPROC=1 # Processing units for compilation26 [ -z "${TIME_LIMI}" ] && TIME_LIMI='' # Utmost time in seconds to wait for completed job27 10 28 # Architecture environment (be careful with compliance with XIOS) 29 ARCH_ENV='' # ${DIR_XIOS}/arch/arch-${NEMO_HPCC}.env 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'/... 20 21 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) 30 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 -
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/config/user_template.cfg
r5685 r5761 1 ## Copy to ./${ CFG_USER}.cfg, fill in according to your installation1 ## Copy to ./${NEMO_USER}.cfg, fill in according to your installation 2 2 3 3 ## User configuration … … 12 12 13 13 ## NEMO overall installation: 14 [ -z "${NEMO_BRAN}" ] && NEMO_BRAN='' ## NEMO SVN branchto test15 16 NEMO_HOME='' 17 14 [ -z "${NEMO_BRAN}" ] && NEMO_BRAN='' ## NEMO SVN branch to test 15 ## ex: 'trunk', 'nemo_v3_6_STABLE', ... 16 NEMO_HOME='' ## NEMOGCM directory (includes ./ARCH, ./CONFIG, ...) 17 ## ex: "${DIR_WORK}/NEMO/${NEMO_BRAN}/NEMOGCM", ... 18 18 ## ${NEMO_BRAN} must be consistent with URL branch that have been checkout by SVN to build ${NEMO_HOME} 19 19 20 20 21 ### Reference/'Trusting' configuration 21 [ -z "${REFE_CONF}" ] && REFE_CONF='' 22 23 TEST_CONF= ${REFE_CONF}'_trust'## Testing configuration name24 KEYS_ADD=''; KEYS_DEL='' 25 ## ex: "key_mpp_rep key_tide", ...22 [ -z "${REFE_CONF}" ] && REFE_CONF='' ## Reference configuration to test 23 ## ex: 'ORCA2_LIM_PISCES', 'GYRE', ... 24 TEST_CONF='' ## Testing configuration name 25 KEYS_ADD=''; KEYS_DEL='' ## CPP keys to add or remove from reference configuration 26 ## ex: 'key_mpp_rep key_tide', ... 26 27 #if [ ${REFE_CONF} == '' ]; then 27 28 # TEST_CONF='' 28 29 # KEYS_ADD='key_add ...' && KEYS_DEL='key_del ...' 30 #elif ... 31 #else ... 29 32 #fi 30 33 34 31 35 ### Inputs 32 NEMO_FORC='' 33 34 [ -z "${NEMO_TARF}" ] && NEMO_TARF='' 35 36 NEMO_FORC='' ## Directory with forcing archive from DODS/ESGF server to extract or 37 ## " " "" all inputs files to copy into ${TEST_DIR} 38 [ -z "${NEMO_TARF}" ] && NEMO_TARF='' ## Archive inputs name, let blank if not requested 39 ## ex: 'ORCA2_LIM_nemo_v3.6.tar', 'AMM12_v3.6.tar', ... 36 40 #[ ${REFE_CONF} == '' ] && NEMO_TARF='' 37 41 38 42 39 43 ## Comparative directories path: 40 REFE_DIR='' 41 42 TEST_DIR='' 43 44 REFE_DIR='' ## "Standard" folder where benchmark result files have been stored for comparison 45 ## ex: "${DIR_STOR}/${REFE_CONF}/${NEMO_BRAN}" 46 TEST_DIR='' ## Testing folder for computation 47 ## ex: "${DIR_SCRA}/${REFE_CONF}/${NEMO_BRAN}/trusting_${DATE}" 44 48 45 49 46 50 ## External softs directories: 47 DIR_XIOS='' 48 #DIR_OASI='' 51 DIR_XIOS='' ## ex: '${DIR_WORK}/XIOS/xios-1.0' 52 #DIR_OASI='' ## ex: '${DIR_WORK}/OASIS' 49 53 50 54 51 ## Mailing list to inform of a failure (-p|--publish optionrequired)55 ## Mailing list to inform of a failure (-p|--publish required) 52 56 [ -z "$EMAIL"] && EMAIL='' -
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting.sh
r5701 r5761 58 58 59 59 else 60 cat ${NEMO_TRUS}/${ help_file}60 cat ${NEMO_TRUS}/${trus_help} 61 61 exit 1 62 62 fi -
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TRUST/trusting_help.txt
r5671 r5761 1 ---------------------------------------------------------------------------- 2 Usage: trusting [-h] [-d] [-p] configuration 1 Usage: ./trusting.sh -m $ARCH -u $USER [OPTIONS] 2 Launch trusting test on $ARCH machine from $USER installation 3 Example: './trusting.sh -m X64_CURIE -u romr005 -p -b nemo_v3_6_STABLE' 3 4 4 # ($ARCH & ./cfg/$ARCH.cfg file and at least arch-$ARCH.fcm file in NEMO ARCH dir are mandatory) 5 Mandatory (default settings): 6 Files to source in ./config ($ARCH.cfg & $USER.cfg) 7 -m,--machine Architecture settings (environment configuration) 8 -u,--user User "" (NEMO directories & settings) 5 9 6 Options:7 -h, --help, -help8 Print this manual9 -d, --debug10 set -v 11 -p, --publish 12 Publish on dods server 10 SVN working copy: 11 -b,--branch SVN branch to test (trunk|nemo_v3_6_STABLE|... 12 -v,--version Action on working copy ('svn status' by default) 13 '{'YYYY-MM-DD'}' Update to revision available at this date 14 [0-9]* "" "" revision number 15 HEAD|up|update "" "" last revision 16 st|status Show differences with repository 13 17 14 Examples:" 15 $ trusting -p IPSLCM5A 18 NEMO Configuration: 19 -a,--archive Forcing input files archive to extract downloaded from ESGF/DODS server 20 -n,--newconf Testing configuration created in ./CONFIG 21 -r,--refconf Reference " " 16 22 17 Notes: 18 - To reset the trusting dashboard, type manually : 19 $ rm -rf $CCCWORKDIR/trusting/configuration 20 $ rm -rf $CCCWORKDIR/../../dods/public/${LOGNAME}/trusting/configuration 21 - Output will be saved at : 22 $ ls $CCCSTOREDIR/IGCM_OUT 23 Compiling & computation: 24 -j,--job Number of processes for compiling 25 -t,--time Timeout for computation (s) 26 27 Output control: 28 -d,--debug Verbose output for debugging purpose (`set -vx`) 29 -e,--email Email trusting digest report to following addresses only on failure 30 -h,--help Print this help & exit 31 -p,--publish Share trusting result
Note: See TracChangeset
for help on using the changeset viewer.