Hello all,
I am doing a simulation on WRFV3.9 but wrf.exe fails 20 days before finishing (I am running 2 months). I get the following error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7F130EFF9347
#1 0x7F130EFF995E
#2 0x3907C3291F
#3 0x230FAED in __module_sf_sfclayrev_MOD_psim_stable
#4 0x231431C in __module_sf_sfclayrev_MOD_sfclayrev1d
#5 0x2318236 in __module_sf_sfclayrev_MOD_sfclayrev
#6 0x1B82BE2 in __module_surface_driver_MOD_surface_driver
#7 0x1518FD7 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#8 0x10A741A in solve_em_
#9 0xF9DC6F in solve_interface_
#10 0x46B996 in __module_integrate_MOD_integrate
#11 0x407DC3 in __module_wrf_top_MOD_wrf_run
My domains are 27, 9 and 3 km. And even if the recommended time step should be 6*dx, I am running it with 90 because it already failed with 160.
Before I was trying to use version 3.9.1 but it was going very slow and it crashed even before. Now that I am trying with version 3.9 it went beyond and ran faster but still didn't finish.
I am wondering if I can restart the simulation trying with a smaller time step, but I am not sure if that will affect the outputs. Maybe should I start again all the test with another time step?
I would really really appreciate any clue about this error...I don't understand what it's happening since I ran the same case in V3.7 and it went well.
Thanks in advance!.
Just in case, this is the namelist.input I am using:
&time_control
run_days = 100,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2010, 2010, 2010,
start_month = 09, 09, 09,
start_day = 01, 01, 01,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2010, 2010, 2010,
end_month = 11, 11, 11,
end_day = 01, 01, 01,
end_hour = 00, 00, 00,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 21600,
input_from_file = .true., .true., .true.,
history_interval = 60, 60, 60,
frames_per_outfile = 1500, 1500, 1,
restart = .false.,
restart_interval = 10000,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
debug_level = 0,
/
&domains
time_step = 90,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
step_to_output_time = .true.
e_we = 132, 100, 55,
e_sn = 100, 88, 61,
e_vert = 50, 50, 50,
p_top_requested = 10286.1,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
dx = 27000, 9000, 3000,
dy = 27000, 9000, 3000,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 35, 22,
j_parent_start = 1, 31, 25,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 0,
smooth_option = 2,
eta_levels = 1.000, 0.9947, 0.9895, 0.9843, 0.979,
0.9739, 0.9684, 0.9626, 0.9564, 0.9498,
0.9426, 0.9348, 0.9262, 0.9167, 0.9062,
0.8946, 0.8816, 0.8671, 0.8509, 0.833,
0.813, 0.7909, 0.7667, 0.7402, 0.7116,
0.6809, 0.6483, 0.6141, 0.5785, 0.5419,
0.5047, 0.4672, 0.4299, 0.3931, 0.357,
0.322, 0.2883, 0.256, 0.2253, 0.1963,
0.169, 0.1435, 0.1171, 0.0952, 0.0753,
0.0571, 0.0407, 0.0257, 0.0122, 0.000,
/
&physics
mp_physics = 3, 3, 3,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 30, 30, 30,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 2,
bl_pbl_physics = 1, 1, 1,
bldt = 0, 0, 0,
cu_physics = 1, 1, 1,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 0,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
num_land_cat = 24,
sf_urban_physics = 0, 0, 0,
/
&fdda
/
&dynamics
w_damping = 0,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
diff_6th_opt = 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 0.12,
base_temp = 290.,
damp_opt = 0,
zdamp = 5000., 5000., 5000.,
dampcoef = 0.01, 0.01, 0.01,
khdif = 0, 0, 0,
kvdif = 0, 0, 0,
non_hydrostatic = .true., .true., .true.,
moist_adv_opt = 1, 1, 1,
scalar_adv_opt = 1, 1, 1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false., .false.,
nested = .false., .true., .true.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
I am doing a simulation on WRFV3.9 but wrf.exe fails 20 days before finishing (I am running 2 months). I get the following error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7F130EFF9347
#1 0x7F130EFF995E
#2 0x3907C3291F
#3 0x230FAED in __module_sf_sfclayrev_MOD_psim_stable
#4 0x231431C in __module_sf_sfclayrev_MOD_sfclayrev1d
#5 0x2318236 in __module_sf_sfclayrev_MOD_sfclayrev
#6 0x1B82BE2 in __module_surface_driver_MOD_surface_driver
#7 0x1518FD7 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#8 0x10A741A in solve_em_
#9 0xF9DC6F in solve_interface_
#10 0x46B996 in __module_integrate_MOD_integrate
#11 0x407DC3 in __module_wrf_top_MOD_wrf_run
My domains are 27, 9 and 3 km. And even if the recommended time step should be 6*dx, I am running it with 90 because it already failed with 160.
Before I was trying to use version 3.9.1 but it was going very slow and it crashed even before. Now that I am trying with version 3.9 it went beyond and ran faster but still didn't finish.
I am wondering if I can restart the simulation trying with a smaller time step, but I am not sure if that will affect the outputs. Maybe should I start again all the test with another time step?
I would really really appreciate any clue about this error...I don't understand what it's happening since I ran the same case in V3.7 and it went well.
Thanks in advance!.
Just in case, this is the namelist.input I am using:
&time_control
run_days = 100,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2010, 2010, 2010,
start_month = 09, 09, 09,
start_day = 01, 01, 01,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2010, 2010, 2010,
end_month = 11, 11, 11,
end_day = 01, 01, 01,
end_hour = 00, 00, 00,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 21600,
input_from_file = .true., .true., .true.,
history_interval = 60, 60, 60,
frames_per_outfile = 1500, 1500, 1,
restart = .false.,
restart_interval = 10000,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
debug_level = 0,
/
&domains
time_step = 90,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
step_to_output_time = .true.
e_we = 132, 100, 55,
e_sn = 100, 88, 61,
e_vert = 50, 50, 50,
p_top_requested = 10286.1,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
dx = 27000, 9000, 3000,
dy = 27000, 9000, 3000,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 35, 22,
j_parent_start = 1, 31, 25,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 0,
smooth_option = 2,
eta_levels = 1.000, 0.9947, 0.9895, 0.9843, 0.979,
0.9739, 0.9684, 0.9626, 0.9564, 0.9498,
0.9426, 0.9348, 0.9262, 0.9167, 0.9062,
0.8946, 0.8816, 0.8671, 0.8509, 0.833,
0.813, 0.7909, 0.7667, 0.7402, 0.7116,
0.6809, 0.6483, 0.6141, 0.5785, 0.5419,
0.5047, 0.4672, 0.4299, 0.3931, 0.357,
0.322, 0.2883, 0.256, 0.2253, 0.1963,
0.169, 0.1435, 0.1171, 0.0952, 0.0753,
0.0571, 0.0407, 0.0257, 0.0122, 0.000,
/
&physics
mp_physics = 3, 3, 3,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 30, 30, 30,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 2,
bl_pbl_physics = 1, 1, 1,
bldt = 0, 0, 0,
cu_physics = 1, 1, 1,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 0,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
num_land_cat = 24,
sf_urban_physics = 0, 0, 0,
/
&fdda
/
&dynamics
w_damping = 0,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
diff_6th_opt = 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 0.12,
base_temp = 290.,
damp_opt = 0,
zdamp = 5000., 5000., 5000.,
dampcoef = 0.01, 0.01, 0.01,
khdif = 0, 0, 0,
kvdif = 0, 0, 0,
non_hydrostatic = .true., .true., .true.,
moist_adv_opt = 1, 1, 1,
scalar_adv_opt = 1, 1, 1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false., .false.,
nested = .false., .true., .true.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/