Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Wrf.exe error. Segmentation fault - invalid memory reference

Kongs

Member
Hello everyone, when I am running wrf.exe with a small scale of 222m, it displays Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error. I feel that it is due to the influence of complex terrain. Below is my namelist. input file, seeking everyone's help!
Thank you!
&time_control
run_days = 3,
run_hours = 12,
run_minutes = 0,
run_seconds = 0,
start_year =2021, 2021, 2021, 2021
start_month = 09, 09, 09, 09
start_day = 27, 27, 27, 27
start_hour = 00, 00, 00, 00
end_year = 2021, 2021, 2021, 2021
end_month = 09, 09, 09, 09
end_day = 30, 30, 30, 30
end_hour =12, 12, 12, 12
interval_seconds = 21600
input_from_file = .true.,.true.,.true.,.true.,
history_interval = 60, 60, 60, 60,
frames_per_outfile = 1000, 1000, 1000, 1000,
restart = .false.,
restart_interval = 7200,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
debug_level = 0,
/

&domains
time_step = 0,
time_step_fract_num = 3,
time_step_fract_den = 10,
max_dom = 1,
e_we = 109, 109, 109, 109,
e_sn = 109, 109, 109, 109,
e_vert = 58, 58, 58, 58,
p_top_requested = 5000,
eta_levels=1,0.9965,0.993,0.989666667,0.986333333,0.983,0.9765,0.97,0.962,0.954,0.944,0.934,0.9215,0.909,0.8945,0.88,0.8547147,0.8294294,0.8041441,0.7788588,0.7317745,0.6868948,0.6441336,0.6034079,0.5646371,0.5277435,0.492652,0.45929,0.4275872,0.3974758,0.3688904,0.3417678,0.3160468,0.2916686,0.2685761,0.2467147,0.2260311,0.2064745,0.1879954,0.1705464,0.1540817,0.1385571,0.1239301,0.1102429,0.09761681,0.08596946,0.07522503,0.0653135,0.05617033,0.04773594,0.03995539,0.03277799,0.02615699,0.020004926,0.014415,0.009217507,0.004422931,0,
num_metgrid_levels = 34,
num_metgrid_soil_levels = 4,
dx = 222.222, 666.667, 222.222, 74.074,
dy = 222.222, 666.667, 222.222, 74.074,
grid_id = 1, 2, 3, 4
parent_id = 0, 1, 2, 3
i_parent_start = 1, 36, 36, 36,
j_parent_start = 1, 36, 36, 36,
parent_grid_ratio = 1, 3, 3, 3,
parent_time_step_ratio = 1, 3, 3, 3,
feedback = 0,
smooth_option = 0,
smooth_cg_topo = .true.,
/

&physics
mp_physics = 0, 6, 0, 0,
cu_physics = 0, 10, 0, 0,
ra_lw_physics = 0, 4, 4, 4,
ra_sw_physics = 0, 4, 4, 4,
bl_pbl_physics = 0, 1, 0, 0,
sf_sfclay_physics = 1, 1, 1, 1,
sf_surface_physics =0, 4, 4, 4,
topo_wind = 0, 1, 0, 0,
ua_phys =.true.,
radt = 0, 9, 0, 0,
bldt = 0, 0, 0, 0,
cudt = 0, 5, 0, 0,
icloud = 0,
num_land_cat = 21,
sf_urban_physics = 0, 0, 0, 0,
/

&fdda
grid_fdda = 1, 1, 1, 1
gfdda_inname = "wrffdda_d<domain>"
gfdda_interval_m = 360, 360, 360, 360
gfdda_end_h = 6, 6, 6, 6
io_form_gfdda = 2
fgdt = 0, 0, 0, 0
if_no_pbl_nudging_uv = 0, 0, 0, 0
if_no_pbl_nudging_t = 0, 1, 0, 0
if_no_pbl_nudging_q = 0, 1, 0, 0
guv = 0.0001, 0.0001, 0.0001, 0.0001
gt = 0.0001, 0.0001, 0.0001, 0.0001
gq = 0.0001, 0.0001, 0.0001, 0.0001
if_ramping = 0
dtramp_min =60.0
/

&dynamics
w_damping = 0,
diff_opt = 2, 1, 1, 1,
km_opt = 3, 4, 4, 4,
diff_6th_opt = 0, 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 0.12, 0.12,
base_temp = 290.,
damp_opt = 3,
zdamp = 5000., 5000., 5000., 5000.,
dampcoef = 0.2, 0.2, 0.2, 0.2,
khdif = 0, 0, 0, 0,
kvdif = 0, 0, 0, 0,
non_hydrostatic = .true., .true., .true., .true.,
moist_adv_opt = 1, 1, 1, 1,
scalar_adv_opt = 1, 1, 1, 1,
/

&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true.
nested = .false., .true., .true., .true.,
/

&grib2
/

&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/

&scm
scm_wind_adv =.true.
scm_force_wind_largescale =.true.
/
 

Attachments

  • CFL.png
    CFL.png
    28.1 KB · Views: 8
HI,
Take a look at this FAQ that discusses segmentation faults, but specifically information about CFL errors. It looks like you're already using a low time step, and using smooth_cg_top, but you could also try the 'epssm' option. Make sure to re-run real.exe after making those changes.
 
Top