Ignore:
Timestamp:
Jul 8, 2022, 6:21:28 PM (2 years ago)
Author:
Laurent Fairhead
Message:

Resolving issue when using oldrad with the default bench suite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/check_version.sh

    r4108 r4197  
    2323
    2424install=1
     25rad=rrtm
    2526check_1D=1
    2627check_SP=1
     
    5960options:
    6061  -c compiler : sets the compiler to use
    61   -j 0/1 : just check results, do not overwrite anything 0/1
     62  -justcheck  : just check results, do not overwrite anything
    6263  -r svn : revision
    6364  -latest latest : latest is the date of the last version tested
     
    6768
    6869      "-c") compilo="$2" ; shift ; shift ;;
    69       "-j") justcheck="$2" ; shift ; shift ;;
     70      "-justcheck") justcheck=1 ; shift ;;
    7071      "-r") rel_svn="$2" ; shift ; shift ;;
    7172      "-latest") version_ref="$2" ; shift ; shift ;;
     
    285286      cd BENCHiso48x36x39
    286287      ./compile.sh
    287       exec=../bin/gcm_48x36x39_phylmdiso_seq_iso_isoverif.e
     288      exec=../bin/gcm_48x36x39_phylmdiso_${rad}_seq_iso_isoverif.e
    288289      if [ -f $exec ] ; then
    289290             $exec > listing 2>&1
     
    414415   ssh lmdz@django "mail -s 'Nouvelle version pour install_lmdz.sh' $mail_address < "$local_d"/tmp.message"
    415416fi
     417
     418#
     419# clean up of /tmp/lmdz if everything went smoothly
     420#
     421grep -q 'OK     OK      OK2     OK' tmp.resu
     422RET=$?
     423if [ ${RET} -eq 0 ] ; then
     424  echo "Quality control checks out for version $version"
     425  echo "We cleanup /tmp/lmdz/LMDZ$version"
     426  echo "\rm -rf /tmp/lmdz/LMDZ$version"
     427  \rm -rf /tmp/lmdz/LMDZ$version
     428fi
     429
Note: See TracChangeset for help on using the changeset viewer.