Ignore:
Timestamp:
Jan 25, 2011, 7:22:48 PM (14 years ago)
Author:
aslmd
Message:

LMD_MM_MARS: version universelle de runmeso + MAJ notes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso

    r28 r32  
    88# Author: A. Spiga            #
    99# New version : December 2008 #
     10# Modified    : 2009-2010     #
     11# New physics : 2011          #
    1012###############################
    1113
     
    5456echo '**********************************************'
    5557
     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
    5668##########################
    5769# GET INFO FROM NAMELIST #
     
    6173#echo '***********************'
    6274echo '** Simulation directory  >>> '${simu_folder}
    63    ######## NEWPHYS
    64    ## if [[ ! ( -f "run.def" ) ]]
    65    ## then
    66    ##    echo 'new physics: you got to have run.def !'
    67    ##    exit
    68    ## fi
    6975if [[ ! ( -f "namelist.input" ) ]]
    7076then
     
    214220 echo "**      <2> g95"
    215221 echo "**      <3> mpi+pgf90"
     222 echo "**      .... more in makemeso ...."
    216223 echo '**********************************************'
    217224 echo "Your choice ? (1-3)" ; read compilo
     
    236243   fi
    237244 echo ${nest} >> tmp
     245
     246 if [[ ${newphys} -eq 0 ]]
     247 then
    238248 ./makemeso -d < tmp > /dev/null
     249 else
     250 ./makemeso -d -p < tmp > /dev/null
     251 fi
     252
    239253 \rm tmp 2> /dev/null
    240254 work_folder=${meso_folder}'/'$(more what_folder)
    241255 echo 'work_folder : '${work_folder}
    242256 \rm what_folder 2> /dev/null
     257
    243258 ##################### NB: define the domain if was not done yet
    244259   if [[ -f "${simu_folder}/namelist.wps" ]]
     
    342357                          cd ../../..
    343358                      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
    347370   if [[ -f ${wrfexe} ]]
    348371   then
Note: See TracChangeset for help on using the changeset viewer.