Changeset 4013 for LMDZ6/branches/Ocean_skin/makelmdz
- Timestamp:
- Nov 19, 2021, 4:58:59 PM (3 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
- Property svn:mergeinfo changed
-
LMDZ6/branches/Ocean_skin/makelmdz
r3798 r4013 19 19 chimie=false 20 20 parallel=none 21 paramem=" par"21 paramem="mem" 22 22 compil_mod=prod 23 23 io=ioipsl … … 27 27 cosp2=false 28 28 cospv2=false 29 sisvat=false30 29 inlandsis=false 31 30 rrtm=false 32 r rtm=false31 rad="" 33 32 dust=false 34 33 strataer=false … … 87 86 ######################################################################## 88 87 89 CPP_KEY=" "88 CPP_KEY="IN_LMDZ" 90 89 INCLUDE='-I$(LIBF)/grid -I$(LIBF)/misc -I$(LIBF)/filtrez -I. ' 91 90 LIB="" … … 122 121 [-cosp2 true/false] : compile with/without cosp2 package (default: false) 123 122 [-cospv2 true/false] : compile with/without cospv2 package (default: false) 124 [-sisvat true/false] : compile with/without sisvat package (default: false)125 123 [-inlandsis true/false] : compile with/without inlandsis package (default: false) 126 124 [-rrtm true/false] : compile with/without rrtm package (default: false) 125 [-rad old/rrtm/ecrad] : compile with old/rrtm/ecrad radiatif code (default: old) 127 126 [-dust true/false] : compile with/without the dust package from Boucher et al. (default: false) 128 127 [-strataer true/false] : compile with/without the strat aer package from Boucher et al. (default: false) … … 133 132 [-cpp CPP_KEY] : additional preprocessing definitions 134 133 [-adjnt] : adjoint model, not operational ... 135 [-mem] : reduced memory dynamics ( ifin parallel mode)134 [-mem] : reduced memory dynamics (obsolete flag; always on in parallel mode) 136 135 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 137 136 [-full] : Full (re)compilation (from scratch) … … 192 191 cospv2="$2" ; shift ; shift ;; 193 192 194 "-sisvat")195 sisvat="$2" ; shift ; shift ;;196 197 193 "-inlandsis") 198 194 inlandsis="$2" ; shift ; shift ;; 199 195 200 196 "-rrtm") 201 rrtm="$2" ; shift ; shift ;; 197 rrtm="$2" ; if [ "$2" = "false" ] ; then rad="old" ; else rad="rrtm" ; fi ; shift ; shift ;; 198 199 "-rad") 200 rad="$2" ; shift ; shift ;; 202 201 203 202 "-dust") … … 208 207 209 208 "-mem") 209 echo "option -mem is obsolete (now always on in parallel)" 210 210 paramem="mem" ; shift ;; 211 211 … … 353 353 if [[ "${physique:0:5}" == "venus" ]] ; then phys_root=venus ; fi 354 354 if [[ "${physique:0:5}" == "titan" ]] ; then phys_root=titan ; fi 355 if [[ "${physique:0:3}" == "mar" ]] ; then phys_root=mar ; fi356 355 if [[ "${physique:0:3}" == "dev" ]] ; then phys_root=dev ; fi 357 356 … … 518 517 519 518 520 if [[ "$sisvat" == "true" ]]521 then522 CPP_KEY="$CPP_KEY CPP_SISVAT"523 src_dirs="$src_dirs phy${physique}/sisvat"524 fi525 526 527 519 if [[ "$inlandsis" == "true" ]] 528 520 then … … 532 524 533 525 534 if [[ "$r rtm" == "true" ]]526 if [[ "$rad" == "rrtm" ]] 535 527 then 536 528 CPP_KEY="$CPP_KEY CPP_RRTM" 537 529 src_dirs="$src_dirs phy${physique}/rrtm" 538 530 fi 531 if [[ "$rad" == "ecrad" ]] 532 then 533 CPP_KEY="$CPP_KEY CPP_ECRAD" 534 src_dirs="$src_dirs phy${physique}/ecrad" 535 fi 539 536 540 537 if [[ "$dust" == "true" ]] … … 549 546 src_dirs="$src_dirs phy${physique}/StratAer" 550 547 fi 548 549 #add new ocean skin modelisation to source dir by default 550 551 src_dirs="$src_dirs phy${physique}/Ocean_skin" 551 552 552 553
Note: See TracChangeset
for help on using the changeset viewer.