Changeset 10717


Ignore:
Timestamp:
2019-02-22T16:52:47+01:00 (18 months ago)
Author:
mathiot
Message:

change related to discussion with Simon (ticket #2239)

Location:
NEMO/branches/2019/fix_sette_ticket2239
Files:
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sette_ticket2239/param.cfg

    r10713 r10717  
    44COMPILER=XC40_METO_perso 
    55# 
     6# REFERENCE run.stat tracer.stat you want to compare with 
     7# (if no change to the default, no check on result change will be done) 
     8NEMO_VALIDATION_REF=/projects/jomp/pmathiot/NEMO/NEMO_dev/NEMO/trunk/NEMO_VALIDATION 
     9NEMO_REV_REF=10702 
     10# 
     11# IF SETTE_* variable mentioned below are exported from your initialisation, nothing to do 
     12# otherwise, please update the default iniitialisation or overwrite it 
     13# 
    614# BATCH command 
    715# command to submit a job 
    8 BATCH_CMD=qsub 
     16BATCH_CMD=${SETTE_BATCH_CMD:-llsubmit} 
    917# command to check job status 
    10 BATCH_STAT=qstat 
     18BATCH_STAT=${SETTE_BATCH_STAT:-llq} 
     19# generic sette job name 
     20BATCH_NAME=${SETTE_BATCH_NAME:-sette} 
    1121# 
    1222#- FORCING files storing 
    13 FORCING_DIR=/projects/jomp/pmathiot/SETTE_FORCING/v4.0 
     23FORCING_DIR=${SETTE_FORCING_DIR:-$WORKDIR/FORCING} 
     24# 
     25# CMD for svn (some people use git svn)  
     26# used in sette_rpt and in all_function to display revision and build correct repository name 
     27SVN_CMD=${SETTE_SVN_CMD:-svn} 
     28# 
     29#- only for IBM 
     30#TMPDIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 
     31# 
     32#- key_nosignedzero 
     33ADD_NOSIGNEDZERO=${SETTE_ADD_NOSIGNEDZERO:-"yes"} 
    1434# 
    1535#- INPUT files storing 
     
    1737# 
    1838#- VALIDATION files storing 
    19 NEMO_VALIDATION_DIR=/projects/jomp/pmathiot/NEMO/NEMO_dev/NEMO/trunk/sette_ticket2239/NEMO_VALIDATION 
     39NEMO_VALIDATION_DIR=${WORKDIR:-$MAIN_DIR}/NEMO_VALIDATION 
    2040# 
    21 # REFERENCE run.stat tracer.stat you want to compare with 
    22 # (if no change to the default, no check on result change will be done) 
    23 NEMO_VALIDATION_REF=/projects/jomp/pmathiot/NEMO/NEMO_dev/NEMO/trunk/sette/NEMO_VALIDATION 
    24 NEMO_REV_REF=10508 
    25 # 
    26 # CMD for svn (some people use git svn)  
    27 # used in sette_rpt and in all_function to display revision and build correct repository name 
    28 SVN_CMD=svn 
    29 # 
    30 #- only for IBM 
    31 #TMPDIR=${CONFIG_DIR}/${NEW_CONF}/EXP00 
    32 # 
    33 #- key_nosignedzero 
    34 ADD_NOSIGNEDZERO="yes" 
  • NEMO/branches/2019/fix_sette_ticket2239/sette.sh

    r10713 r10717  
    11#!/bin/sh 
    22# initialise user dependent variable 
     3SETTE_DIR=$(cd $(dirname "$0"); pwd) 
     4MAIN_DIR=$(dirname $SETTE_DIR) 
    35. ./param.cfg 
    46 
     
    3941      printf "%-3d %s\r" $NRUN 'nemo_sette run still in queue or running ...'; 
    4042   else 
    41       printf "%s\n" " " 
     43      printf "%-50s\n" " " 
    4244      ./sette_rpt.sh 
    4345      exit 
  • NEMO/branches/2019/fix_sette_ticket2239/sette_list_avail_rev.sh

    r10713 r10717  
    2727} 
    2828 
     29  SETTE_DIR=$(cd $(dirname "$0"); pwd) 
     30  MAIN_DIR=$(dirname $SETTE_DIR) 
    2931  . ./param.cfg 
    3032 
     
    3335  
    3436 # list of all revision available 
    35  DIRLST='';for dir in `find NEMO_VALIDATION -maxdepth 3 -mindepth 3` ; do REV=`basename $dir`; DIRLST="$DIRLST $REV"; done 
     37 DIRLST='';for dir in `find ${NEMO_VALID} -maxdepth 3 -mindepth 3 -iname [0-9][0-9][0-9][0-9][0-9]` ; do REV=`basename $dir`; DIRLST="$DIRLST $REV"; done 
    3638 DIRLST=`echo $DIRLST | grep -o -E '\w+' | sort -u -r ` 
    3739 
  • NEMO/branches/2019/fix_sette_ticket2239/sette_reference-configurations.sh

    r10713 r10717  
    9191# 
    9292# LOAD param value 
     93SETTE_DIR=$(cd $(dirname "$0"); pwd) 
     94MAIN_DIR=$(dirname $SETTE_DIR) 
    9395. ./param.cfg 
    9496 
     
    132134 
    133135# Directory to run the tests 
    134 SETTE_DIR=$(cd $(dirname "$0"); pwd) 
    135 MAIN_DIR=$(dirname $SETTE_DIR) 
    136136CONFIG_DIR0=${MAIN_DIR}/cfgs 
    137137TOOLS_DIR=${MAIN_DIR}/tools 
  • NEMO/branches/2019/fix_sette_ticket2239/sette_rpt.sh

    r10713 r10717  
    504504# 
    505505# LOAD param variable (COMPILER, NEMO_VALIDATION_DIR, SVN_CMD) 
     506  SETTE_DIR=$(cd $(dirname "$0"); pwd) 
     507  MAIN_DIR=$(dirname $SETTE_DIR) 
    506508  . ./param.cfg 
    507509 
     
    517519# 
    518520# Directory to run the tests 
    519   SETTE_DIR=$(cd $(dirname "$0"); pwd) 
    520   MAIN_DIR=${SETTE_DIR}/.. 
    521521  CONFIG_DIR0=${MAIN_DIR}/cfgs 
    522522  TOOLS_DIR=${MAIN_DIR}/tools 
  • NEMO/branches/2019/fix_sette_ticket2239/sette_test-cases.sh

    r10698 r10717  
    9393# 
    9494# LOAD param value 
     95SETTE_DIR=$(cd $(dirname "$0"); pwd) 
     96MAIN_DIR=$(dirname $SETTE_DIR) 
    9597. ./param.cfg 
    9698 
     
    133135 
    134136# Directory to run the tests 
    135 SETTE_DIR=$(cd $(dirname "$0"); pwd) 
    136 MAIN_DIR=$(dirname $SETTE_DIR) 
    137137CONFIG_DIR0=${MAIN_DIR}/cfgs 
    138138TOOLS_DIR=${MAIN_DIR}/tools 
Note: See TracChangeset for help on using the changeset viewer.