Changeset 32 for trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso
- Timestamp:
- Jan 25, 2011, 7:22:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso
r28 r32 8 8 # Author: A. Spiga # 9 9 # New version : December 2008 # 10 # Modified : 2009-2010 # 11 # New physics : 2011 # 10 12 ############################### 11 13 … … 54 56 echo '**********************************************' 55 57 58 ######## NEWPHYS ??? 59 if [[ ! ( -f "run.def" ) ]] 60 then 61 newphys=0 62 else 63 echo '** New LMD physics >>> YES [run.def is here]' 64 echo '**********************************************' 65 newphys=1 66 fi 67 56 68 ########################## 57 69 # GET INFO FROM NAMELIST # … … 61 73 #echo '***********************' 62 74 echo '** Simulation directory >>> '${simu_folder} 63 ######## NEWPHYS64 ## if [[ ! ( -f "run.def" ) ]]65 ## then66 ## echo 'new physics: you got to have run.def !'67 ## exit68 ## fi69 75 if [[ ! ( -f "namelist.input" ) ]] 70 76 then … … 214 220 echo "** <2> g95" 215 221 echo "** <3> mpi+pgf90" 222 echo "** .... more in makemeso ...." 216 223 echo '**********************************************' 217 224 echo "Your choice ? (1-3)" ; read compilo … … 236 243 fi 237 244 echo ${nest} >> tmp 245 246 if [[ ${newphys} -eq 0 ]] 247 then 238 248 ./makemeso -d < tmp > /dev/null 249 else 250 ./makemeso -d -p < tmp > /dev/null 251 fi 252 239 253 \rm tmp 2> /dev/null 240 254 work_folder=${meso_folder}'/'$(more what_folder) 241 255 echo 'work_folder : '${work_folder} 242 256 \rm what_folder 2> /dev/null 257 243 258 ##################### NB: define the domain if was not done yet 244 259 if [[ -f "${simu_folder}/namelist.wps" ]] … … 342 357 cd ../../.. 343 358 fi 344 ##****** 345 ./makemeso -r < ${simu_folder}/makemeso_input 346 ##****** 359 360 ##****** 361 if [[ ${newphys} -eq 0 ]] 362 then 363 ./makemeso -r < ${simu_folder}/makemeso_input 364 else 365 ./makemeso -r -p < ${simu_folder}/makemeso_input 366 fi 367 ##****** 368 369 347 370 if [[ -f ${wrfexe} ]] 348 371 then
Note: See TracChangeset
for help on using the changeset viewer.