I am currently using WRF 4.5 to perform regional climate simulations over the Tibetan Plateau. However, I consistently encounter an error when running wrf.exe:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x151d5f527ad0 in ???
#1 0x151d5f526c35 in ???
#2 0x151d5f11851f in ???
#3 0x56100fda0090 in __module_ra_rrtm_MOD_taugb3
#4 0x56100fda1be7 in __module_ra_rrtm_MOD_gasabs
#5 0x56100fdb3e0f in __module_ra_rrtm_MOD_rrtm
#6 0x56100fdb685c in __module_ra_rrtm_MOD_rrtmlwrad
#7 0x56100f453e32 in __module_radiation_driver_MOD_radiation_driver
#8 0x56100f58bd62 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#9 0x56100ede549e in solve_em_
#10 0x56100ebd461a in solve_interface_
#11 0x56100dc06478 in __module_integrate_MOD_integrate
#12 0x56100db87b37 in __module_wrf_top_MOD_wrf_run
#13 0x56100db86fbe in main
```
Below is my namelist.input file:
&time_control
run_days = 0,
run_hours = 2,
run_minutes = 0,
run_seconds = 0,
start_year = 2023, 2023,
start_month = 05, 05,
start_day = 18, 18,
start_hour = 00, 00,
end_year = 2023, 2023,
end_month = 05, 05,
end_day = 18, 18,
end_hour = 02, 02,
interval_seconds = 3600
input_from_file = .true.,.true.,
history_interval = 360, 60,
frames_per_outfile = 1000, 1000,
restart = .false.,
restart_interval = 7200,
auxinput4_inname = "wrflowinp_d<domain>"
auxinput4_interval = 60
io_form_auxinput4 = 2
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
/
&domains
time_step = 30,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
e_we = 100, 133,
e_sn = 100, 136,
e_vert = 45, 45,
dzstretch_s = 1.1
p_top_requested = 5000,
num_metgrid_levels = 38,
num_metgrid_soil_levels = 4,
dx = 9000, 3000
dy = 9000, 3000
grid_id = 1, 2,
parent_id = 0, 1,
i_parent_start = 1, 29,
j_parent_start = 1, 28,
parent_grid_ratio = 1, 3,
parent_time_step_ratio = 1, 3,
feedback = 1,
smooth_option = 0
!epssm = 0.5
/
&physics
!physics_suite = 'CONUS'
!set_update = 1
mp_physics = 8, 8,
cu_physics = 0, 0,
ra_lw_physics = 1, 1,
ra_sw_physics = 1, 1,
bl_pbl_physics = 2, 2,
sf_sfclay_physics = 2, 2,
sf_surface_physics = 2, 2,
radt = 15, 15,
bldt = 0, 0,
cudt = 0, 0,
icloud = 1,
num_land_cat = 21,
sf_urban_physics = 0, 0,
fractional_seaice = 1,
/
&fdda
/
&dynamics
etac = 0.1
hybrid_opt = 2,
w_damping = 1,
diff_opt = 2, 2,
km_opt = 4, 4,
diff_6th_opt = 0, 0,
diff_6th_factor = 0.12, 0.12,
base_temp = 290.
damp_opt = 3,
zdamp = 5000., 5000.,
dampcoef = 0.2, 0.2,
khdif = 0, 0,
kvdif = 0, 0,
non_hydrostatic = .true., .true.,
moist_adv_opt = 1, 1,
scalar_adv_opt = 1, 1,
gwd_opt = 3, 3,
/
&bdy_control
spec_bdy_width = 5,
specified = .true.
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
Could anyone please advise on what I should do to avoid this issue?
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x151d5f527ad0 in ???
#1 0x151d5f526c35 in ???
#2 0x151d5f11851f in ???
#3 0x56100fda0090 in __module_ra_rrtm_MOD_taugb3
#4 0x56100fda1be7 in __module_ra_rrtm_MOD_gasabs
#5 0x56100fdb3e0f in __module_ra_rrtm_MOD_rrtm
#6 0x56100fdb685c in __module_ra_rrtm_MOD_rrtmlwrad
#7 0x56100f453e32 in __module_radiation_driver_MOD_radiation_driver
#8 0x56100f58bd62 in __module_first_rk_step_part1_MOD_first_rk_step_part1
#9 0x56100ede549e in solve_em_
#10 0x56100ebd461a in solve_interface_
#11 0x56100dc06478 in __module_integrate_MOD_integrate
#12 0x56100db87b37 in __module_wrf_top_MOD_wrf_run
#13 0x56100db86fbe in main
```
Below is my namelist.input file:
&time_control
run_days = 0,
run_hours = 2,
run_minutes = 0,
run_seconds = 0,
start_year = 2023, 2023,
start_month = 05, 05,
start_day = 18, 18,
start_hour = 00, 00,
end_year = 2023, 2023,
end_month = 05, 05,
end_day = 18, 18,
end_hour = 02, 02,
interval_seconds = 3600
input_from_file = .true.,.true.,
history_interval = 360, 60,
frames_per_outfile = 1000, 1000,
restart = .false.,
restart_interval = 7200,
auxinput4_inname = "wrflowinp_d<domain>"
auxinput4_interval = 60
io_form_auxinput4 = 2
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
/
&domains
time_step = 30,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
e_we = 100, 133,
e_sn = 100, 136,
e_vert = 45, 45,
dzstretch_s = 1.1
p_top_requested = 5000,
num_metgrid_levels = 38,
num_metgrid_soil_levels = 4,
dx = 9000, 3000
dy = 9000, 3000
grid_id = 1, 2,
parent_id = 0, 1,
i_parent_start = 1, 29,
j_parent_start = 1, 28,
parent_grid_ratio = 1, 3,
parent_time_step_ratio = 1, 3,
feedback = 1,
smooth_option = 0
!epssm = 0.5
/
&physics
!physics_suite = 'CONUS'
!set_update = 1
mp_physics = 8, 8,
cu_physics = 0, 0,
ra_lw_physics = 1, 1,
ra_sw_physics = 1, 1,
bl_pbl_physics = 2, 2,
sf_sfclay_physics = 2, 2,
sf_surface_physics = 2, 2,
radt = 15, 15,
bldt = 0, 0,
cudt = 0, 0,
icloud = 1,
num_land_cat = 21,
sf_urban_physics = 0, 0,
fractional_seaice = 1,
/
&fdda
/
&dynamics
etac = 0.1
hybrid_opt = 2,
w_damping = 1,
diff_opt = 2, 2,
km_opt = 4, 4,
diff_6th_opt = 0, 0,
diff_6th_factor = 0.12, 0.12,
base_temp = 290.
damp_opt = 3,
zdamp = 5000., 5000.,
dampcoef = 0.2, 0.2,
khdif = 0, 0,
kvdif = 0, 0,
non_hydrostatic = .true., .true.,
moist_adv_opt = 1, 1,
scalar_adv_opt = 1, 1,
gwd_opt = 3, 3,
/
&bdy_control
spec_bdy_width = 5,
specified = .true.
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
Could anyone please advise on what I should do to avoid this issue?