zxdawn / WRF-Chem-LDA-LFR

WRF-Chem with LDA and LFR
3 stars 4 forks source link

WRF-CHEM hangs for domain_3 when auxinput5 is turned on #3

Closed zxdawn closed 4 years ago

zxdawn commented 4 years ago

Sometimes, WRF-Chem hangs at the init stage.

Here's the part of rsl.error.0000 for specific case (2020-09-01):

d02 2020-08-31_22:00:00 no gocart so2-so4 conversion
d02 2020-08-31_22:00:00 wetscav_driver calling wetscav_mozcart
d02 2020-08-31_22:00:00 washout: max rls @ (i,j,k)    0   0   0 =    0.000000
d02 2020-08-31_22:00:00 sum_pm_driver: calling sum_pm_gocart
d02 2020-08-31_22:00:00 done tileloop in chem_driver
d02 2020-08-31_22:00:00  DEBUG wrf_timetoa():  returning with str = [2020-08-31_22:00:00]
d02 2020-08-31_22:00:00  DEBUG wrf_timetoa():  returning with str = [2020-08-31_22:00:00]
d02 2020-08-31_22:00:00  DEBUG wrf_timetoa():  returning with str = [2020-09-01_12:00:00]
d02 2020-08-31_22:00:00  DEBUG wrf_timeinttoa():  returning with str = [0000000000_000:000:030]
 DEBUG domain_clockadvance():  before WRFU_ClockAdvance,  clock start time = 2020-08-31_22:00:00
 DEBUG domain_clockadvance():  before WRFU_ClockAdvance,  clock current time = 2020-08-31_22:00:00
 DEBUG domain_clockadvance():  before WRFU_ClockAdvance,  clock stop time = 2020-09-01_12:00:00
 DEBUG domain_clockadvance():  before WRFU_ClockAdvance,  clock time step = 0000000000_000:000:030
d02 2020-08-31_22:00:30  DEBUG wrf_timetoa():  returning with str = [2020-08-31_22:00:30]
d02 2020-08-31_22:00:30  DEBUG wrf_timetoa():  returning with str = [2020-08-31_22:00:00]
d02 2020-08-31_22:00:30  DEBUG wrf_timetoa():  returning with str = [2020-09-01_12:00:00]
d02 2020-08-31_22:00:30  DEBUG wrf_timeinttoa():  returning with str = [0000000000_000:000:030]
 DEBUG domain_clockadvance():  after WRFU_ClockAdvance,  clock start time = 2020-08-31_22:00:00
 DEBUG domain_clockadvance():  after WRFU_ClockAdvance,  clock current time = 2020-08-31_22:00:30
 DEBUG domain_clockadvance():  after WRFU_ClockAdvance,  clock stop time = 2020-09-01_12:00:00
 DEBUG domain_clockadvance():  after WRFU_ClockAdvance,  clock time step = 0000000000_000:000:030
d02 2020-08-31_22:00:30 module_integrate: back from solve interface
d03 2020-08-31_22:00:00 module_integrate: calling med_nest_force
d03 2020-08-31_22:00:00 calling inc/HALO_EM_COUPLE_A_inline.inc

According to https://github.com/zxdawn/WRF-Chem-LDA-LFR/blob/27051d8f235abe5e343df063c1e37d90056a4787/WRF-4.2/frame/module_integrate.F#L418-L420, it didn't back from med_nest_force.

zxdawn commented 4 years ago

This is caused by the wrong config file of wrfbio*.

As I ran the model from 2020-08-31 to 2020-09-01, I should set the duration of three months:

&control

domains = 4,
start_lai_mnth = 7,
end_lai_mnth   = 9,
wrf_dir   = './wrf/',
megan_dir = '../data/US/'
/

PS: posted it on the WRF forum to let more people realize the problem.