Changeset 2445 for trunk/MESOSCALE
- Timestamp:
- Jan 15, 2021, 11:52:03 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh
r2444 r2445 11 11 ## name of the folder 12 12 name="MESORUN" 13 ## SVN version 14 version="HEAD" 15 version="1520" 13 ## git version or tag 14 version="tags/mesoscale-jezero" 15 version="tags/gcm-mesoini-ok" 16 #version="4ef63693c40cf8aa316d0664635a33126fe97d03" 16 17 ################################ 17 18 … … 33 34 # -n [name] --> name of the folder to be created 34 35 # -g --> only compile GCM (for tests) 35 # -v [ # (or) HEAD] --> svn version36 # -v [version/tag] --> git commit or tag 36 37 # -o --> old GCM+meso version 37 38 # -l --> LES version (only new physics) … … 46 47 ## server for sources 47 48 where_is_svn="http://svn.lmd.jussieu.fr/Planeto/trunk/" 49 ## server for sources 50 where_is_git="git@gitlab.in2p3.fr:la-communaut-des-mod-les-atmosph-riques-plan-taires/git-trunk.git" 51 ## depth of git checkout 52 depth=500 # should be enough and avoid too big a directory 48 53 ## grid definition for GCM 49 54 dimgcm="64x48x29" … … 75 80 ## create code repo 76 81 ## ---------------- 77 echo "*** get SVNrepository"82 echo "*** get gitlab repository" 78 83 \rm $refrepo/code 79 svn -q co -N $where_is_svn $refrepo/code 80 84 git clone --depth $depth $where_is_git $refrepo/code 85 echo "*** set a branch with same name as repo for version "$version 86 cd $refrepo/code 87 git checkout $version -b $name 81 88 82 89 ################################### … … 89 96 then 90 97 log=$refrepo/code/MESOSCALE/LMDZ.MARS/logcompile_gcm 91 echo "*** get and compile GCM code version "$version 92 cd $refrepo/code 93 svn update -r $version MESOSCALE > /dev/null 98 echo "*** compile GCM" 94 99 cd $refrepo/code/MESOSCALE/LMDZ.MARS 95 100 ln -sf makegcm_$fortcom makegcm … … 97 102 fi 98 103 99 else 100 101 ## ------------ 102 ## get GCM code 103 ## ------------ 104 echo "*** get GCM code version "$version 105 cd $refrepo/code 106 # at least get Mars physics (always needed) 107 svn -q update -r $version LMDZ.MARS 108 svn -q update -r $version LMDZ.COMMON 104 fi 109 105 110 106 ## START compiling GCM PART … … 156 152 fi 157 153 158 fi159 160 154 ################################### 161 155 ################################### MESO … … 178 172 ## get and make mesoscale 179 173 ## ---------------------- 180 echo "*** get and compile mesoscale version "$version 181 cd $refrepo/code 182 svn update -r $version MESOSCALE > /dev/null 174 echo "*** compile mesoscale" 183 175 # 184 176 if [[ "${les}" == "on" ]]
Note: See TracChangeset
for help on using the changeset viewer.