Changeset 5461 for BOL/script_install/check_version.sh
- Timestamp:
- Dec 31, 2024, 12:29:57 PM (5 days ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.