- Timestamp:
- May 21, 2014, 3:25:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/instal1d.sh
r2035 r2050 9 9 # which contains the single column version of the model. 10 10 # 2) installs a series of test cases on LMDZ.../1dcases/ 11 # 3) compile the lmdz1.F with vertical resolution L 39 and L4011 # 3) compile the lmdz1.F with vertical resolution L59 and L40 12 12 # 4) runs a subset of the cases 13 13 ############################################################################### … … 18 18 toga=1 19 19 twpice=1 20 # 21 llm=59 20 22 21 23 # Check in ~lmdz/WWW/DistribG95 which 1d version to use … … 46 48 LMDGCM=`pwd` 47 49 LMDlibf=$LMDGCM/modipsl/modeles/LMDZ5/libf/ 50 cd $LMDlibf 51 rev=`svn info -r BASE | grep vision | tail -1 | awk ' { print $NF } '` 52 cd $LMDGCM 48 53 49 54 ############################################################################### … … 105 110 # Installing source files and compiling 106 111 ################################################################################ 112 113 if [ $rev -le 2015 ] ; then 107 114 cd $LMDlibf 115 if [ -f phy1d/thermcell_dq.F90 ] ; then 116 echo phy1d a deja ete modifie. On repart d une version sauvegardee 117 if [ ! -d phy1dorig ] ; then 118 echo Cas a retravailler : le phy1d d origine n est plus dispo 119 exit 120 fi 121 mv phy1d phy1d$$ 122 cp -r phy1dorig phy1d 123 else 124 cp -r phy1d phy1dorig # sauvegarde du phy1d d'origine 125 fi 108 126 chmod +x ../tools/install_1d_src.sh 109 127 ../tools/install_1d_src.sh 128 fi 110 129 111 130 ## Nettoyage 112 131 \rm -r ${source} 113 132 # 114 cd ${LMDlibf}/.. 133 cd ${LMDlibf} 134 physique=lmd 135 if [ -d phy1d ] ; then 136 physique=1d 137 fi 138 139 cd ../ 115 140 \rm -f makefile 116 ./makelmdz -d 39 -p 1dlmdz1d141 ./makelmdz -d ${llm} -p ${physique} lmdz1d 117 142 if [ -f lmdz1d.e ] ; then 118 mv lmdz1d.e lmdz1d_L 39.e143 mv lmdz1d.e lmdz1d_L${llm}.e 119 144 echo Compilation successfull 120 145 for cas in amma ayotte case_e eq_rd_cv fire hapex92_init rico toga sanduref sandufast sanduslow twpice ; do 121 146 rm -f ${LMDGCM}/1dcases/$cas/lmdz1d.e 122 ln -s `pwd`/lmdz1d_L 39.e ${LMDGCM}/1dcases/$cas/lmdz1d.e147 ln -s `pwd`/lmdz1d_L${llm}.e ${LMDGCM}/1dcases/$cas/lmdz1d.e 123 148 done 124 149 else
Note: See TracChangeset
for help on using the changeset viewer.