Changeset 1568


Ignore:
Timestamp:
Jun 24, 2016, 2:09:27 PM (8 years ago)
Author:
aslmd
Message:

added possibility to test GCM only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh

    r1561 r1568  
    1010## DEFAULT
    1111## name of the folder
    12 name="2016_MESORUN_rev1520_REF"
     12name="MESORUN"
    1313## SVN version
    1414version="HEAD"
     
    1616################################
    1717
    18 while getopts "n:h" options; do
     18meso="on"
     19while getopts "gn:h" options; do
    1920  case $options in
    2021   n ) name="${OPTARG}";;
     22   g ) meso="off";;
    2123   h ) echo "
    2224# OPTIONS
    2325# -n [name] --> name of the folder to be created
     26# -g        --> only compile GCM (for tests)
    2427" ; exit ;;
    2528  esac
     
    9598ln -sf $refrepo/code/LMDZ.COMMON/bin/newstart_$dimgcm"_phymars_seq.e" newstart.e
    9699
     100## START MESOSCALE PART
     101if [[ "${meso}" == "on" ]]
     102then
     103
    97104## ----------------------
    98105## get and make mesoscale
     
    151158
    152159## ------------------------
    153 ## make a minimal startbase
    154 ## ------------------------
    155 echo "*** make a minimal startbase"
    156 cd $refrepo/gcm/newstart
    157 ./mini_startbase.sh
    158 
    159 ## ------------------------
    160160## get and compile postproc
    161161## ------------------------
     
    165165cd $refrepo/postproc
    166166./compile
     167
     168fi
     169## END MESOSCALE PART
     170
     171## ------------------------
     172## make a minimal startbase
     173## ------------------------
     174echo "*** make a minimal startbase"
     175cd $refrepo/gcm/newstart
     176./mini_startbase.sh
    167177
    168178## -----
Note: See TracChangeset for help on using the changeset viewer.