New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14870 for utils/CI/sette_ticket2673/sette_rpt.sh – NEMO

Ignore:
Timestamp:
2021-05-16T16:54:58+02:00 (3 years ago)
Author:
acc
Message:

Branch: sette_ticket2673. More tweaks. Added a few more features and aligned the utility scripts with the new directory structure. Each experiment directory in the NEMO_VALIDATION_DIR now gets a sette_config file recording the settings used to run the test. They now also get copies of the *namelist*_cfg files which can be useful for cross-checking. sette_list_avail_rev.sh now accepts the -v subdir option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2673/sette_rpt.sh

    r14867 r14870  
    257257# 
    258258# check if reference directory is present 
    259   if [ ! -d $vdirref/$mach/$dorv/$namref ]; then 
     259  if [ ! -d $vdirref/$mach/$dorv/$nam ]; then 
    260260    printf "%-27s %s\n" $nam " REFERENCE directory at $dorvref is MISSING" 
    261261    return 
     
    270270    f1s=$vdir/$mach/$dorv/$nam/LONG/run.stat 
    271271    f1t=$vdir/$mach/$dorv/$nam/LONG/tracer.stat 
    272     f2s=$vdirref/$mach/$dorv/$namref/LONG/run.stat 
    273     f2t=$vdirref/$mach/$dorv/$namref/LONG/tracer.stat 
     272    f2s=$vdirref/$mach/$dorv/$nam/LONG/run.stat 
     273    f2t=$vdirref/$mach/$dorv/$nam/LONG/tracer.stat 
    274274    if  [ ! -f $f1s ] && [ ! -f $f1t ] ; then 
    275275      printf "%-20s %s\n" $nam " incomplete test"; 
     
    343343# 
    344344# check if reference directory is present 
    345   if [ ! -d $vdirref/$mach/$dorv/$namref ]; then 
     345  if [ ! -d $vdirref/$mach/$dorv/$nam ]; then 
    346346    return 
    347347  fi 
     
    353353  if [ -d $vdir/$mach/$dorv/$nam ]; then 
    354354    f1a=$vdir/$mach/$dorv/$nam/LONG/timing.output 
    355     f2a=$vdirref/$mach/$dorv/$namref/LONG/timing.output 
     355    f2a=$vdirref/$mach/$dorv/$nam/LONG/timing.output 
    356356# 
    357357# Report average CPU time differences (if available) 
     
    572572 echo "" 
    573573 echo "   !----agrif check----!   " 
    574  dir1=WAGRIF_DEMO_NOAGRIF_ST 
    575  dir2=WAGRIF_DEMO_ST 
     574 dir1=AGRIF_DEMO_NOAGRIF 
     575 dir2=AGRIF_DEMO 
    576576 identictest $NEMO_VALID $dir1 $dir2 $pass  
    577577# 
Note: See TracChangeset for help on using the changeset viewer.