melpomene23
New member
Hi,
I am trying to run a simulation with spectral nudging in WRFV4. I first encountered a problem with the run after two hours into the simulation and decided to find the problem with WRF in debug mode, compiled after "./configure -D ". The errors that I get are:
forrtl: severe (408): fort: (2): Subscript #1 of the array CH2 has value 722 which is greater than the upper bound of 1
Image PC Routine Line Source
wrf.exe 000000000C8A9396 Unknown Unknown Unknown
wrf.exe 000000000C01F8E7 mradfg_ 103 mradfg.f90
wrf.exe 000000000BDD5A3F mrftf1_ 140 mrftf1.f90
wrf.exe 000000000BDCB415 rfftmf_ 135 rfftmf.f90
wrf.exe 0000000007D9B610 module_fdda_spnud 1269 module_fdda_spnudging.f90
wrf.exe 0000000007D98896 module_fdda_spnud 1163 module_fdda_spnudging.f90
wrf.exe 0000000007D7C201 module_fdda_spnud 608 module_fdda_spnudging.f90
wrf.exe 0000000007DB62FF module_fddagd_dri 598 module_fddagd_driver.f90
wrf.exe 00000000048B5A17 module_first_rk_s 824 module_first_rk_step_part1.f90
wrf.exe 000000000381019E solve_em_ 892 solve_em.f90
wrf.exe 00000000032B920B solve_interface_ 121 solve_interface.f90
wrf.exe 000000000052AA76 module_integrate_ 329 module_integrate.f90
wrf.exe 000000000040A8D3 module_wrf_top_mp 324 module_wrf_top.f90
wrf.exe 0000000000409D65 MAIN__ 29 wrf.f90
wrf.exe 0000000000409D1E Unknown Unknown Unknown
libc-2.19.so 00002AAAABE69B25 __libc_start_main Unknown Unknown
wrf.exe 0000000000409C29 Unknown Unknown Unknown
Here is my namelist.input:
&time_control
start_year = 2017, 2017,
start_month = 07, 07,
start_day = 17, 17,
start_hour = 00, 00,
start_minute = 00, 00,
start_second = 00, 00,
end_year = 2017, 2017,
end_month = 07, 07,
end_day = 17, 17,
end_hour = 06, 06,
end_minute = 00, 00,
end_second = 00, 00,
interval_seconds = 10800,
input_from_file = .true.,.true.,
history_interval = 10, 10,
frames_per_outfile = 30, 500,
restart = .false.,
restart_interval = 5000,
io_form_history = 12
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
debug_level = 0
iofields_filename = "my_file.txt", "my_file.txt",
ignore_iofields_warning = .true.,
nocolons = .true.
/
&pio_control
usepio = .true.,
pioprocs = 100,
piostart = 0,
piostride = 36,
/
&domains
time_step = 15,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
e_we = 721, 901,
e_sn = 721, 901,
e_vert = 65, 65,
eta_levels = 1.0000, 0.9975, 0.9950, 0.9926, 0.9901, 0.9876, 0.9852,
0.9827, 0.9802, 0.9778, 0.9751, 0.9721, 0.9689, 0.9652,
0.9612, 0.9566, 0.9516, 0.9459, 0.9395, 0.9324, 0.9244,
0.9154, 0.9054, 0.8942, 0.8817, 0.8678, 0.8523, 0.8353,
0.8166, 0.7962, 0.7740, 0.7501, 0.7244, 0.6970, 0.6682,
0.6379, 0.6065, 0.5740, 0.5409, 0.5074, 0.4736, 0.4400,
0.4068, 0.3742, 0.3425, 0.3118, 0.2823, 0.2541, 0.2274,
0.2022, 0.1761, 0.1541, 0.1340, 0.1157, 0.0990, 0.0839,
0.0703, 0.0579, 0.0468, 0.0368, 0.0278, 0.0196, 0.0124,
0.0058, 0.0000,
p_top_requested = 5000,
sfcp_to_sfcp = .true.,
num_metgrid_levels = 32,
num_metgrid_soil_levels = 4,
dx = 4050, 1350,
dy = 4050, 1350,
grid_id = 1, 2,
parent_id = 0, 1,
i_parent_start = 1, 211,
j_parent_start = 1, 211,
parent_grid_ratio = 1, 3,
parent_time_step_ratio = 1, 3,
feedback = 1,
smooth_option = 1,
rh2qv_method = 2,
wif_input_opt = 1,
num_wif_levels = 30,
/
&physics
mp_physics = 28, 28,
use_aero_icbc = .true.,
ra_lw_physics = 4, 4,
ra_sw_physics = 4, 4,
sf_sfclay_physics = 1, 1,
sf_surface_physics = 2, 2,
bl_pbl_physics = 9, 9,
cu_physics = 0, 0,
shcu_physics = 2, 2,
icloud = 1,
isfflx = 1,
ifsnow = 1,
swint_opt = 1,
radt = 5, 5,
bldt = 0, 0,
num_soil_layers = 4,
num_land_cat = 21,
sf_urban_physics = 0, 0,
iz0tlnd = 1,
isftcflx = 2,
grav_settling = 0, 0,
o3input = 2,
scalar_pblmix = 1,
aer_opt = 3,
/
&fdda
grid_fdda = 2, 2,
gfdda_inname = "wrffdda_d<domain>",
gfdda_interval_m = 180, 180,
gfdda_end_h = 6, 6,
io_form_gfdda = 2,
fgdt = 0, 0,
if_no_pbl_nudging_ph = 1, 1,
if_no_pbl_nudging_uv = 1, 1,
if_no_pbl_nudging_t = 1, 1,
if_no_pbl_nudging_q = 1, 1,
gph = 0.0003, 0.0003
guv = 0.0003, 0.0003,
gt = 0.000045, 0.000045
gq = 0.000045, 0.000045
if_ramping = 0,
xwavenum = 4, 2,
ywavenum = 4, 2,
/
&dynamics
w_damping = 1,
diff_opt = 2, 2,
km_opt = 4, 4,
diff_6th_opt = 2, 2,
diff_6th_factor = 0.3, 0.3,
base_temp = 290.
damp_opt = 3,
zdamp = 5000., 5000.,
dampcoef = 0.25, 0.25,
h_mom_adv_order = 5, 5,
h_sca_adv_order = 5, 5,
v_mom_adv_order = 3, 3,
v_sca_adv_order = 3, 3,
non_hydrostatic = .true., .true.,
moist_adv_opt = 4, 4,
scalar_adv_opt = 4, 4,
chem_adv_opt = 2, 2,
tke_adv_opt = 4, 4,
momentum_adv_opt = 3, 3,
gwd_opt = 0,
use_theta_m = 1,
use_q_diabatic = 1,
epssm = 0.2, 0.2,
emdiv = 0.01, 0.01,
smdiv = 0.1, 0.1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false.,
nested = .false., .true.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
As a note, I am using WRF with PIO, and Thompson aerosol_aware microphysics scheme, using the aerosol data incorporated in met_em files.
I tried the same prodecure with regular netcdf (io_form_history=2 instead of 12), and got the same errors. However, the debug mode ran successfully for 20 minutes in the simulation without any errors without spectral nudging.
It's my first time using spectral nudging, so I was wondering if there's something I'm doing wrong.
I really appreciate help with this problem, the sooner the better.
Thanks,
I am trying to run a simulation with spectral nudging in WRFV4. I first encountered a problem with the run after two hours into the simulation and decided to find the problem with WRF in debug mode, compiled after "./configure -D ". The errors that I get are:
forrtl: severe (408): fort: (2): Subscript #1 of the array CH2 has value 722 which is greater than the upper bound of 1
Image PC Routine Line Source
wrf.exe 000000000C8A9396 Unknown Unknown Unknown
wrf.exe 000000000C01F8E7 mradfg_ 103 mradfg.f90
wrf.exe 000000000BDD5A3F mrftf1_ 140 mrftf1.f90
wrf.exe 000000000BDCB415 rfftmf_ 135 rfftmf.f90
wrf.exe 0000000007D9B610 module_fdda_spnud 1269 module_fdda_spnudging.f90
wrf.exe 0000000007D98896 module_fdda_spnud 1163 module_fdda_spnudging.f90
wrf.exe 0000000007D7C201 module_fdda_spnud 608 module_fdda_spnudging.f90
wrf.exe 0000000007DB62FF module_fddagd_dri 598 module_fddagd_driver.f90
wrf.exe 00000000048B5A17 module_first_rk_s 824 module_first_rk_step_part1.f90
wrf.exe 000000000381019E solve_em_ 892 solve_em.f90
wrf.exe 00000000032B920B solve_interface_ 121 solve_interface.f90
wrf.exe 000000000052AA76 module_integrate_ 329 module_integrate.f90
wrf.exe 000000000040A8D3 module_wrf_top_mp 324 module_wrf_top.f90
wrf.exe 0000000000409D65 MAIN__ 29 wrf.f90
wrf.exe 0000000000409D1E Unknown Unknown Unknown
libc-2.19.so 00002AAAABE69B25 __libc_start_main Unknown Unknown
wrf.exe 0000000000409C29 Unknown Unknown Unknown
Here is my namelist.input:
&time_control
start_year = 2017, 2017,
start_month = 07, 07,
start_day = 17, 17,
start_hour = 00, 00,
start_minute = 00, 00,
start_second = 00, 00,
end_year = 2017, 2017,
end_month = 07, 07,
end_day = 17, 17,
end_hour = 06, 06,
end_minute = 00, 00,
end_second = 00, 00,
interval_seconds = 10800,
input_from_file = .true.,.true.,
history_interval = 10, 10,
frames_per_outfile = 30, 500,
restart = .false.,
restart_interval = 5000,
io_form_history = 12
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
debug_level = 0
iofields_filename = "my_file.txt", "my_file.txt",
ignore_iofields_warning = .true.,
nocolons = .true.
/
&pio_control
usepio = .true.,
pioprocs = 100,
piostart = 0,
piostride = 36,
/
&domains
time_step = 15,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
e_we = 721, 901,
e_sn = 721, 901,
e_vert = 65, 65,
eta_levels = 1.0000, 0.9975, 0.9950, 0.9926, 0.9901, 0.9876, 0.9852,
0.9827, 0.9802, 0.9778, 0.9751, 0.9721, 0.9689, 0.9652,
0.9612, 0.9566, 0.9516, 0.9459, 0.9395, 0.9324, 0.9244,
0.9154, 0.9054, 0.8942, 0.8817, 0.8678, 0.8523, 0.8353,
0.8166, 0.7962, 0.7740, 0.7501, 0.7244, 0.6970, 0.6682,
0.6379, 0.6065, 0.5740, 0.5409, 0.5074, 0.4736, 0.4400,
0.4068, 0.3742, 0.3425, 0.3118, 0.2823, 0.2541, 0.2274,
0.2022, 0.1761, 0.1541, 0.1340, 0.1157, 0.0990, 0.0839,
0.0703, 0.0579, 0.0468, 0.0368, 0.0278, 0.0196, 0.0124,
0.0058, 0.0000,
p_top_requested = 5000,
sfcp_to_sfcp = .true.,
num_metgrid_levels = 32,
num_metgrid_soil_levels = 4,
dx = 4050, 1350,
dy = 4050, 1350,
grid_id = 1, 2,
parent_id = 0, 1,
i_parent_start = 1, 211,
j_parent_start = 1, 211,
parent_grid_ratio = 1, 3,
parent_time_step_ratio = 1, 3,
feedback = 1,
smooth_option = 1,
rh2qv_method = 2,
wif_input_opt = 1,
num_wif_levels = 30,
/
&physics
mp_physics = 28, 28,
use_aero_icbc = .true.,
ra_lw_physics = 4, 4,
ra_sw_physics = 4, 4,
sf_sfclay_physics = 1, 1,
sf_surface_physics = 2, 2,
bl_pbl_physics = 9, 9,
cu_physics = 0, 0,
shcu_physics = 2, 2,
icloud = 1,
isfflx = 1,
ifsnow = 1,
swint_opt = 1,
radt = 5, 5,
bldt = 0, 0,
num_soil_layers = 4,
num_land_cat = 21,
sf_urban_physics = 0, 0,
iz0tlnd = 1,
isftcflx = 2,
grav_settling = 0, 0,
o3input = 2,
scalar_pblmix = 1,
aer_opt = 3,
/
&fdda
grid_fdda = 2, 2,
gfdda_inname = "wrffdda_d<domain>",
gfdda_interval_m = 180, 180,
gfdda_end_h = 6, 6,
io_form_gfdda = 2,
fgdt = 0, 0,
if_no_pbl_nudging_ph = 1, 1,
if_no_pbl_nudging_uv = 1, 1,
if_no_pbl_nudging_t = 1, 1,
if_no_pbl_nudging_q = 1, 1,
gph = 0.0003, 0.0003
guv = 0.0003, 0.0003,
gt = 0.000045, 0.000045
gq = 0.000045, 0.000045
if_ramping = 0,
xwavenum = 4, 2,
ywavenum = 4, 2,
/
&dynamics
w_damping = 1,
diff_opt = 2, 2,
km_opt = 4, 4,
diff_6th_opt = 2, 2,
diff_6th_factor = 0.3, 0.3,
base_temp = 290.
damp_opt = 3,
zdamp = 5000., 5000.,
dampcoef = 0.25, 0.25,
h_mom_adv_order = 5, 5,
h_sca_adv_order = 5, 5,
v_mom_adv_order = 3, 3,
v_sca_adv_order = 3, 3,
non_hydrostatic = .true., .true.,
moist_adv_opt = 4, 4,
scalar_adv_opt = 4, 4,
chem_adv_opt = 2, 2,
tke_adv_opt = 4, 4,
momentum_adv_opt = 3, 3,
gwd_opt = 0,
use_theta_m = 1,
use_q_diabatic = 1,
epssm = 0.2, 0.2,
emdiv = 0.01, 0.01,
smdiv = 0.1, 0.1,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false.,
nested = .false., .true.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
As a note, I am using WRF with PIO, and Thompson aerosol_aware microphysics scheme, using the aerosol data incorporated in met_em files.
I tried the same prodecure with regular netcdf (io_form_history=2 instead of 12), and got the same errors. However, the debug mode ran successfully for 20 minutes in the simulation without any errors without spectral nudging.
It's my first time using spectral nudging, so I was wondering if there's something I'm doing wrong.
I really appreciate help with this problem, the sooner the better.
Thanks,