Changeset 3972


Ignore:
Timestamp:
Jul 30, 2021, 3:59:32 PM (3 years ago)
Author:
Laurent Fairhead
Message:

Choosing wich orchidee version to run with a revision number (careful checks on the interface might be required)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3944 r3972  
    782782    veget_version=orchidee2.0 
    783783    orchidee_rev=6592
    784   else # specific orchidee revision
     784  else # specific orchidee revision newer than CMIP6, on 2_1 or 2_2 branches
     785    veget_version=orchidee2.1
     786    orchidee_rev=$veget
     787     if [ $veget -lt 4465 ] ; then
     788             echo 'Stopping, ORCHIDEE version too old, script needs work on the CPP flags to pass to makelmdz'
     789             exit 1
     790     fi
    785791     set +e
     792     # which branch is my version on?
     793     orcbranch=`svn log -v -q svn://forge.ipsl.jussieu.fr/orchidee/ -r $veget |grep ORCHIDEE |head -1| sed -e 's:ORCHIDEE/.*$:ORCHIDEE:' | awk '{print $2}'`
     794     # switch to that branch
     795     svn switch -r $veget --accept theirs-full svn://forge.ipsl.jussieu.fr/orchidee/$orcbranch
    786796     svn log -r $veget | grep  $veget
    787797     if [  $? -gt 0 ] ; then
Note: See TracChangeset for help on using the changeset viewer.