Ignore:
Timestamp:
May 12, 2016, 1:56:50 AM (9 years ago)
Author:
aslmd
Message:

meso_install: added possibility to provide a version number. added creation of minimal startbase.

File:
1 edited

Legend:

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

    r1475 r1551  
    1111## name of the folder
    1212name="MESORUN"
     13## SVN version
     14version="HEAD"
    1315################################
    1416
     
    3436## location of static data
    3537webrepo="http://data.spiga.fr/mesoscale_model/STATIC_DATA/"
     38## TBD: datadir: http://www.lmd.jussieu.fr/~lmdz/planets/mars/datadir/
    3639################################
    3740
     
    5861## get GCM code
    5962## ------------
    60 echo "*** get GCM code"
     63echo "*** get GCM code version "$version
    6164cd $refrepo/code
    62 svn -q update LMDZ.MARS
    63 svn -q update LMDZ.COMMON
     65svn -q update -r $version LMDZ.MARS
     66svn -q update -r $version LMDZ.COMMON
    6467cd $refrepo/code/LMDZ.COMMON
    6568svn -q co http://forge.ipsl.jussieu.fr/fcm/svn/PATCHED/FCM_V1.2
     
    8386cd $refrepo/code/LMDZ.COMMON
    8487./makelmdz_fcm -cpp MESOINI -j 8 -s 2 -d $dimgcm -arch $machine$fortcom -parallel mpi -p mars gcm > $log 2> $log
    85 ./makelmdz_fcm              -j 8 -s 2 -d $dimgcm -arch $machine$fortcom               -p mars newstart > $log 2> $log
     88./makelmdz_fcm              -j 8 -s 2 -d $dimgcm -arch $machine$fortcom               -p mars newstart >> $log 2>> $log
    8689cd $refrepo/gcm
    8790\rm gcm.e
     
    9497## get and make mesoscale
    9598## ----------------------
    96 echo "*** get and compile mesoscale"
     99echo "*** get and compile mesoscale version "$version
    97100cd $refrepo/code
    98 svn update MESOSCALE > /dev/null
     101svn update -r $version MESOSCALE > /dev/null
    99102cd $refrepo/code/MESOSCALE/LMD_MM_MARS
    100103ls $refrepo/mesoin
     
    146149done
    147150
     151## ------------------------
     152## make a minimal startbase
     153## ------------------------
     154echo "*** make a minimal startbase"
     155cd $refrepo/gcm/newstart
     156./mini_startbase.sh
     157
    148158## -----
    149159## check
Note: See TracChangeset for help on using the changeset viewer.