Ignore:
Timestamp:
Sep 13, 2013, 4:01:10 PM (11 years ago)
Author:
aslmd
Message:

MESOSCALE
LMDZ.MARS

--> Performed the necessary modifications for dynamic tracers

to work with the mesoscale model (new physics).

--> Added precompiling flag MESOSCALE around pressure modifications

done in revision 883. This makes the mesoscale model become crazy.

--> Added an option -e in makemeso to erase a configuration and start over.

NOTE
--> not sure recent versions (rev>1000) are compliant with nesting compilation.
--> use mesoscale model + new physics with caution. still not stabilized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r856 r1038  
    3535phys=""
    3636scenario=""
    37 while getopts "drc:njhgpfs:x" options; do
     37from_scratch=0
     38while getopts "drc:njhgpfs:xe" options; do
    3839  case $options in
    3940   d ) donotcompile=1;;       ## just to check the compile folder
     
    4546   p ) phys="newphys_";;      ## with new physics
    4647   f ) fresh_start=1;;        ## a fresh start
     48   e ) from_scratch=1;;       ## a fresh start with a completely new folder
    4749   s ) scenario="${OPTARG}";; ## a specific scenario, you need a corresponding "mars_lmd_..."
    4850   x ) donotcompile=1;phys="nophys_";donotcompilephys=1;; ## a case with no LMD physics included
     
    7274#
    7375# makemeso -f                ## fresh start [clean -a]
     76#
     77# makemeso -e                ## a completely new recompile with erasing ALL compiling folder
    7478#
    7579# makemeso -s storm          ## a specific scenario, you need a corresponding mars_lmd_... (only for newphys)
     
    169173            fi
    170174         else
    171             echo Number of tracers ? ; read tra
    172             if [ ${tra} -eq 0 ]
    173             then
    174               tra=1     
     175            echo Number of tracers ? ; read tra
     176            # tracers: no dynamically set in newphys 09/2013
     177            if [[ "${phys}" == "newphys_" ]]
     178            then
     179              tra=999
     180            else
     181              if [ ${tra} -eq 0 ]
     182              then
     183                tra=1   
     184              fi
    175185            fi
     186            # scatterers: a specific stuff for newphys
    176187            if [[ "${phys}" == "newphys_" ]]
    177188            then
     
    181192            fi
    182193         fi
     194  # 'from scratch' case
     195  if [ ${from_scratch} -eq 1 ]
     196  then
     197      echo "***** I ERASE THE FOLDER "${conf_wrf}
     198      \rm -rf ${conf_wrf}
     199  fi
    183200  # folder
    184201  mkdir ${conf_wrf} 2> /dev/null
     
    684701  mkdir temp
    685702  #cp -f LINUXfastI._${physz}_t${tra}_reg/*.a temp
    686   cp -f LINUX*/*.a temp
     703  cp -f LINUX*/*.a temp/
    687704  cd temp
    688705  ar x libbibio.a
Note: See TracChangeset for help on using the changeset viewer.