Changeset 12133
- Timestamp:
- 2019-12-10T11:42:21+01:00 (4 years ago)
- Location:
- utils/CI/sette
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette/param.cfg
r11161 r12133 1 1 # Computer/user dependant variable needed to run sette 2 # 3 # Compiler among those in NEMOGCM/ARCH 4 COMPILER=X64_MOBILIS 2 5 # 3 6 # REFERENCE run.stat tracer.stat you want to compare with 4 7 # (if no change to the default, no check on result change will be done) 5 NEMO_VALIDATION_REF=/ path/to/reference/sette/results6 NEMO_REV_REF= 00008 NEMO_VALIDATION_REF=/home/acc/NEMO/IMMERSE/trunk/sette/NEMO_VALIDATION 9 NEMO_REV_REF=20190314 7 10 # 8 11 # ------------------------------------------------------------------------------------------ … … 13 16 # otherwise, you need to update the default initialisation 14 17 # 15 # ADVISE: setup the default value in your startup file if it doesn't fit your need for at least 16 # SETTE_COMPILER, SETTE_BATCH_CMD, SETTE_BATCH_STAT, SETTE_BATCH_NAME, SETTE_FORCING_DIR, 17 # 18 # ------------------------------------------------------------------------------------------ 19 # COMPILER setting 20 # Compiler among those in NEMOGCM/ARCH 21 COMPILER=${SETTE_COMPILER:-XXXXXXXX} 22 # ------------------------------------------------------------------------------------------ 18 # ADVISE: setup the default value in your startup file if it doesn't fit your need. 23 19 # 24 20 # BATCH command 25 21 # command to submit a job 26 BATCH_CMD= ${SETTE_BATCH_CMD:-llsubmit}22 BATCH_CMD="sbatch" 27 23 # command to check job status 28 BATCH_STAT= ${SETTE_BATCH_STAT:-llq}24 BATCH_STAT="squeue" 29 25 # generic sette job name (as it appears with $BATCH_STAT command) 30 26 BATCH_NAME=${SETTE_BATCH_NAME:-sette} 31 27 # ------------------------------------------------------------------------------------------ 32 28 # 33 # FILES STORING paths 29 # 30 # FILES STORING 34 31 # forcing files storing 35 FORCING_DIR= ${SETTE_FORCING_DIR:-$WORKDIR/FORCING}32 FORCING_DIR=/hpcdata/scratch/omfman/shared/V3.7_INPUTS 36 33 # validation files storing 37 NEMO_VALIDATION_DIR= ${SETTE_NEMO_VALIDATION_DIR:-$MAIN_DIR}/NEMO_VALIDATION34 NEMO_VALIDATION_DIR=/home/acc/NEMO/IMMERSE/dev_r11613_ENHANCE-04_namelists_as_internalfiles/sette/NEMO_VALIDATION 38 35 # input files storing (namelist, iodef ...) (DO NOT CHANGE) 39 36 INPUT_DIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 … … 50 47 # "no" to run in SPMD (attached) mode without separate IO servers 51 48 # MPMD 52 USING_MPMD=${SETTE_MPMD:-" no"}49 USING_MPMD=${SETTE_MPMD:-"yes"} 53 50 # generique batch scrip prefix name if MPMD set to true/false 54 JOB_PREFIX_MPMD=${SETTE_JOB_PREFIX_MPMD:-batch -mpmd}51 JOB_PREFIX_MPMD=${SETTE_JOB_PREFIX_MPMD:-batch} 55 52 JOB_PREFIX_NOMPMD=${SETTE_JOB_PREFIX_NOMPMD:-batch} 56 53 # ------------------------------------------------------------------------------------------ -
utils/CI/sette/sette.sh
r11161 r12133 57 57 while [[ $NRUN -ne 0 && $nit -le 1080 ]]; do 58 58 nit=$((nit+1)) 59 NRUN=$( ${BATCH_STAT} | grep nemo_sette| wc -l )59 NRUN=$( ${BATCH_STAT} | grep run_job | wc -l ) 60 60 if [[ $NRUN -ne 0 ]]; then 61 printf "%-3d %s\r" $NRUN ' nemo_setterun still in queue or running ...';61 printf "%-3d %s\r" $NRUN 'run_job run still in queue or running ...'; 62 62 else 63 63 printf "%-50s\n" " "
Note: See TracChangeset
for help on using the changeset viewer.