Ignore:
Timestamp:
Nov 21, 2019, 4:43:45 PM (5 years ago)
Author:
lguez
Message:

Merge revisions 3427:3600 of trunk into branch Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/makelmdz

    r3359 r3605  
    2626cosp=false
    2727cosp2=false
     28cospv2=false
    2829sisvat=false
    2930rrtm=false
     
    4243## try to recognise machine and infer arch from it
    4344machine=`hostname`
    44 if [[ "${machine:0:3}" == "ada" ]]
    45 then
    46   arch="X64_ADA"
     45if [[ "${machine:0:4}" == "jean" ]]
     46then
     47  arch="X64_JEANZAY"
    4748fi
    4849if [[ "${machine:0:7}" == "platine" ]]
     
    112113[-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false)
    113114          false       : no vegetation model
     115          orchidee2.1 : compile using ORCHIDEE 2.1 (or more recent version)
    114116          orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version)
    115117          orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6
     
    118120[-cosp true/false]    : compile with/without cosp package (default: false)
    119121[-cosp2 true/false]    : compile with/without cosp2 package (default: false)
     122[-cospv2 true/false]    : compile with/without cospv2 package (default: false)
    120123[-sisvat true/false]  : compile with/without sisvat package (default: false)
    121124[-rrtm true/false]    : compile with/without rrtm package (default: false)
     
    183186      "-cosp2")
    184187          cosp2="$2" ; shift ; shift ;;
     188
     189      "-cosp2")
     190          cospv2="$2" ; shift ; shift ;;
    185191     
    186192      "-sisvat")
     
    432438
    433439#==============================================================================
    434 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" ]
     440if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" -o "$veget" = "orchidee2.1" ]
    435441then
    436442
     
    442448   fi
    443449   if [[ "$veget" == "orchidee2.0" ]] ; then
     450      orch_libs="sechiba parameters stomate parallel orglob orchidee"
     451      CPP_KEY="$CPP_KEY ORCHIDEE_NOUNSTRUCT"
     452   elif [[ "$veget" == "orchidee2.1" ]] ; then
    444453      orch_libs="sechiba parameters stomate parallel orglob orchidee"
    445454   else
     
    494503   src_dirs="$src_dirs phy${physique}/cosp2"
    495504   INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cosp2'
     505fi
     506
     507if [[ "$cospv2" == "true" ]]
     508then
     509   CPP_KEY="$CPP_KEY CPP_COSPV2"
     510   src_dirs="$src_dirs phy${physique}/cospv2"
     511   INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cospv2'
    496512fi
    497513
     
    772788L_COSP="$lcosp" \
    773789L_COSP2="$lcosp2" \
     790L_COSPV2="$lcospv2" \
    774791L_CHIMIE="$libchimie" \
    775792LOCAL_DIR="$localdir"  \
     
    806823L_COSP="$lcosp" \
    807824L_COSP2="$lcosp2" \
     825L_COSPV2="$lcospv2" \
    808826L_CHIMIE="$libchimie" \
    809827LOCAL_DIR="$localdir"  \
Note: See TracChangeset for help on using the changeset viewer.