Changeset 4013 for LMDZ6/branches/Ocean_skin/makelmdz_fcm
- 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_fcm
r3812 r4013 23 23 couple=false 24 24 veget=false 25 sisvat=false26 25 inlandsis=false 27 26 rrtm=false 27 rad="old" 28 28 dust=false 29 29 strataer=false 30 30 chimie=false 31 31 parallel=none 32 paramem=" par"32 paramem="mem" 33 33 compil_mod=prod 34 34 io=ioipsl … … 40 40 full='' 41 41 libphy=false 42 isotopes=false 43 isoverif=false 44 diagiso=false 45 isotrac=false 42 46 43 47 arch_defined="FALSE" … … 54 58 DYN_PHYS_SUB_PATH=$LMDGCM/.void_dir 55 59 PHY_COMMON_PATH=$LMDGCM/.void_dir 56 RRTM_PATH=$LMDGCM/.void_dir 60 RAD_PATH=$LMDGCM/.void_dir 61 INLANDSIS_PATH=$LMDGCM/.void_dir 57 62 DUST_PATH=$LMDGCM/.void_dir 58 63 STRATAER_PATH=$LMDGCM/.void_dir 59 SISVAT_PATH=$LMDGCM/.void_dir60 64 COSP_PATH=$LMDGCM/.void_dir 61 65 fcm_path=$LMDGCM/tools/fcm/bin … … 99 103 [-cosp2 true/false] : compile with/without cosp2 package (default: false) 100 104 [-cospv2 true/false] : compile with/without cospv2 package (default: false) 101 [-sisvat true/false] : compile with/without sisvat package (default: false)102 105 [-inlandsis true/false] : compile with/without inlandsis package (default: false) 103 106 [-rrtm true/false] : compile with/without rrtm package (default: false) 107 [-rad old/rrtm/ecrad] : compile with old/rrtm/ecrad radiatif code (default: old) 104 108 [-dust true/false] : compile with/without the dust package by Boucher and co (default: false) 105 109 [-strataer true/false] : compile with/without the strat aer package by Boucher and co (default: false) 110 [-isotopes true/false] : compile with/without water isotopes in the physics 111 [-isoverif true/false] : compile with/without verifications for water isotopes in the physics 112 [-diagiso true/false] : compile with/without special diagnostics for water isotopes in the physics 113 [-isotrac true/false] : compile with/without tracers of water isotopes in the physics 106 114 [-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp 107 115 [-g GRI] : grid configuration in dyn3d/GRI_xy.h (default: reg, inclues a zoom) … … 110 118 [-cpp CPP_KEY] : additional preprocessing definitions 111 119 [-adjnt] : adjoint model, not operational ... 112 [-mem] : reduced memory dynamics ( ifin parallel mode)120 [-mem] : reduced memory dynamics (obsolete flag; always on in parallel mode) 113 121 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 114 122 [-link LINKS] : additional links with other libraries … … 151 159 veget="$2" ; shift ; shift ;; 152 160 153 "-sisvat")154 sisvat="$2" ; shift ; shift ;;155 156 161 "-inlandsis") 157 inlandsis="$2" ; shift ; shift ;;162 inlandsis="$2" ; shift ; shift ;; 158 163 159 164 "-rrtm") 160 rrtm="$2" ; shift ; shift ;; 165 rrtm="$2" ; if [ "$2" = "false" ] ; then rad="old" ; else rad="rrtm" ; fi ; shift ; shift ;; 166 167 "-rad") 168 rad="$2" ; shift ; shift ;; 161 169 162 170 "-dust") … … 168 176 "-chimie") 169 177 chimie="$2" ; shift ; shift ;; 178 179 "-isotopes") 180 isotopes="$2" ; shift ; shift ;; 181 182 "-isoverif") 183 isoverif="$2" ; shift ; shift ;; 184 185 "-diagiso") 186 diagiso="$2" ; shift ; shift ;; 187 188 "-isotrac") 189 isotrac="$2" ; shift ; shift ;; 170 190 171 191 "-parallel") … … 193 213 194 214 "-mem") 215 echo "option -mem is obsolete (now always on in parallel)" 195 216 paramem="mem" ; shift ;; 196 217 … … 312 333 if [[ "${physique:0:5}" == "venus" ]] ; then phys_root=venus ; fi 313 334 if [[ "${physique:0:5}" == "titan" ]] ; then phys_root=titan ; fi 314 if [[ "${physique:0:3}" == "mar" ]] ; then phys_root=mar ; fi315 335 if [[ "${physique:0:3}" == "dev" ]] ; then phys_root=dev ; fi 316 336 … … 341 361 INCLUDE="$INCLUDE -I${INCA_INCDIR}" 342 362 LIB="$LIB -L${INCA_LIBDIR} -lchimie" 363 fi 364 365 if [[ "$isotopes" == "true" ]] 366 then 367 CPP_KEY="$CPP_KEY ISO" 368 fi 369 370 if [[ "$isoverif" == "true" ]] 371 then 372 CPP_KEY="$CPP_KEY ISOVERIF" 373 fi 374 375 if [[ "$diagiso" == "true" ]] 376 then 377 CPP_KEY="$CPP_KEY DIAGISO" 378 fi 379 380 if [[ "$isotrac" == "true" ]] 381 then 382 CPP_KEY="$CPP_KEY ISOTRAC" 343 383 fi 344 384 … … 414 454 fi 415 455 416 if [[ "$sisvat" == "true" ]]417 then418 CPP_KEY="$CPP_KEY CPP_SISVAT"419 SISVAT_PATH="$LIBFGCM/%PHYS/sisvat"420 fi421 422 456 if [[ "$inlandsis" == "true" ]] 423 457 then … … 427 461 428 462 429 if [[ "$r rtm" == "true" ]]463 if [[ "$rad" == "rrtm" ]] 430 464 then 431 465 CPP_KEY="$CPP_KEY CPP_RRTM" 432 RRTM_PATH="$LIBFGCM/%PHYS/rrtm" 466 RAD_PATH="$LIBFGCM/%PHYS/rrtm" 467 fi 468 if [[ "$rad" == "ecrad" ]] 469 then 470 CPP_KEY="$CPP_KEY CPP_ECRAD" 471 RAD_PATH="$LIBFGCM/%PHYS/ecrad" 433 472 fi 434 473 … … 658 697 fi 659 698 699 if [[ "$isotopes" == "true" ]] 700 then 701 SUFF_NAME=${SUFF_NAME}_iso 702 fi 703 if [[ "$isoverif" == "true" ]] 704 then 705 SUFF_NAME=${SUFF_NAME}_isoverif 706 fi 707 if [[ "$isotrac" == "true" ]] 708 then 709 SUFF_NAME=${SUFF_NAME}_isotrac 710 fi 711 if [[ "$diagiso" == "true" ]] 712 then 713 SUFF_NAME=${SUFF_NAME}_diagiso 714 fi 715 660 716 if [[ $libphy == "true" ]] 661 717 then … … 694 750 echo "%DYN_PHYS $DYN_PHYS_PATH" >> $config_fcm 695 751 echo "%DYN_PHYS_SUB $DYN_PHYS_SUB_PATH" >> $config_fcm 696 echo "%R RTM $RRTM_PATH" >> $config_fcm752 echo "%RAD $RAD_PATH" >> $config_fcm 697 753 echo "%DUST $DUST_PATH" >> $config_fcm 698 754 echo "%STRATAER $STRATAER_PATH" >> $config_fcm 699 echo "%SISVAT $SISVAT_PATH" >> $config_fcm700 755 echo "%INLANDSIS $INLANDSIS_PATH" >> $config_fcm 701 756 echo "%COSP $COSP_PATH" >> $config_fcm
Note: See TracChangeset
for help on using the changeset viewer.