- Timestamp:
- 2021-05-17T21:03:23+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette_ticket2673/sette_rpt.sh
r14870 r14874 257 257 # 258 258 # check if reference directory is present 259 if [ ! -d $vdirref/$mach/$dorv /$nam ]; then259 if [ ! -d $vdirref/$mach/$dorvref/$nam ]; then 260 260 printf "%-27s %s\n" $nam " REFERENCE directory at $dorvref is MISSING" 261 261 return … … 270 270 f1s=$vdir/$mach/$dorv/$nam/LONG/run.stat 271 271 f1t=$vdir/$mach/$dorv/$nam/LONG/tracer.stat 272 f2s=$vdirref/$mach/$dorv /$nam/LONG/run.stat273 f2t=$vdirref/$mach/$dorv /$nam/LONG/tracer.stat272 f2s=$vdirref/$mach/$dorvref/$nam/LONG/run.stat 273 f2t=$vdirref/$mach/$dorvref/$nam/LONG/tracer.stat 274 274 if [ ! -f $f1s ] && [ ! -f $f1t ] ; then 275 275 printf "%-20s %s\n" $nam " incomplete test"; … … 343 343 # 344 344 # check if reference directory is present 345 if [ ! -d $vdirref/$mach/$dorv /$nam ]; then345 if [ ! -d $vdirref/$mach/$dorvref/$nam ]; then 346 346 return 347 347 fi … … 353 353 if [ -d $vdir/$mach/$dorv/$nam ]; then 354 354 f1a=$vdir/$mach/$dorv/$nam/LONG/timing.output 355 f2a=$vdirref/$mach/$dorv /$nam/LONG/timing.output355 f2a=$vdirref/$mach/$dorvref/$nam/LONG/timing.output 356 356 # 357 357 # Report average CPU time differences (if available) … … 472 472 # overwrite revision (later) or compiler 473 473 if [ $# -gt 0 ]; then 474 while getopts r: c:v:h option; do474 while getopts r:R:c:v:h option; do 475 475 case $option in 476 476 c) mach=$OPTARG;; 477 477 r) rev=$OPTARG;; 478 R) refrev=$OPTARG;; 478 479 v) SETTE_SUB_VAL=$OPTARG;; 479 480 h | *) echo '' … … 484 485 echo ' -r REVISION_number :' 485 486 echo ' display sette results for the specified revision (set old for the latest revision available for each config)' 487 echo ' -R REFERENCE REVISION_number :' 488 echo ' compare sette results against the specified reference revision (use to over-ride value set in param.cfg)' 486 489 echo ' -v sub_dir :' 487 490 echo ' validation sub-directory below NEMO_VALIDATION_DIR' … … 510 513 NEMO_VALID=${NEMO_VALIDATION_DIR} 511 514 NEMO_VALID_REF=${NEMO_VALIDATION_REF} 515 if [ ! -z $refrev ] ; then 516 NEMO_REV_REF=${refrev} 517 fi 512 518 # 513 519 if [ ! -d $NEMO_VALID ]; then
Note: See TracChangeset
for help on using the changeset viewer.