Changeset 1852 for trunk/MESOSCALE


Ignore:
Timestamp:
Dec 12, 2017, 2:28:40 PM (7 years ago)
Author:
aslmd
Message:

added a mode with nocompile GCM (idealized studies). corrected ifortold so that it fits the namelist. removed lines with code_compiled which is already linked OK thanks to LATEST in makemeso.

File:
1 edited

Legend:

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

    r1631 r1852  
    1818meso="on"
    1919gcm=""
     20gcmcompile="on"
    2021while getopts "gn:hv:o" options; do
    2122  case $options in
     
    2425   v ) version="${OPTARG}";;
    2526   o ) gcm="old" ;;
     27   l ) gcmcompile="off" ;;
    2628   h ) echo "
    2729# OPTIONS
     
    3032# -v [# (or) HEAD] --> svn version
    3133# -o               --> old GCM+meso version
     34# -l               --> LES version (only new physics)
    3235" ; exit ;;
    3336  esac
     
    5861case ${fortcom}$gcm in
    5962  "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 ;;
    6366esac
    6467
     
    9194 echo "*** get GCM code version "$version
    9295 cd $refrepo/code
     96 # at least get Mars physics (always needed)
    9397 svn -q update -r $version LMDZ.MARS
     98
     99## START compiling GCM PART
     100if [[ "${gcmcompile}" == "on" ]]
     101then
     102
    94103 svn -q update -r $version LMDZ.COMMON
    95104 cd $refrepo/code/LMDZ.COMMON
     
    132141fi
    133142
     143fi
     144
    134145###################################
    135146################################### MESO
     
    162173fi
    163174rm -rf $refrepo/mesoin
    164 rm -rf $refrepo/code_compiled
    165 ln -sf $refrepo/code/MESOSCALE/LMD_MM_MARS/LATEST $refrepo/code_compiled
    166175
    167176## -------------------------------
Note: See TracChangeset for help on using the changeset viewer.