Index: trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh
===================================================================
--- trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh	(revision 2444)
+++ trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh	(revision 2445)
@@ -11,7 +11,8 @@
 ## name of the folder
 name="MESORUN"
-## SVN version
-version="HEAD"
-version="1520"
+## git version or tag 
+version="tags/mesoscale-jezero"
+version="tags/gcm-mesoini-ok"
+#version="4ef63693c40cf8aa316d0664635a33126fe97d03"
 ################################
 
@@ -33,5 +34,5 @@
 # -n [name]        --> name of the folder to be created
 # -g               --> only compile GCM (for tests)
-# -v [# (or) HEAD] --> svn version 
+# -v [version/tag] --> git commit or tag
 # -o               --> old GCM+meso version
 # -l               --> LES version (only new physics)
@@ -46,4 +47,8 @@
 ## server for sources
 where_is_svn="http://svn.lmd.jussieu.fr/Planeto/trunk/"
+## server for sources
+where_is_git="git@gitlab.in2p3.fr:la-communaut-des-mod-les-atmosph-riques-plan-taires/git-trunk.git"
+## depth of git checkout
+depth=500 # should be enough and avoid too big a directory
 ## grid definition for GCM
 dimgcm="64x48x29"
@@ -75,8 +80,10 @@
 ## create code repo
 ## ----------------
-echo "*** get SVN repository"
+echo "*** get gitlab repository"
 \rm $refrepo/code
-svn -q co -N $where_is_svn $refrepo/code
-
+git clone --depth $depth $where_is_git $refrepo/code
+echo "*** set a branch with same name as repo for version "$version
+cd $refrepo/code
+git checkout $version -b $name
 
 ###################################
@@ -89,7 +96,5 @@
  then
    log=$refrepo/code/MESOSCALE/LMDZ.MARS/logcompile_gcm
-   echo "*** get and compile GCM code version "$version
-   cd $refrepo/code
-   svn update -r $version MESOSCALE > /dev/null
+   echo "*** compile GCM"
    cd $refrepo/code/MESOSCALE/LMDZ.MARS
    ln -sf makegcm_$fortcom makegcm
@@ -97,14 +102,5 @@
  fi
  
-else
-
- ## ------------
- ## get GCM code
- ## ------------
- echo "*** get GCM code version "$version
- cd $refrepo/code
- # at least get Mars physics (always needed)
- svn -q update -r $version LMDZ.MARS 
- svn -q update -r $version LMDZ.COMMON
+fi
 
 ## START compiling GCM PART
@@ -156,6 +152,4 @@
 fi
 
-fi
-
 ###################################
 ################################### MESO
@@ -178,7 +172,5 @@
 ## get and make mesoscale
 ## ----------------------
-echo "*** get and compile mesoscale version "$version
-cd $refrepo/code
-svn update -r $version MESOSCALE > /dev/null
+echo "*** compile mesoscale"
 #
 if [[ "${les}" == "on" ]]
