Changeset 4107 for BOL


Ignore:
Timestamp:
Mar 22, 2022, 7:53:11 PM (3 years ago)
Author:
fhourdin
Message:

Nouvelles fonctionalités de tests après install
Fredho

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/check_version.sh

    r4101 r4107  
    22# $Id$
    33
    4 #set -vx
     4set -vx
    55
    66#########################################################################
     
    8585   datelmdz=`echo $version | cut -d. -f1`
    8686else
    87    if [ $install = 1 ] ; then echo Use model_dir only if the model is already installed ; exit ; fi
     87   #if [ $install = 1 ] ; then echo Use model_dir only if the model is already installed ; exit ; fi
     88   install=0
     89   if [ "`echo $MODEL | cut -c1`" != "/" ] ; then MODEL=`pwd`/$MODEL ; fi # MODEL transformed in absolute path if not
    8890   datelmdz=`date +%Y%m%d`$$
    8991fi
    9092
    9193echo version $version $branche $datelmdz
     94RESU_D=~/WWW/RESUBENCH/$branche/$compilo
    9295if [ $justcheck = 0 ] ; then
    93    RESU_D=~/WWW/RESUBENCH/$branche/$compilo
    9496   resubench=$RESU_D/$datelmdz$rel_svn
    9597   mkdir -p $resubench
    9698fi
    9799latest=$RESU_D/$version_ref
     100echo $latest
    98101
    99102# recuperation de la version a laquelle on compare pour le message final :
     
    122125   cd $MODEL
    123126   if [ ! -d 1D ] ; then $get/pub/1D/1D.tar.gz ; tar xvf 1D.tar.gz ; fi     # get 1D model
     127   if [ ! -d 1D/EXEC ] ; then mv 1D/EXEC 1D/SAVE_EXEC$$ ; fi
    124128   cd 1D ; sed -e "s:^listecas=.*$:listecas=ARMCU/REF:" run.sh ; ./run.sh   # run 1D model
    125129   # Controling outputs for the ARMCU/REF test case
    126    outf=$MODEL/1D/EXEC/NPv6.1L79/ARMCU/REF/restartphy.nc
     130   # outf=$MODEL/1D/EXEC/NPv6.1L79/ARMCU/REF/restartphy.nc
     131   outf=$MODEL/1D/EXEC/6AL79/ARMCU/REF/restartphy.nc
    127132   if [ -f $outf ] ; then
    128133       if [ $justcheck = 0 ] ; then
     
    145150cd $MODEL/modipsl/mod*/LMD*
    146151LMDZdir=`pwd`
     152echo LMDZdir $LMDZdir
    147153if [ -d $BENCH ] ; then mkdir -p SAVE$$ ; mv BENCH$resolution SAVE$$ ; fi
    148154$get/pub/3DBenchs/bench_lmdz_$resolution.tar.gz ; tar xvf bench_lmdz_$resolution.tar.gz
     
    407413
    408414if [ $mail_address != "" ] ; then
    409    ssh lmdz@django "mail -s 'Nouvelle version pour install.sh' $mail_address < "$local_d"/tmp.message"
    410 fi
     415   ssh lmdz@django "mail -s 'Nouvelle version pour install_lmdz.sh' $mail_address < "$local_d"/tmp.message"
     416fi
Note: See TracChangeset for help on using the changeset viewer.