Changeset 5461
- Timestamp:
- Dec 31, 2024, 12:29:57 PM (3 days ago)
- Location:
- BOL/script_install
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/check_version.sh
r4676 r5461 105 105 fi 106 106 107 if [ -d $MODEL ] ; then 108 mv $MODEL ${MODEL}_$$ 109 fi 110 107 111 echo version $version $branche $datelmdz 108 112 RESU_D=~/WWW/RESUBENCH/$branche/$compilo … … 127 131 cd $tmpdir 128 132 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 130 136 # On install sans les bench pour que les benchs soient faits à la main 131 137 # ./install_lmdz.sh -v $version $opt_svn -d $resolution -SCM -parallel $parallel -veget CMIP6 … … 168 174 cd $BENCH ; $get/pub/3DBenchs/BENCHCMIP6.tar.gz . ; tar xvf BENCHCMIP6.tar.gz 169 175 sed -i'' -e "s:VEGET=n:VEGET=y:" config.def 170 ./compilegcm_fcm.sh ; ./bench.sh > out.bench 2>&1176 ./compilegcm_fcm.sh -v orchidee2.0 ; ./bench.sh > out.bench 2>&1 171 177 172 178 … … 243 249 244 250 cd $LMDZdir/$BENCH 245 if [ -f compilegcm .sh -a $check_compile = 1 ] ; then251 if [ -f compilegcm_fcm.sh -a $check_compile = 1 ] ; then 246 252 \rm -f gcm.e 247 ./compilegcm .sh -debug253 ./compilegcm_fcm.sh -debug 248 254 mkdir SIMD 249 255 cd SIMD … … 333 339 pwd 334 340 $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 337 344 if [ -f limit.nc ] ; then 338 345 var=Tsoil01srf01 … … 384 391 385 392 ccc=$converge$convergeNP$convergeD$converge1D$convergeI 386 if [ "$ccc" = "SNDUI" ] ; then ccc="OK " ; fi 393 if [ "$ccc" = "SNDUI" ] ; then ccc="OK " 394 elif [ "$ccc" = "SNDUx" ] ; then 395 ccc="OKx" 396 fi 387 397 388 398 … … 441 451 \rm -rf $tmpdir/LMDZ$version 442 452 fi 443 453 grep -q 'OK SNDUx OK2 OK' tmp.resu 454 RET=$? 455 if [ ${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 460 fi -
BOL/script_install/creation_modipsl.sh
r4793 r5461 1 1 #!/bin/bash 2 2 3 #set -vx3 set -vx 4 4 unset LANG 5 5 … … 22 22 latest="20231102" 23 23 latest="20231215" 24 latest="20240502" 25 latest="20240920" 24 26 #latest=20210512 # Pour imposer de tester la convergence avec une version passee 25 27 … … 119 121 if [ "$latest" != "" ] ; then 120 122 cd /home/users/lmdz/WWW/RESUBENCH/$branche/gfortran 123 echo coucou > toto 121 124 \rm -f latest 122 125 ln -s `pwd`/$latest latest … … 142 145 vorig=v18 # 2023/03/09 modification ORCHIDEE pour compatibilité IOIPSL: on rajoute 360_day comme attribut 143 146 vorig=v19 # 2023/03/10 IOIPSL updated to version 2.2.5 147 vorig=v20 # 2024/07/05 Changed address of ORCHIDEE svn depot 144 148 145 149 modipsltar=modipsl.$vorig.tar … … 214 218 cat tmp.resu >> LISMOI.$branche 215 219 \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 216 222 ### 217 223 ### clean up of /tmp/lmdz if everything went smoothly -
BOL/script_install/verif_commit.sh
r4635 r5461 11 11 TMP_OUT=/u/lmdz/WWW/Distrib/OUT 12 12 TMP_D=/tmp/lmdz/test_rev_${REV}_$$ ; mkdir -p $TMP_D 13 ncdfdir=/u/lmdz/Netcdf/lmdz-cq_20230902 13 14 14 resolution=48x36x39 15 resolution=48x36x39 15 16 physiq=NPv6.0.14splith 16 17 # Changed on 15/03/2023 r4473 … … 22 23 chmod +x install_lmdz.sh 23 24 #./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 \ 25 28 > ${TMP_OUT}/post-commit-lmdz-cq-${REV}_$$ 2>&1 26 29 # … … 40 43 done 41 44 # checking isotope compilation 45 if [[ -v LD_LIBRARY_PATH ]]; then 46 echo "export LD_LIBRARY_PATH=$ncdfdir/lib:$LD_LIBRARY_PATH" >> icosalmdz.env 47 else 48 echo "export LD_LIBRARY_PATH=$ncdfdir/lib" >> icosalmdz.env 49 fi 50 export PATH=$ncdfdir/bin:$PATH 51 42 52 cd $TMP_D 43 53 cd LMDZ*${REV}*/modipsl/modeles/LMDZ/ … … 50 60 echo "Cleaning up /tmp/lmdz/test_rev_${REV}_$$" >> ${TMP_OUT}/post-commit-lmdz-cq-${REV}_$$ 51 61 \rm -rf /tmp/lmdz/test_rev_${REV}_$$ 62 else 63 echo "There is a problem. QC is run in this directory /tmp/lmdz/test_rev_${REV}_$$ on lmdz-cq" 52 64 fi 53 65 #
Note: See TracChangeset
for help on using the changeset viewer.