WRF stops immediately..Help!

263 views
Skip to first unread message

SAHIR AZMI

unread,
Mar 9, 2021, 4:13:24 PM3/9/21
to wrf-chem-run
tail rsl.error.0000
#3 0x2BAD510 in __module_ra_rrtm_MOD_taugb3
#4 0x2BAEF0A in __module_ra_rrtm_MOD_gasabs
#5 0x2BC30AB in __module_ra_rrtm_MOD_rrtm
#6 0x2BC81F8 in __module_ra_rrtm_MOD_rrtmlwrad
#7 0x22ADF01 in __module_radiation_driver_MOD_radiation_driver
#8 0x27E8D8C in __module_first_rk_step_part1_MOD_first_rk_step_part1
#9 0x1D38DAF in solve_em_
#10 0x1B7D279 in solve_interface_
#11 0x485B5A in __module_integrate_MOD_integrate
#12 0x408793 in __module_wrf_top_MOD_wrf_run


I have gone through different solutions given on this forum like reducing time step and smoothing options and changing processors but nothing worked.
Actually, this was working before but recently I have recompiled WRF to include many variables which I need by modifying the registry file. Compilation worked fine but now it is giving this error during run.

namelist attached.


 &time_control
 run_days                            = 0,
 run_hours                           = 0,
 run_minutes                         = 0,
 run_seconds                         = 0,
 start_year                          = 2017, 2000, 2000,
 start_month                         = 11,   01,   01,
 start_day                           = 15,   24,   24,
 start_hour                          = 00,   12,   12,
 start_minute                        = 00,   00,   00,
 start_second                        = 00,   00,   00,
 end_year                            = 2017, 2000, 2000,
 end_month                           = 12,   01,   01,
 end_day                             = 31,   25,   25,
 end_hour                            = 18,   12,   12,
 end_minute                          = 00,   00,   00,
 end_second                          = 00,   00,   00,
 interval_seconds                    = 3600
 input_from_file                     = .true.,.true.,.true.,
 history_interval                    = 60,  60,   60,
 frames_per_outfile                  = 10000, 1000, 1000,
 restart                             = .false.,
 restart_interval                    = 5000,
 io_form_history                     = 2,
 io_form_restart                     = 2,
 io_form_input                       = 2,
 io_form_boundary                    = 2,
 frames_per_auxinput5                = 1,
 frames_per_auxinput6                = 1
 frames_per_auxinput7                = 1
 io_form_auxinput2                   = 2,
 io_form_auxinput5                   = 2,
 io_form_auxinput6                   = 2,
 io_form_auxinput7                   = 2,
 io_form_auxinput8                   = 0,
 io_form_auxinput12                  = 0,
 io_form_auxinput13                  = 0,
 auxinput5_inname                    = 'wrfchemi_d<domain>_<date>',
 auxinput6_inname                    = 'wrfbiochemi_d01',
 auxinput7_inname                    = 'wrffirechemi_d<domain>_<date>',
 auxinput8_inname                    = 'wrfchemi_gocart_bg_d<domain>',
 auxinput12_inname                   = 'wrf_chem_input',
 auxinput13_inname                   = 'wrfchemv_d<domain>',
 auxinput5_interval_m                = 86400, 86400, 60,
 auxinput7_interval_m                = 60, 86400, 60,
 auxinput8_interval_m                = 86400, 86400, 60,
 auxinput13_interval_m               = 86400, 86400, 60,
 debug_level                         = 999,
 auxinput1_inname                    = "./met_em.d<domain>.<date>",
/

 &dfi_control
