<div dir="ltr"><div><div><div>Hi everyone!<br><br>I've been trying to run WRF-Chem with chem_opt = 11
(RADM2_MADE/SORGAM) on a cluster and while the wrfout file was produced,
the wrfrst file was not produced. <br><br>The rsl files do include the line: <span style="font-weight:bold">"med_restart_out: opening wrfrst_d01_2013-06-15_01:00:00 for writing"</span>
but unfortunately the restart file does not get written. I've checked
some other posts where the same issue was raised. Here is the error I've
been getting in the rsl file after debugging:<br><br><dl class=""><dt><br><a href="http://forum.wrfforum.com/viewtopic.php?f=6&t=9018#"></a></dt><dd><code>d01 2013-06-15_00:15:00 output_wrf: end, fid = 5<br>d01 2013-06-15_00:15:00 back from outsub in open_w_dataset<br>d01 2013-06-15_00:15:00 calling wrf_open_for_write_commit in open_w_dataset<br>d01 2013-06-15_00:15:00 module_io.F: in wrf_open_for_write_commit<br>d01 2013-06-15_00:15:00 NetCDF error: NetCDF: One or more variable sizes violate format constraints<br>d01 2013-06-15_00:15:00 NetCDF error in ext_ncd_open_for_write_commit wrf_io.F90, line 1442<br>d01 2013-06-15_00:15:00 back from wrf_open_for_write_commit in open_w_dataset<br>med_restart_out: opening wrfrst_d01_2013-06-15_00:15:00 for writing<br></code></dd></dl><br><br><br>I've tried the following to solve the problem:<br><br>1. Ensure that the file external/io_netcdf/wrf_io.F90 contained the following line <span style="font-weight:bold">stat = NF_CREATE(FileName, IOR(NF_CLOBBER,NF_64BIT_OFFSET), DH%NCID)</span> <br><br>2. Use io_form_restart = 102 to ensure that the 'divided' restart files would be less than 2GB<br><br>3. Use a version of netcdf that supports 64bit<br><br>Unfortunately
none of the 3 things above resolved the problem. Has anyone come across
the same issue and found a working solution for it? I'd really
appreciate some help on this!<br><br><br><br>My namelist is as follows:<br><br><code>&time_control<br> run_days = 1,<br> run_hours = 0,<br> run_minutes = 0,<br> run_seconds = 0,<br> start_year = 2013, 2013,<br> start_month = 06, 06, <br> start_day = 15, 15, <br> start_hour = 00, 00, <br> start_minute = 00, 00, <br> start_second = 00, 00, <br> end_year = 2013, 2013, <br> end_month = 06, 06, <br> end_day = 16, 16, <br> end_hour = 00, 00, <br> end_minute = 00, 00, <br> end_second = 00, 00, <br> interval_seconds = 21600, <br> input_from_file = .true., .true., <br> history_interval = 60, 60, <br> frames_per_outfile = 72, 72,<br> restart = .False.,<br> restart_interval = 1440,<br> write_hist_at_0h_rst = .True.,<br> io_form_history = 2,<br> io_form_restart = 102,<br> io_form_input = 2,<br> io_form_boundary = 2,<br> auxinput5_inname = 'wrfchemi_d<domain>',<br> auxinput6_inname = 'wrfbiochemi_d<domain>',<br> auxinput7_inname = 'wrffirechemi_d<domain>',<br> auxinput8_inname = 'wrfchemi_gocart_bg_d<domain>',<br> auxinput12_inname = 'wrf_chem_input',<br> auxinput13_inname = 'wrfchemv_d<domain>',<br> auxinput7_interval_m = 1440, 1440,<br> frames_per_auxinput7 = 1, 1,<br> io_form_auxinput2 = 2,<br> io_form_auxinput5 = 2,<br> io_form_auxinput6 = 2,<br> io_form_auxinput7 = 2,<br> io_form_auxinput8 = 2,<br> io_form_auxinput12 = 0,<br> io_form_auxinput13 = 0,<br> debug_level = 0,<br> auxinput1_inname = "met_em.d<domain>.<date>",<br> /<br><br> &dfi_control<br>/<br><br> &domains<br> time_step = 50,<br> time_step_fract_num = 0,<br> time_step_fract_den = 1,<br> max_dom = 1,<br> s_we = 1, 1, <br> e_we = 250, 310,<br> s_sn = 1, 1, <br> e_sn = 250, 310, <br> e_vert = 51, 51, <br> eta_levels
= 1.000, 0.998, 0.994, 0.988, 0.984, 0.981,
0.976, 0.971, 0.964, 0.958, 0.947, 0.943, 0.932, 0.925, 0.903, 0.879,
0.853, 0.824, 0.792, 0.758, 0.737, 0.723, 0.685,
0.647, 0.608, 0.568, 0.527, 0.487, 0.447, 0.408, 0.370, 0.333, 0.297,
0.263, 0.231, 0.200, 0.171, 0.144, 0.119, 0.096,
0.075, 0.062, 0.056, 0.047, 0.039, 0.031, 0.024, 0.018, 0.011, 0.005,
0.000, <br> num_metgrid_levels = 61,<br> num_metgrid_soil_levels = 4,<br> dx = 9000, 3000,<br> dy = 9000, 3000,<br> grid_id = 1, 2, <br> parent_id = 1, 1, <br> i_parent_start = 1, 76<br> j_parent_start = 1, 78<br> parent_grid_ratio = 1, 3, <br> parent_time_step_ratio = 1, 3, <br> p_top_requested = 5000,<br> numtiles = 16, <br> feedback = 1,<br> smooth_option = 0<br> zap_close_levels = 50<br> interp_type = 1<br> t_extrap_type = 2<br> force_sfc_in_vinterp = 0<br> use_levels_below_ground = .true.<br> use_surface = .true.<br> lagrange_order = 1<br> /<br> sfcp_to_sfcp = .true.<br><br> &physics<br> mp_physics = 10, 10, <br> progn = 1, 1, <br> ra_lw_physics = 4, 4, <br> ra_sw_physics = 4, 4, <br> radt = 27, 27, <br> sf_sfclay_physics = 2, 2, <br> sf_surface_physics = 2, 2, <br> bl_pbl_physics = 2, 2, <br> bldt = 0, 0, <br> cu_physics = 5, 0,<br> cugd_avedx = 1, <br> cu_diag = 1, 0, <br> cudt = 0, 0, 0, <br> ishallow = 1,<br> isfflx = 1,<br> ifsnow = 1,<br> icloud = 1,<br> surface_input_source = 1,<br> num_soil_layers = 4,<br> num_land_cat = 20,<br> sf_urban_physics = 0, <br> mp_zero_out = 2,<br> mp_zero_out_thresh = 1.e-12<br> maxiens = 1,<br> maxens = 3,<br> maxens2 = 3,<br> maxens3 = 16,<br> ensdim = 144,<br> cu_rad_feedback = .true., .false.,<br> /<br><br><br> &fdda<br> grid_fdda = 1, 0, <br> gfdda_inname = "wrffdda_d<domain>",<br> gfdda_end_h = 24,24, <br> gfdda_interval_m = 360, 360, <br> fgdt = 0, 0, <br> if_no_pbl_nudging_uv = 0, 0, <br> if_no_pbl_nudging_t = 0, 0, <br> if_no_pbl_nudging_q = 0, 0, <br> if_zfac_uv = 0, 0, <br> k_zfac_uv = 18, 18, <br> if_zfac_t = 0, 0, <br> k_zfac_t = 18, 18, <br> if_zfac_q = 0, 0, <br> k_zfac_q = 18, 18, <br> guv = 0.0003, 0.0003,<br> gt = 0.0003, 0.0003,<br> gq = 0.0003, 0.0003,<br> if_ramping = 1,<br> dtramp_min = 60.0,<br> io_form_gfdda = 2,<br> /<br><br> &dynamics<br> rk_ord = 3,<br> w_damping = 1,<br> diff_opt = 1,<br> km_opt = 4,<br> diff_6th_opt = 0,<br> diff_6th_factor = 0.12,<br> base_temp = 290.<br> damp_opt = 0,<br> zdamp = 5000., 5000., <br> dampcoef = 0.01, 0.01, <br> khdif = 0, 0,<br> kvdif = 0, 0, <br> non_hydrostatic = .True., .True., <br> moist_adv_opt = 2, 2, <br> scalar_adv_opt = 2, 2, <br> chem_adv_opt = 2, 2, <br> tke_adv_opt = 2, 2, <br> time_step_sound = 4, 4, <br> h_mom_adv_order = 5, 5, <br> v_mom_adv_order = 3, 3, <br> h_sca_adv_order = 5, 5, <br> v_sca_adv_order = 3, 3, <br> /<br><br> &bdy_control<br> spec_bdy_width = 5,<br> spec_zone = 1,<br> relax_zone = 4,<br> specified = .true., .false., <br> nested = .false., .true., <br> /<br><br> &grib2<br> /<br><br> &namelist_quilt<br> nio_tasks_per_group = 2,<br> nio_groups = 1,<br> /<br><br> &chem<br> kemit = 1,<br> chem_opt = 11, 11, <br> bioemdt = 0, 0, <br> photdt = 30, 30, <br> chemdt = 2.5, 2.5, <br> io_style_emissions = 1, <br> emiss_inpt_opt = 1, 1, <br> emiss_opt = 5, 5, <br> emiss_opt_vol = 0, 0, <br> emiss_ash_hgt = 20000., <br> chem_in_opt = 1, 0, <br> phot_opt = 1, 1, <br> gas_drydep_opt = 1, 1, <br> aer_drydep_opt = 1, 1, <br> bio_emiss_opt = 0, 0, <br> dust_opt = 1,<br> dmsemis_opt = 1,<br> seas_opt = 2,<br> gas_bc_opt = 1, 1, <br> gas_ic_opt = 1, 1, <br> aer_bc_opt = 1, 1, <br> aer_ic_opt = 1, 1, <br> gaschem_onoff = 1, 1, <br> aerchem_onoff = 1, 1, <br> wetscav_onoff = 1, 1, <br> cldchem_onoff = 1, 1, <br> vertmix_onoff = 1, 1, <br> chem_conv_tr = 1, 0, <br> biomass_burn_opt = 1, 1, <br> plumerisefire_frq = 120, 120, <br> have_bcs_chem = .True., .false., <br> aer_ra_feedback = 1, 1,<br> aer_op_opt = 1, 1,<br> opt_pars_out = 0,<br> diagnostic_chem = 0,<br> /<br><br> &tc<br> /<br><br> &noah_mp<br> /<br><br> &scm<br> /<br><br> &fire<br> /<br><br> &diags<br> /</code><br><br><br><br></div>Thanks everyone!<br><br></div>Yaasiin<br></div>The University of Nottingham<br></div>