bartbrashers
New member
I'm running a 12/4/1.33 km simulation in central Alaska in the wintertime (T2 ranges from -40 degC to -5 degC). For a different WRF domain covering the North Slope, the MYNN2.5 PBL scheme worked very well, so I'd like to try it in this case too.
With both WRF-4.2 and WRF-4.2.2, I get a Segmentation fault after a few minutes of simulated time. I set debug_level = 300, and see the following:
All the other 31 threads' last printed line in rsl.error.* is the same as the calling inc/HALO_PWP_inline.inc line above.
This project is required to match the vertical eta levels from previous simulations of the same area, done by others before me. The eta levels they used (for WRF-3.1) are pretty intense:
The two lowest layers are about 3.4m deep, assuming 1000mb and 273K.
If I use a different set of eta_levels with ~10m deep lowest layers, I can avoid this crash. That seems like a big hint to me.
What are the next steps I should do to find the SegFault-causing bug?
With both WRF-4.2 and WRF-4.2.2, I get a Segmentation fault after a few minutes of simulated time. I set debug_level = 300, and see the following:
Code:
==> 2019-11-30/rsl.error.0012 <==
d02 2019-11-29_12:05:32 Top of Radiation Driver
d02 2019-11-29_12:05:32 SW surface irradiance interpolation
d02 2019-11-29_12:05:32 calling inc/HALO_PWP_inline.inc
d02 2019-11-29_12:05:32 call surface_driver
d02 2019-11-29_12:05:32 SST_UPDATE is on
d02 2019-11-29_12:05:32 in MYNNSFC
[c09:25092] *** Process received signal ***
[c09:25092] Signal: Segmentation fault (11)
[c09:25092] Signal code: Address not mapped (1)
[c09:25092] Failing at address: 0xfffffffe07fa40e4
All the other 31 threads' last printed line in rsl.error.* is the same as the calling inc/HALO_PWP_inline.inc line above.
This project is required to match the vertical eta levels from previous simulations of the same area, done by others before me. The eta levels they used (for WRF-3.1) are pretty intense:
Code:
e_vert = 39, 39, 39, 39, 39,
eta_levels = 1.0000, 0.9995, 0.9990, 0.9984, 0.99705,
0.99415, 0.99155, 0.9860, 0.9780, 0.9660,
0.9500, 0.9340, 0.9180, 0.9020, 0.8860,
0.8660, 0.8420, 0.8140, 0.7800, 0.7400,
0.6940, 0.6480, 0.6020, 0.5560, 0.5100,
0.4640, 0.4180, 0.3720, 0.3260, 0.2820,
0.2400, 0.2000, 0.1630, 0.1280, 0.0960,
0.0660, 0.0400, 0.0180, 0.0000,
The two lowest layers are about 3.4m deep, assuming 1000mb and 273K.
If I use a different set of eta_levels with ~10m deep lowest layers, I can avoid this crash. That seems like a big hint to me.
What are the next steps I should do to find the SegFault-causing bug?