/

 &domains
 time_step                           = 200,
 time_step_fract_num                 = 0,
 time_step_fract_den                 = 1,
 max_dom                             = 1,
 s_we                                = 1,    1,     1,
 e_we                                = 76,    41,    94,
 s_sn                                = 1,    1,     1,
 e_sn                                = 76,    41,    91,
 e_vert                              = 31,    31,    28,
 num_metgrid_levels                  = 32,
 num_metgrid_soil_levels             = 4,
 dx                                  = 50000, 4000,  3333.33,
 dy                                  = 50000, 4000,  3333.33,
 grid_id                             = 1,     2,     3,
 parent_id                           = 0,     1,     2,
 i_parent_start                      = 1,     6,    30,
 j_parent_start                      = 1,     65,    30,
 parent_grid_ratio                   = 1,     5,     3,
 parent_time_step_ratio              = 1,     5,     3,
 p_top_requested                     = 5000,
 feedback                            = 1,
 smooth_option                       = 0
 zap_close_levels                    = 50
 interp_type                         = 1
 t_extrap_type                       = 2
 force_sfc_in_vinterp                = 0
 use_levels_below_ground             = .true.
 use_surface                         = .true.
 lagrange_order                      = 1
 smooth_cg_topo                      = .true.
 /
 sfcp_to_sfcp                        = .true.

 &physics
 mp_physics                          = 2,     2,     2, 
 progn                               = 1,
 ra_lw_physics                       = 1,     1,     1,
 ra_sw_physics                       = 2,     1,     1,
 radt                                = 50,    30,    30,
 sf_sfclay_physics                   = 2,     1,     1,
 sf_surface_physics                  = 2,     2,     1,
 bl_pbl_physics                      = 2,     1,     1,
 bldt                                = 0,     0,     0,
 cu_physics                          = 3,     5,     0,
 cu_diag                             = 1,     0,     0,
 cudt                                = 0,     0,     0,
 ishallow                            = 0,
 isfflx                              = 1,
 ifsnow                              = 1,
 icloud                              = 1,
 surface_input_source                = 1,
 num_soil_layers                     = 4,
 sf_urban_physics                    = 0,     0,     0,
 mp_zero_out                         = 2,
 mp_zero_out_thresh                  = 1.e-12
 maxiens                             = 1,
 maxens                              = 3,
 maxens2                             = 3,
 maxens3                             = 16,
 ensdim                              = 144,
 cu_rad_feedback                     = .true.,
 /

 &fdda
 /

 &dynamics
 rk_ord                              = 3,
 w_damping                           = 1,
 diff_opt                            = 1,
 km_opt                              = 4,
 diff_6th_opt                        = 0,
 diff_6th_factor                     = 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,
 epssm                               = 0.9
 non_hydrostatic                     = .true., .true., .true.,
 moist_adv_opt                       = 2,      0,      0,
 scalar_adv_opt                      = 2,      0,      0,
 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.,.false.,.false., 
 /

 &grib2
 /

 &namelist_quilt
 nio_tasks_per_group = 0,
 nio_groups = 1,
 /

 &chem
 kemit                               = 1,
 chem_opt                            = 42,
 bioemdt                             = 30,
 photdt                              = 30,
 chemdt                              = 5,
 io_style_emissions                  = 2,  
 emiss_inpt_opt                      = 102,
 emiss_opt                           = 3,          0,
 emiss_opt_vol                       = 0,          0,
 emiss_ash_hgt                       = 20000.,  
 chem_in_opt                         = 0,          0,
 phot_opt                            = 1,          0,
 gas_drydep_opt                      = 1,          1, 
 aer_drydep_opt                      = 1,          1, 
 bio_emiss_opt                       = 3,          0,
 ne_area                             = 500,
 dust_opt                            = 2,
 dmsemis_opt                         = 1,
 seas_opt                            = 2,
 gas_bc_opt                          = 1,          0,
 gas_ic_opt                          = 1,          0,
 aer_bc_opt                          = 1,          0,
 aer_ic_opt                          = 1,          0,
 gaschem_onoff                       = 1,          0,
 aerchem_onoff                       = 1,          0,
 wetscav_onoff                       = 1,          0,
 cldchem_onoff                       = 1,          0,
 vertmix_onoff                       = 1,          0,
 chem_conv_tr                        = 1,          0,
 biomass_burn_opt                    = 2,          0,
 plumerisefire_frq                   = 30,        0,
 scale_fire_emiss                    = .false. 
 have_bcs_chem                       = .false., .false.,.false.,
 aer_ra_feedback                     = 1,
 aer_op_opt                          = 1,
 opt_pars_out                        = 0,
 diagnostic_chem                     = 0,
 /

SAHIR AZMI

unread,
Mar 10, 2021, 6:44:38 AM3/10/21
to wrf-chem-run, SAHIR AZMI
Anyone who can see through this.

please reply!

Stacy Walters

unread,
Mar 10, 2021, 8:49:37 AM3/10/21
to SAHIR AZMI, wrf-chem-run
Sahir,

Please return, as an attachment, the entire rsl.error.0000 file.  Also look through
all the other rsl.error.* files searching for a more explicit error message near the
end of each file.

Stacy

SAHIR AZMI

unread,
Mar 10, 2021, 8:55:31 AM3/10/21
to wrf-chem-run, st...@ucar.edu, wrf-chem-run, SAHIR AZMI

Here it is, file attached.
rsl.error.0000.txt

Stacy Walters

unread,
Mar 10, 2021, 10:43:39 AM3/10/21
to SAHIR AZMI, wrf-chem-run
Sahir,

You are getting a "segment violation" error from WRF.  Basically the code is trying to reference
a non existent memory location or trying to address a variable outside the declared dimensions.
Given that this error was not happening before your latest modifications, I suggest you carefully 
look over the modifications and introduce the modifications in a series of limited changes, especially
registry changes.  I know this will involve much recompiling but it is the only way to attack the problem.
ACOM can not give dedicated debugging resources to individual WRF simulations such as yours.

Stacy
Reply all
Reply to author
Forward
0 new messages