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