Problem "invalid memory reference"

Any issues with running WRF Chemistry

Problem "invalid memory reference"

Postby Christian813 » Tue Dec 13, 2016 1:16 pm

Hi, my name is Christian Álvarez,

I've been trying to simulate a dust storm, I need to know the the concentration and load of the PM10. I tried with the chem_opt = 401 dust only concentration but I don't get the PM10 information, it says that PM10 is zero from beginning to end and that's no possible. So I tried with the chem_opt = 300 GOCART simple because I've read that it has PM10 outputs but I have an error that says:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7FAFEFCBD777
#1 0x7FAFEFCBDD7E
#2 0x7FAFEF3F9D3F
#3 0x1FFBF25 in __module_gocart_settling_MOD_settling
#4 0x1FFCE9B in __module_gocart_settling_MOD_gocart_settling_driver
#5 0x1A2AE62 in __module_dry_dep_driver_MOD_dry_dep_driver
#6 0x19F4F11 in chem_driver_
#7 0x18FBCD9 in solve_interface_
#8 0x478C6F in __module_integrate_MOD_integrate
#9 0x4790A3 in __module_integrate_MOD_integrate
#10 0x4790A3 in __module_integrate_MOD_integrate
#11 0x404DB3 in __module_wrf_top_MOD_wrf_run
Violación de segmento (`core' generado)

I've been changing the chemdt using 0, 1.5, 5, 3.0, 30, 15, 60, 120 and it made no difference.

I'm only interested in dust and PM10 variables, my namelist is:

&time_control
run_days = 6,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2007, 2007, 2007,
start_month = 10, 10, 10,
start_day = 21, 21, 21,
start_hour = 00, 00, 00,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2007, 2007, 2007,
end_month = 10, 10, 10,
end_day = 23, 23, 23,
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 = 120, 30, 10,
frames_per_outfile = 1000, 1000, 1000,
restart = .false.,
restart_interval = 5000,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
io_form_auxinput4 = 0,
io_form_auxinput5 = 0,
debug_level = 0,
/

&domains
time_step = 48,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
e_we = 100, 88, 76,
e_sn = 100, 88, 76,
e_vert = 29, 29, 29,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
dx = 9000, 3000, 1000,
dy = 9000, 3000, 1000,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 36, 32,
j_parent_start = 1, 36, 32,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0,
/

&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, 0,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 0,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
sf_urban_physics = 0, 0, 0,
maxiens = 1,
maxens = 3,
maxens2 = 3,
maxens3 = 16,
ensdim = 144,
cu_rad_feedback = .true.,
/

&fdda
/

&dynamics
w_damping = 0,
diff_opt = 1,
km_opt = 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.2, 0.2, 0.2,
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,
chem_adv_opt = 2, 0, 0,
tke_adv_opt = 2, 0, 0,
time_step_sound = 4, 4, 4,
h_mom_adv_order = 5, 5, 5,
v_mom_adv_order = 3, 3, 3,
h_sca_adv_order = 5, 5, 5,
v_sca_adv_order = 3, 3, 3,
/


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

&grib2
/

&chem
kemit = 10,
chem_opt = 300, 300, 300,
chemdt = 3.0, 3.0, 3.0,
io_style_emissions = 0,
dust_opt = 4,

chem_conv_tr = 0, 0, 0,
diagnostic_chem = 0,
/


&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/

I really need to know what I'm doing wrong since I'm new with chem. Thank you very much, I hope you could help me.

Christian Álvarez
Christian813
 
Posts: 11
Joined: Thu Nov 17, 2016 6:54 pm

Re: Problem "invalid memory reference"

Postby sdhital » Thu Jul 19, 2018 2:45 am

hello Christian,
This is Saroj Dhital.

I am also trying to run wrf-chem only with dust option without any emission data. In your post, you mentioned that you were able to run the model for dust option(chem_opt =401 and dust_opt =1). I am having the problem while running only with dust option. I can run the model with the coarser resolution but not able to run with finer resolution. I have attached my namelist.input file, can you please tell me if I am doing something wrong here.

&time_control
run_days = 3,
run_hours = 18,
run_minutes = 0,
run_seconds = 0,
start_year = 2008, 2008, 2008,
start_month = 10, 10, 10,
start_day = 08, 08, 08,
start_hour = 00, 06, 12,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2008, 2008, 2008,
end_month = 10, 10, 10,
end_day = 11, 11, 11,
end_hour = 12, 12, 12,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 21600,
input_from_file = .true.,.true.,.true.,
history_interval = 360, 60, 60,
frames_per_outfile = 1, 6, 6,
restart = .false.,
restart_interval = 360,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
debug_level = 50,
/

&domains
time_step = 90,
use_adaptive_time_step = .true.,
step_to_output_time = .true.,
target_cfl = 0.9, 0.9, 0.9,
starting_time_step = -1, -1, -1, -1,
max_time_step = 216, 72, 24, 24,
min_time_step = -1, -1, -1, -1,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
e_we = 285, 550, 916,
e_sn = 255, 616, 916,
e_vert = 40, 40, 40,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
dx = 18000, 6000, 2000,
dy = 18000, 6000, 2000,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 62, 135,
j_parent_start = 1, 18, 71,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 0,
smooth_option = 1,
/

&physics
mp_physics = 2, 2, 2,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 2, 2, 2,
radt = 30, 30, 30,
sf_sfclay_physics = 2, 2, 2,
sf_surface_physics = 2, 2, 2,
bl_pbl_physics = 2, 2, 2,
bldt = 0, 0, 0,
cu_physics = 5, 0, 0,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 0,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
sf_urban_physics = 0, 0, 0,


/

&fdda
/

&chem
chem_opt =401,401,401,
chem_dt = 0,0,0,
dust_opt =1,
chem_conv_tr =0,0,0,
gas_drydep_opt = 0,0,0,
phot_opt = 0,0,0,
gaschem_onoff = 0,0,0,
/

&dynamics
w_damping = 0,
diff_opt = 2, 2, 2,
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.2, 0.2, 0.2,
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,
gwd_opt = 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,

Thanks in advance!!!
sdhital
 
Posts: 2
Joined: Thu Jul 19, 2018 2:10 am


Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 2 guests