Changeset 3605 for LMDZ6/branches/Ocean_skin/makelmdz
- Timestamp:
- Nov 21, 2019, 4:43:45 PM (5 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
-
LMDZ6/branches/Ocean_skin/makelmdz
r3359 r3605 26 26 cosp=false 27 27 cosp2=false 28 cospv2=false 28 29 sisvat=false 29 30 rrtm=false … … 42 43 ## try to recognise machine and infer arch from it 43 44 machine=`hostname` 44 if [[ "${machine:0: 3}" == "ada" ]]45 then 46 arch="X64_ ADA"45 if [[ "${machine:0:4}" == "jean" ]] 46 then 47 arch="X64_JEANZAY" 47 48 fi 48 49 if [[ "${machine:0:7}" == "platine" ]] … … 112 113 [-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false) 113 114 false : no vegetation model 115 orchidee2.1 : compile using ORCHIDEE 2.1 (or more recent version) 114 116 orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version) 115 117 orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6 … … 118 120 [-cosp true/false] : compile with/without cosp package (default: false) 119 121 [-cosp2 true/false] : compile with/without cosp2 package (default: false) 122 [-cospv2 true/false] : compile with/without cospv2 package (default: false) 120 123 [-sisvat true/false] : compile with/without sisvat package (default: false) 121 124 [-rrtm true/false] : compile with/without rrtm package (default: false) … … 183 186 "-cosp2") 184 187 cosp2="$2" ; shift ; shift ;; 188 189 "-cosp2") 190 cospv2="$2" ; shift ; shift ;; 185 191 186 192 "-sisvat") … … 432 438 433 439 #============================================================================== 434 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" ]440 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" -o "$veget" = "orchidee2.1" ] 435 441 then 436 442 … … 442 448 fi 443 449 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 444 453 orch_libs="sechiba parameters stomate parallel orglob orchidee" 445 454 else … … 494 503 src_dirs="$src_dirs phy${physique}/cosp2" 495 504 INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cosp2' 505 fi 506 507 if [[ "$cospv2" == "true" ]] 508 then 509 CPP_KEY="$CPP_KEY CPP_COSPV2" 510 src_dirs="$src_dirs phy${physique}/cospv2" 511 INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cospv2' 496 512 fi 497 513 … … 772 788 L_COSP="$lcosp" \ 773 789 L_COSP2="$lcosp2" \ 790 L_COSPV2="$lcospv2" \ 774 791 L_CHIMIE="$libchimie" \ 775 792 LOCAL_DIR="$localdir" \ … … 806 823 L_COSP="$lcosp" \ 807 824 L_COSP2="$lcosp2" \ 825 L_COSPV2="$lcospv2" \ 808 826 L_CHIMIE="$libchimie" \ 809 827 LOCAL_DIR="$localdir" \
Note: See TracChangeset
for help on using the changeset viewer.