Changeset 4197
- Timestamp:
- Jul 8, 2022, 6:21:28 PM (3 years ago)
- Location:
- BOL/script_install
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/check_version.sh
r4108 r4197 23 23 24 24 install=1 25 rad=rrtm 25 26 check_1D=1 26 27 check_SP=1 … … 59 60 options: 60 61 -c compiler : sets the compiler to use 61 -j 0/1 : just check results, do not overwrite anything 0/162 -justcheck : just check results, do not overwrite anything 62 63 -r svn : revision 63 64 -latest latest : latest is the date of the last version tested … … 67 68 68 69 "-c") compilo="$2" ; shift ; shift ;; 69 "-j ") justcheck="$2" ; shift; shift ;;70 "-justcheck") justcheck=1 ; shift ;; 70 71 "-r") rel_svn="$2" ; shift ; shift ;; 71 72 "-latest") version_ref="$2" ; shift ; shift ;; … … 285 286 cd BENCHiso48x36x39 286 287 ./compile.sh 287 exec=../bin/gcm_48x36x39_phylmdiso_ seq_iso_isoverif.e288 exec=../bin/gcm_48x36x39_phylmdiso_${rad}_seq_iso_isoverif.e 288 289 if [ -f $exec ] ; then 289 290 $exec > listing 2>&1 … … 414 415 ssh lmdz@django "mail -s 'Nouvelle version pour install_lmdz.sh' $mail_address < "$local_d"/tmp.message" 415 416 fi 417 418 # 419 # clean up of /tmp/lmdz if everything went smoothly 420 # 421 grep -q 'OK OK OK2 OK' tmp.resu 422 RET=$? 423 if [ ${RET} -eq 0 ] ; then 424 echo "Quality control checks out for version $version" 425 echo "We cleanup /tmp/lmdz/LMDZ$version" 426 echo "\rm -rf /tmp/lmdz/LMDZ$version" 427 \rm -rf /tmp/lmdz/LMDZ$version 428 fi 429 -
BOL/script_install/creation_modipsl.sh
r4101 r4197 1 1 #!/bin/bash 2 2 3 set -vx3 #set -vx 4 4 5 5 ##################################################################### … … 186 186 cat tmp.resu >> LISMOI.$branche 187 187 \cp -f LISMOI.trunk ../pub/src/Readme 188 ### 189 ### clean up of /tmp/lmdz if everything went smoothly 190 ### 191 ## grep -q 'OK OK OK2 OK' tmp.resu 192 ## RET=$? 193 ## if [ ${RET} -eq 0 ] ; then 194 ## echo "Quality control checks out for version $version" 195 ## echo "We could cleanup /tmp/lmdz/LMDZ$version" 196 ## echo "\rm -rf /tmp/lmdz/LMDZ$version" 197 ## fi 188 198 fi -
BOL/script_install/install_lmdz.sh
r4196 r4197 53 53 \cp -f -p ~/LMDZ/pub/$1 . 54 54 else 55 wget --no-check-certificate -nv http:// www.lmd.jussieu.fr/~lmdz/pub/$155 wget --no-check-certificate -nv http://lmdz.lmd.jussieu.fr/pub/$1 56 56 save_pub_locally=0 57 57 if [ $save_pub_locally = 1 ] ; then # saving wget files on ~/LMDZ/pub … … 935 935 # Option de compilation du rayonnement : depend de $mysvn ><= r4185 936 936 opt_rad="" 937 937 938 case $rad in 938 rrtm) if [ $mysvn -le 4185 ] ; then opt_rad="-rrtm true" ; else opt_rad="-rad rrtm" ; fi ;; 939 ecrad) opt_rad="-rad ecrad" ;; 939 oldrad) iflag_rrtm=0 ; NSW=2 ; opt_rad="" ;; 940 rrtm) iflag_rrtm=1 ; NSW=6 ; if [ $mysvn -le 4185 ] ; then opt_rad="-rrtm true" ; else opt_rad="-rad rrtm" ; fi ;; 941 ecrad) iflag_rrtm=2 ; NSW=6 ; opt_rad="-rad ecrad" ;; 942 *) echo Only oldrad rrtm ecrad for rad option ; exit 940 943 esac 941 944 … … 1179 1182 cp ../DefLists/namelist_ecrad . 1180 1183 cp -r ../libf/phylmd/ecrad/data . 1181 # Attention au cas ou ne 11182 sed -e 's@iflag_rrtm=1@iflag_rrtm=2@' physiq.def > tmp1183 \mv -f tmp physiq.def1184 1184 cd .. 1185 1185 fi 1186 1187 # Adjusting bench physiq.def to radiative code chosen 1188 cd BENCH${grid_resolution} 1189 sed -e 's/iflag_rrtm=.*.$/iflag_rrtm='$iflag_rrtm'/' -e 's/NSW=.*.$/NSW='$NSW'/' physiq.def > tmpdef 1190 \mv tmpdef physiq.def 1191 cd .. 1186 1192 1187 1193 cp $gcm BENCH${grid_resolution}/gcm.e
Note: See TracChangeset
for help on using the changeset viewer.