Changeset 118
- Timestamp:
- May 12, 2011, 9:27:42 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 146 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mars/libf/phymars/callradite.F
r77 r118 266 266 name_iaer(1) = "dust_doubleq" 267 267 cc name_iaer(2) = "dust_submicron" !! JB: experimental 268 name_iaer(2) = "h2o_ice"268 c name_iaer(2) = "h2o_ice" 269 269 c ---------------------------------------------------------- 270 270 -
trunk/mars/libf/phymars/dimradmars.h
r77 r118 27 27 ! (ex: naerkind=2 if you use one dust mode and active ice ...) 28 28 integer naerkind 29 !parameter (naerkind=1)30 parameter (naerkind=2)29 parameter (naerkind=1) 30 ! parameter (naerkind=2) 31 31 32 32 ! Reference wavelengths used to compute reference optical depth (m) -
trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso
r81 r118 25 25 #changeregis=1 ## 1 if changed registry 26 26 i_want_to_compile=1 27 28 scenario="" 29 scenario="storm" 27 30 28 31 if [[ "${LMDMOD}" = "" ]] … … 62 65 echo '**********************************************' 63 66 newphys=1 67 if [[ ! ("${scenario}" == "") ]] 68 then 69 echo '** Scenario >>>' ${scenario} 70 echo '**********************************************' 71 fi 64 72 fi 65 73 … … 251 259 ./makemeso -d < tmp > /dev/null 252 260 else 253 ./makemeso -d -p < tmp > /dev/null 261 if [[ "${scenario}" == "" ]] 262 then 263 ./makemeso -d -p < tmp > /dev/null 264 else 265 ./makemeso -d -p -s ${scenario} < tmp > /dev/null 266 fi 254 267 fi 255 256 268 \rm tmp 2> /dev/null 257 269 work_folder=${meso_folder}'/'$(more what_folder) … … 366 378 ./makemeso -r < ${simu_folder}/makemeso_input 367 379 else 368 ./makemeso -r -p < ${simu_folder}/makemeso_input 380 if [[ "${scenario}" == "" ]] 381 then 382 ./makemeso -r -p < ${simu_folder}/makemeso_input 383 else 384 ./makemeso -r -p -s ${scenario} < ${simu_folder}/makemeso_input 385 fi 369 386 fi 370 387 ##****** -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r117 r118 1116 1116 1117 1117 1118 !!!!!!! 1119 !!!!!!! SPECIAL POUR AJOUTER UNE TACHE DE POUSSIERE (sparadrap) 1120 !!!!!!! ps: induit une erreur benigne sur la partie de pdq qui n'est pas zdqnorm 1121 !!!!!!! ps: la raison est que dt n'est pas passe dans meso_physiq 1122 !!!!!!! 1123 !IF (firstcall .EQV. .true.) THEN 1124 ! pdq(:,:,:) = pdq(:,:,:) / dt 1125 !ENDIF 1118 !!!!!! PATCH SPECIAL STORM 1119 #ifdef NEWPHYS 1120 #ifdef storm 1121 #include "../mars_lmd/storm.inc" 1122 #endif 1123 #endif 1124 !!!!!! PATCH SPECIAL STORM 1126 1125 1127 1126 -
trunk/mesoscale/LMD_MM_MARS/makemeso
r111 r118 34 34 fresh_start=0 35 35 phys="" 36 while getopts "drc:njhgpf" options; do 36 scenario="" 37 while getopts "drc:njhgpfs:" options; do 37 38 case $options in 38 d ) donotcompile=1;; ## just to check the compile folder 39 r ) donotallow=1;; ## allow only known config (useful with 'makemeso < last') 40 c ) config="${OPTARG}";; ## idealized cases 41 n ) donotcompilephys=1;; ## do not recompile physics 42 j ) justphys=1;; ## just compile LMD physics 43 g ) debug=1;; ## debug mode 44 p ) phys="newphys_";; ## with new physics 45 f ) fresh_start=1;; ## a fresh start 39 d ) donotcompile=1;; ## just to check the compile folder 40 r ) donotallow=1;; ## allow only known config (useful with 'makemeso < last') 41 c ) config="${OPTARG}";; ## idealized cases 42 n ) donotcompilephys=1;; ## do not recompile physics 43 j ) justphys=1;; ## just compile LMD physics 44 g ) debug=1;; ## debug mode 45 p ) phys="newphys_";; ## with new physics 46 f ) fresh_start=1;; ## a fresh start 47 s ) scenario="${OPTARG}";; ## a specific scenario, you need a corresponding "mars_lmd_..." 46 48 h ) echo " 47 49 # Use: … … 69 71 # 70 72 # makemeso -f ## fresh start [clean -a] 73 # 74 # makemeso -s storm ## a specific scenario, you need a corresponding mars_lmd_... (only for newphys) 71 75 " ; exit ;; 72 76 esac … … 143 147 #### 144 148 145 conf_wrf="${ phys}${compilo}_${machine}${single}${testflag}"149 conf_wrf="${scenario}${phys}${compilo}_${machine}${single}${testflag}" 146 150 \rm what_folder 2> /dev/null 147 151 echo ${conf_wrf} > what_folder … … 172 176 then 173 177 \rm copy_model_tmp > /dev/null 174 sed s+"mars_lmd"+"mars_lmd_new"+g copy_model > copy_model_tmp 178 if [[ "${scenario}" == "" ]] 179 then 180 sed s+"mars_lmd"+"mars_lmd_new"+g copy_model > copy_model_tmp 181 else 182 echo SCENARIO ${scenario} DID YOU INCLUDE THE RIGHT copy_model ? ; read dummy 183 sed s+"mars_lmd"+"mars_lmd_new_${scenario}"+g copy_model > copy_model_tmp 184 fi 175 185 chmod 755 copy_model_tmp 176 186 ./copy_model_tmp … … 178 188 mv WRFV2 ${conf_wrf}/ 179 189 cd ${conf_wrf}/WRFV2 180 ln -sf mars_lmd_new mars_lmd 190 if [[ "${scenario}" == "" ]] 191 then 192 ln -sf mars_lmd_new mars_lmd 193 else 194 ln -sf mars_lmd_new_${scenario} mars_lmd 195 cp ../../SRC/WRFV2/mars_lmd_new_${scenario}/Registry.EM mars_lmd_new_${scenario}/ 196 cp ../../SRC/WRFV2/mars_lmd_new_${scenario}/*.inc mars_lmd_new_${scenario}/ 197 cd Registry ; ln -sf ../mars_lmd_new_${scenario}/Registry.EM . ; cd .. 198 fi 181 199 ln -sf meso_callkeys_newphys.h meso_callkeys.h 182 200 cd Registry ; Registry.bash ; cd .. … … 356 374 fi 357 375 376 if [[ ! ("${scenario}" == "") ]] 377 then 378 sed s+"ARCHFLAGS = "+"ARCHFLAGS = -D${scenario} "+g configure.wrf > yeah 379 mv -f yeah configure.wrf 380 fi 381 358 382 if [ ${debug} -ne 0 ] # not working for xlf! 359 383 then
Note: See TracChangeset
for help on using the changeset viewer.