Ignore:
Timestamp:
Dec 31, 2024, 12:29:57 PM (5 days ago)
Author:
fhourdin
Message:

Quality control improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/check_version.sh

    r4676 r5461  
    105105fi
    106106
     107if [ -d $MODEL ] ; then
     108   mv $MODEL ${MODEL}_$$
     109fi
     110
    107111echo version $version $branche $datelmdz
    108112RESU_D=~/WWW/RESUBENCH/$branche/$compilo
     
    127131   cd $tmpdir
    128132   if [ "$rel_svn" = "" ] ; then opt_svn="" ; else opt_svn="-r $rel_svn" ; fi
    129    \rm -f install_lmdz.sh ; $get/pub/install_lmdz.sh ; chmod +x install_lmdz.sh
     133#   \rm -f install_lmdz.sh ; $get/pub/install_lmdz.sh ; chmod +x install_lmdz.sh
     134# Le temps de confirmer la bascule
     135   \rm -f install_lmdz.sh ; $get/pub/install_lmdz_old.sh ; \mv install_lmdz_old.sh install_lmdz.sh ; chmod +x install_lmdz.sh
    130136   # On install sans les bench pour que les benchs soient faits à la main
    131137   # ./install_lmdz.sh -v $version $opt_svn -d $resolution -SCM -parallel $parallel -veget CMIP6
     
    168174cd $BENCH ; $get/pub/3DBenchs/BENCHCMIP6.tar.gz . ;  tar xvf BENCHCMIP6.tar.gz
    169175sed -i'' -e "s:VEGET=n:VEGET=y:" config.def
    170 ./compilegcm_fcm.sh ; ./bench.sh > out.bench 2>&1
     176./compilegcm_fcm.sh  -v orchidee2.0 ; ./bench.sh > out.bench 2>&1
    171177
    172178
     
    243249
    244250   cd $LMDZdir/$BENCH
    245    if [ -f compilegcm.sh -a $check_compile = 1 ] ; then
     251   if [ -f compilegcm_fcm.sh -a $check_compile = 1 ] ; then
    246252      \rm -f gcm.e
    247       ./compilegcm.sh -debug
     253      ./compilegcm_fcm.sh -debug
    248254      mkdir SIMD
    249255      cd SIMD
     
    333339      pwd
    334340      $get/Distrib/initialisation.sh
    335       sed -e 's/grid_resolution=48x36x39/grid_resolution='$resolution'/' initialisation.sh > ini.sh
    336       chmod +x ini.sh ; ./ini.sh
     341      sed -e 's/grid_resolution=48x36x39/grid_resolution='$resolution'/' \
     342          -e 's/makelmdz/makelmdz_fcm -arch $arch/' initialisation.sh > ini_fcm.sh
     343      chmod +x ini_fcm.sh ; ./ini_fcm.sh
    337344      if [ -f limit.nc ] ; then
    338345         var=Tsoil01srf01
     
    384391
    385392ccc=$converge$convergeNP$convergeD$converge1D$convergeI
    386 if [ "$ccc" = "SNDUI" ] ; then ccc="OK " ;  fi
     393if [ "$ccc" = "SNDUI" ] ; then ccc="OK "
     394        elif [ "$ccc" = "SNDUx" ] ; then
     395                ccc="OKx"
     396fi
    387397
    388398
     
    441451  \rm -rf $tmpdir/LMDZ$version
    442452fi
    443 
     453grep -q 'OK     SNDUx   OK2     OK' tmp.resu
     454RET=$?
     455if [ ${RET} -eq 0 ] ; then
     456  echo "Quality control checks out for version $version"
     457  echo "We cleanup $tmpdir/LMDZ$version"
     458  echo "\rm -rf $tmpdir/LMDZ$version"
     459  \rm -rf $tmpdir/LMDZ$version
     460fi
Note: See TracChangeset for help on using the changeset viewer.