Changeset 1865 for trunk/MESOSCALE


Ignore:
Timestamp:
Dec 18, 2017, 9:15:41 PM (7 years ago)
Author:
aslmd
Message:

introduced compiler option to meso_install, gnuold added as option

File:
1 edited

Legend:

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

    r1852 r1865  
    1919gcm=""
    2020gcmcompile="on"
    21 while getopts "gn:hv:o" options; do
     21fortcom="ifort"
     22while getopts "gn:hv:f:o" options; do
    2223  case $options in
    2324   n ) name="${OPTARG}";;
     
    2627   o ) gcm="old" ;;
    2728   l ) gcmcompile="off" ;;
     29   f ) fortcom="${OPTARG}" ;;
    2830   h ) echo "
    2931# OPTIONS
     
    3335# -o               --> old GCM+meso version
    3436# -l               --> LES version (only new physics)
     37# -f               --> fortran compiler (experimental)
    3538" ; exit ;;
    3639  esac
     
    4043## machine on which you will compile
    4144machine="CICLAD"
    42 ## fortran compiler used
    43 fortcom="ifort"
    4445## server for sources
    4546where_is_svn="http://svn.lmd.jussieu.fr/Planeto/trunk/"
     
    4849## location of static data
    4950webrepo="http://data.spiga.fr/mesoscale_model/STATIC_DATA/"
    50 ## TBD: datadir: http://www.lmd.jussieu.fr/~lmdz/planets/mars/datadir/
     51## TBD: datadir:  http://www.lmd.jussieu.fr/~lmdz/planets/mars/datadir/
    5152################################
    5253
     
    6465              echo 177 >> $refrepo/mesoin ; echo 177 >> $refrepo/mesoin ; echo 61 >> $refrepo/mesoin ;
    6566              echo 3 >> $refrepo/mesoin ; echo 1 >> $refrepo/mesoin ;;
     67  "gnuold")   echo 10 > $refrepo/wpsin ; echo 8 > $refrepo/mesoin ;
     68              echo 61 >> $refrepo/mesoin ; echo 61 >> $refrepo/mesoin ; echo 61 >> $refrepo/mesoin ;
     69              echo 1 >> $refrepo/mesoin ; echo 1 >> $refrepo/mesoin ;;
     70  *) echo "compiler not supported" ; exit ;;
    6671esac
    6772
Note: See TracChangeset for help on using the changeset viewer.