Changeset 3605 for LMDZ6/branches/Ocean_skin/makelmdz_fcm
- 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_fcm
r3434 r3605 35 35 cosp=false 36 36 cosp2=false 37 cospv2=false 37 38 job=1 38 39 full='' … … 44 45 45 46 LMDGCM=`/bin/pwd` 46 LIBOGCM=$ LMDGCM/libo47 LIBOGCM=$WORK/build/LMDZ_ocean_skin 47 48 LIBFGCM=$LMDGCM/libf 48 49 DYN_COMMON_PATH=$LIBFGCM/dyn3d_common … … 57 58 SISVAT_PATH=$LMDGCM/.void_dir 58 59 COSP_PATH=$LMDGCM/.void_dir 59 COSP2_PATH=$LMDGCM/.void_dir60 60 fcm_path=$LMDGCM/tools/fcm/bin 61 61 … … 90 90 [-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false) 91 91 false : no vegetation model 92 orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version) 92 orchidee2.1 : compile using ORCHIDEE 2.1 (or more recent version) 93 orchidee2.0 : compile using ORCHIDEE 2.0 93 94 orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6 94 95 true : (obsolete; for backward compatibility) use ORCHIDEE tag 1.9-1.9.6 … … 96 97 [-cosp true/false] : compile with/without cosp package (default: false) 97 98 [-cosp2 true/false] : compile with/without cosp2 package (default: false) 99 [-cospv2 true/false] : compile with/without cospv2 package (default: false) 98 100 [-sisvat true/false] : compile with/without sisvat package (default: false) 99 101 [-rrtm true/false] : compile with/without rrtm package (default: false) … … 181 183 "-cosp2") 182 184 cosp2="$2" ; shift ; shift ;; 185 186 "-cospv2") 187 cospv2="$2" ; shift ; shift ;; 183 188 184 189 "-mem") … … 373 378 fi 374 379 375 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" ]380 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" -o "$veget" = "orchidee2.1" ] 376 381 then 377 382 #NB: option 'true': for backward compatibility. To be used with ORCHIDEE tag 1.9-1.9.6 … … 385 390 fi 386 391 if [[ "$veget" == "orchidee2.0" ]] ; then 392 orch_libs="sechiba parameters stomate parallel orglob orchidee" 393 CPP_KEY="$CPP_KEY ORCHIDEE_NOUNSTRUCT" 394 elif [[ "$veget" == "orchidee2.1" ]] ; then 387 395 orch_libs="sechiba parameters stomate parallel orglob orchidee" 388 396 else … … 457 465 # LIB="${LIB} -l${LIBPREFIX}cosp2" 458 466 fi 467 468 if [[ "$cospv2" == "true" ]] 469 then 470 CPP_KEY="$CPP_KEY CPP_COSPV2" 471 COSP_PATH="$LIBFGCM/phylmd/cospv2" 472 # LIB="${LIB} -l${LIBPREFIX}cosp2" 473 fi 474 459 475 460 476 … … 666 682 echo "%SISVAT $SISVAT_PATH" >> $config_fcm 667 683 echo "%COSP $COSP_PATH" >> $config_fcm 668 echo "%COSP2 $COSP2_PATH" >> $config_fcm669 684 echo "%CPP_KEY $CPP_KEY" >> $config_fcm 670 685 echo "%EXEC $code" >> $config_fcm
Note: See TracChangeset
for help on using the changeset viewer.