Changeset 1852 for trunk/MESOSCALE/LMD_MM_MARS/SIMU
- Timestamp:
- Dec 12, 2017, 2:28:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh
r1631 r1852 18 18 meso="on" 19 19 gcm="" 20 gcmcompile="on" 20 21 while getopts "gn:hv:o" options; do 21 22 case $options in … … 24 25 v ) version="${OPTARG}";; 25 26 o ) gcm="old" ;; 27 l ) gcmcompile="off" ;; 26 28 h ) echo " 27 29 # OPTIONS … … 30 32 # -v [# (or) HEAD] --> svn version 31 33 # -o --> old GCM+meso version 34 # -l --> LES version (only new physics) 32 35 " ; exit ;; 33 36 esac … … 58 61 case ${fortcom}$gcm in 59 62 "ifort") echo 1 > $refrepo/wpsin ; echo 5 > $refrepo/mesoin ; echo 1 >> $refrepo/mesoin ;; 60 "ifortold") echo 1 > $refrepo/wpsin ; echo 5 > $refrepo/mesoin ; echo 1>> $refrepo/mesoin ;61 echo 61 >> $refrepo/mesoin ; echo 61>> $refrepo/mesoin ; echo 61 >> $refrepo/mesoin ;62 echo 1>> $refrepo/mesoin ; echo 1 >> $refrepo/mesoin ;;63 "ifortold") echo 1 > $refrepo/wpsin ; echo 5 > $refrepo/mesoin ; echo 4 >> $refrepo/mesoin ; 64 echo 177 >> $refrepo/mesoin ; echo 177 >> $refrepo/mesoin ; echo 61 >> $refrepo/mesoin ; 65 echo 3 >> $refrepo/mesoin ; echo 1 >> $refrepo/mesoin ;; 63 66 esac 64 67 … … 91 94 echo "*** get GCM code version "$version 92 95 cd $refrepo/code 96 # at least get Mars physics (always needed) 93 97 svn -q update -r $version LMDZ.MARS 98 99 ## START compiling GCM PART 100 if [[ "${gcmcompile}" == "on" ]] 101 then 102 94 103 svn -q update -r $version LMDZ.COMMON 95 104 cd $refrepo/code/LMDZ.COMMON … … 132 141 fi 133 142 143 fi 144 134 145 ################################### 135 146 ################################### MESO … … 162 173 fi 163 174 rm -rf $refrepo/mesoin 164 rm -rf $refrepo/code_compiled165 ln -sf $refrepo/code/MESOSCALE/LMD_MM_MARS/LATEST $refrepo/code_compiled166 175 167 176 ## -------------------------------
Note: See TracChangeset
for help on using the changeset viewer.