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 10713 for NEMO/branches/2019/fix_sette_ticket2239/sette.sh – NEMO

Ignore:
Timestamp:
2019-02-21T21:29:46+01:00 (5 years ago)
Author:
mathiot
Message:

changes related to Simon comments (ticket #2239)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sette_ticket2239/sette.sh

    r10690 r10713  
    11#!/bin/sh 
     2# initialise user dependent variable 
     3. ./param.cfg 
    24 
    35# run sette on reference configuration 
    4 ./sette_cfg-ref.sh 
     6./sette_reference-configurations.sh 
    57if [[ $? != 0 ]]; then 
    68   echo "" 
     
    2426 
    2527# run sette report 
    26 ./sette_rpt.sh 
    27  
     28echo "" 
     29echo "-------------------------------------------------------------" 
     30echo "./sette_rpt.sh (script will wait all nemo_sette run are done)" 
     31echo "-------------------------------------------------------------" 
     32echo "" 
     33NRUN=999 
     34NIT=0 
     35while [[ $NRUN -ne 0 && $nit -le 1080 ]]; do 
     36   nit=$((nit+1)) 
     37   NRUN=$( ${BATCH_STAT} | grep nemo_sette | wc -l )  
     38   if [[ $NRUN -ne 0 ]]; then  
     39      printf "%-3d %s\r" $NRUN 'nemo_sette run still in queue or running ...'; 
     40   else 
     41      printf "%s\n" " " 
     42      ./sette_rpt.sh 
     43      exit 
     44   fi 
     45   sleep 10 
     46done 
     47printf "\n" 
     48echo "" 
     49echo "Something wrong happened, it tooks more than 3 hours to run all the sette tests" 
     50echo "" 
Note: See TracChangeset for help on using the changeset viewer.