Changeset 5461


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

Quality control improvements

Location:
BOL/script_install
Files:
3 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
  • BOL/script_install/creation_modipsl.sh

    r4793 r5461  
    11#!/bin/bash
    22
    3 #set -vx
     3set -vx
    44unset LANG
    55
     
    2222latest="20231102"
    2323latest="20231215"
     24latest="20240502"
     25latest="20240920"
    2426#latest=20210512 # Pour imposer de tester la convergence avec une version passee
    2527
     
    119121if [ "$latest" != "" ] ; then
    120122   cd /home/users/lmdz/WWW/RESUBENCH/$branche/gfortran
     123   echo coucou > toto
    121124   \rm -f latest
    122125   ln -s `pwd`/$latest latest
     
    142145vorig=v18 # 2023/03/09 modification ORCHIDEE pour compatibilité IOIPSL: on rajoute 360_day comme attribut
    143146vorig=v19 # 2023/03/10 IOIPSL updated to version 2.2.5
     147vorig=v20 # 2024/07/05 Changed address of ORCHIDEE svn depot
    144148
    145149modipsltar=modipsl.$vorig.tar
     
    214218   cat tmp.resu >> LISMOI.$branche
    215219   \cp -f LISMOI.trunk ../pub/src_archives/Readme
     220   # essai nouvelle version install
     221   ./check_version-ablf.sh -justcheck $version >| WORK/check_ablf.out.$version 2>&1
    216222###
    217223### clean up of /tmp/lmdz if everything went smoothly
  • BOL/script_install/verif_commit.sh

    r4635 r5461  
    1111TMP_OUT=/u/lmdz/WWW/Distrib/OUT
    1212TMP_D=/tmp/lmdz/test_rev_${REV}_$$ ; mkdir -p $TMP_D
     13ncdfdir=/u/lmdz/Netcdf/lmdz-cq_20230902
    1314
    14 resolution=48x36x39 
     15resolution=48x36x39
    1516physiq=NPv6.0.14splith
    1617# Changed on 15/03/2023 r4473
     
    2223chmod +x install_lmdz.sh
    2324#./install_lmdz.sh -SCM -unstable -debug -d $resolution -r $REV -physiq $physiq > ${TMP_OUT}/post-commit-lmdz-cq-${REV}_$$ 2>&1
    24 ./install_lmdz.sh -SCM -unstable -debug -d $resolution -r $REV -netcdf /u/lmdz/Netcdf/lmdz-cq_gcc_8.3.0/ -rad oldrad -parallel mpi_omp  -physiq $physiq \
     25#./install_lmdz.sh -SCM -unstable -debug -d $resolution -r $REV -netcdf /u/lmdz/Netcdf/lmdz-cq_9.4.0_ubunutu20.04/ -rad oldrad -parallel mpi_omp  -physiq $physiq \
     26./install_lmdz.sh -SCM -unstable -debug -d $resolution -r $REV -netcdf $ncdfdir -rad oldrad -parallel mpi_omp  -benchphysiq $physiq \
     27                  -arch local-gfortran9-parallel -arch_dir /u/lmdz/WWW/Distrib/arch.local \
    2528                   > ${TMP_OUT}/post-commit-lmdz-cq-${REV}_$$ 2>&1
    2629#
     
    4043done
    4144# checking isotope compilation
     45if [[ -v LD_LIBRARY_PATH ]]; then
     46    echo "export LD_LIBRARY_PATH=$ncdfdir/lib:$LD_LIBRARY_PATH" >> icosalmdz.env
     47else
     48    echo "export LD_LIBRARY_PATH=$ncdfdir/lib" >> icosalmdz.env
     49fi
     50export PATH=$ncdfdir/bin:$PATH
     51
    4252cd $TMP_D
    4353cd LMDZ*${REV}*/modipsl/modeles/LMDZ/
     
    5060  echo "Cleaning up /tmp/lmdz/test_rev_${REV}_$$" >> ${TMP_OUT}/post-commit-lmdz-cq-${REV}_$$
    5161  \rm -rf /tmp/lmdz/test_rev_${REV}_$$
     62else
     63  echo "There is a problem. QC is run in this directory /tmp/lmdz/test_rev_${REV}_$$ on lmdz-cq"
    5264fi
    5365#
Note: See TracChangeset for help on using the changeset viewer.