Changeset 3908 for LMDZ6/trunk/makelmdz
- Timestamp:
- May 20, 2021, 9:11:13 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/makelmdz
r3901 r3908 29 29 inlandsis=false 30 30 rrtm=false 31 rrtm=false 31 ecrad=false 32 rad="" 32 33 dust=false 33 34 strataer=false … … 123 124 [-inlandsis true/false] : compile with/without inlandsis package (default: false) 124 125 [-rrtm true/false] : compile with/without rrtm package (default: false) 126 [-ecrad true/false] : compile with/without ecrad package (default: false) 127 [-rad old/rrtm/ecrad] : compile with old/rrtm/ecrad radiatif code (default: old) 125 128 [-dust true/false] : compile with/without the dust package from Boucher et al. (default: false) 126 129 [-strataer true/false] : compile with/without the strat aer package from Boucher et al. (default: false) … … 194 197 195 198 "-rrtm") 196 rrtm="$2" ; shift ; shift ;; 199 rrtm="$2" ; if [ "$2" = "false" ] ; then rad="old" ; else rad="rrtm" ; fi ; shift ; shift ;; 200 201 "-ecrad") 202 ecrad="$2" ; if [ "$2" = "true" ] ; then rad="ecrad" ; fi; shift ; shift ;; 203 204 "-rad") 205 rad="$2" ; shift ; shift ;; 197 206 198 207 "-dust") … … 520 529 521 530 522 if [[ "$r rtm" == "true" ]]531 if [[ "$rad" == "rrtm" ]] 523 532 then 524 533 CPP_KEY="$CPP_KEY CPP_RRTM" 525 534 src_dirs="$src_dirs phy${physique}/rrtm" 535 fi 536 if [[ "$rad" == "ecrad" ]] 537 then 538 CPP_KEY="$CPP_KEY CPP_ECRAD" 539 src_dirs="$src_dirs phy${physique}/ecrad" 526 540 fi 527 541
Note: See TracChangeset
for help on using the changeset viewer.