Ignore:
Timestamp:
2015-05-19T21:53:20+02:00 (6 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Updates & nemo.cfg, $ARCH.cfg & template.cfg files for cfg dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.sh

    r5280 r5283  
    55DEBUG=0; PUBLISH=0; status='OK' 
    66NEMO_BRAN=trunk; # dev_r5092_CNRS_SETTE dev_v3_4_STABLE_2012 
     7ARCH=              # arch-${ARCH}.env to be sourced in ${DIR_XIOS} or leave blank without file 
    78CONF_REFE=ORCA2_LIM_PISCES 
    89CONF_TEST=${CONF_REFE}_trust 
     
    2324    esac 
    2425done 
    25 export CONF_REFE CONF_TEST DEBUG NEMO_BRAN PUBLISH 
     26export ARCH CONF_REFE CONF_TEST DEBUG NEMO_BRAN PUBLISH 
    2627 
    27 [ $# -ne 1 ] && { ./trusting.sh -h && exit; } 
     28#[ $# -ne 1 ] && { ./trusting.sh -h && exit; } 
    2829# suspend debug mode (too verbose) 
    2930#[ $debug -eq 1 ] && set +vx 
     
    4748#  
    4849#============================================= 
    49 for rel in $COMPILER $MPI netcdf; do 
     50for rel in $COMPILER $MPI_NAME $NETCDFF; do 
    5051    printf "Step......................\nGet $rel release\n" > mesg_03_step.txt 
    5152    arch_rel=$( echo $LOADEDMODULES | sed "s#.*:$rel/\([^:]*\).*#\1#" ) 
    52     [ -z "${arch_rel}" ] && arch_rel=$( echo $PATH | sed "s#.*$rel/\([^/]*\).*#\1#" ) 
    53     [[ $rel == $COMPILER && -z "$FC" ]] && arch_rel=$( $FC --version | grep -m1 -o ' [0-9.]* ' ) 
     53    [ -z "${arch_rel}"  ] && arch_rel=$( echo $PATH | sed "s#.*$rel/\([^/]*\).*#\1#" ) 
     54    [ $rel == $COMPILER ] && arch_rel=$( $FC --version | grep -m1 -o ' [0-9.]* ' ) 
    5455    echo $rel ${arch_rel} >> model.log 
    5556done 
     
    115116#--------------------------------------------- 
    116117printf "Step......................\nTest if solver exists\n"   > mesg_03_step.txt 
    117 if [ ! -f ${solver_test} ]; then 
    118     grep 'E R R O R' ocean.output    >> mesg_11_comments.txt 
    119     sed 's/^/Time step :/' time.step >> mesg_11_comments.txt 
    120     getout 
    121 fi 
     118#if [ ! -f ${solver_test} ]; then 
     119#    grep 'E R R O R' ocean.output    >> mesg_11_comments.txt 
     120#    sed 's/^/Time step :/' time.step >> mesg_11_comments.txt 
     121#    getout 
     122#fi 
    122123 
    123124 
Note: See TracChangeset for help on using the changeset viewer.