WRF3.7.1 with intel compilers fails to run

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

WRF3.7.1 with intel compilers fails to run

Postby sub4dave » Tue Oct 20, 2015 2:06 pm

Hello,

I was hoping someone with experience with using the intel compilers and WRF might have a solution to my problem. I have been successful in compiling WRF with the intel compilers (all executables were created successfully), but I have been unsuccessful in actually getting WRF to run in either a serial or dmpar configuration. I have been using an identical namelist that works just fine with a WRF version compiled using gcc/gfortran, but fails when used with the intel compiled version. I have attached the namelist.input. The error that I receive is:

------ ERROR while reading namelist dynamics ------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 10233
ERRORS while reading one or more namelists from namelist.input.
-------------------------------------------

Does anyone have any ideas as to what could cause this namelist to fail with the intel compiled WRF but not with the gcc/gfortran version?

Namelist:

&time_control
run_days = 0,
run_hours = 168,
run_minutes = 0,
run_seconds = 0,
start_year = 2015, 2015,
start_month = 10, 10,
start_day = 19, 19,
start_hour = 00, 03,
start_minute = 00, 00,
start_second = 00, 00,
end_year = 2015, 2015,
end_month = 10, 10,
end_day = 26, 26,
end_hour = 00, 00,
end_minute = 00, 00,
end_second = 00, 00,
interval_seconds = 10800
input_from_file = .true.,.true.,.true.,
history_interval = 60, 60, 30,
fine_input_stream = 0, 2, 2, 2,
frames_per_outfile = 1, 1, 1,
adjust_output_times = .true.
restart = .false.,
restart_interval = 20000,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
io_form_auxinput2 = 2
debug_level = 0
auxinput1_inname = "met_em.d<domain>.<date>"
/

&domains
time_step = 150,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
s_we = 1, 1, 1,
e_we = 100, 199, 448,
e_sn = 110, 211, 307,
s_sn = 1, 1, 1,
s_vert = 1, 1, 1,
e_vert = 41, 41, 41,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 4,
eta_levels = 1.000, 0.975, 0.950, 0.925, 0.900,
0.875, 0.850, 0.825, 0.800, 0.775,
0.750, 0.725, 0.700, 0.675, 0.650,
0.625, 0.600, 0.575, 0.550, 0.525,
0.500, 0.475, 0.450, 0.425, 0.400,
0.375, 0.350, 0.325, 0.300, 0.275,
0.250, 0.225, 0.200, 0.175, 0.150,
0.125, 0.100, 0.075, 0.050, 0.025,
0.000
dx = 27000, 9000, 4000,
dy = 27000, 9000, 4000,
grid_id = 1, 2, 3,
parent_id = 0, 1, 2,
i_parent_start = 1, 20, 96,
j_parent_start = 1, 20, 78,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0
use_adaptive_time_step = .true.
step_to_output_time = .true.
max_step_increase_pct = 5, 51, 51, 51,
target_cfl = 1, 1, 1, 1,
/
&physics
mp_physics = 4, 4, 4,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 30, 25, 20,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 2,
bl_pbl_physics = 7, 7, 7,
bldt = 0, 0, 0,
cu_physics = 1, 1, 0,
cudt = 0, 0, 0,
isfflx = 1,
ifsnow = 1,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
sf_urban_physics = 0, 0, 0,
mp_zero_out = 0,
maxiens = 1,
maxens = 3,
maxens2 = 3,
maxens3 = 16,
ensdim = 144,
/
&fdda
/
&dynamics
rk_ord = 3,
w_damping = 1,
diff_opt = 1,
km_opt = 4,
damp_opt = 3,
diff_6th_opt = 0,
diff_6th_factor = 0.12,
zdamp = 5000., 5000., 5000., 5000.,
dampcoef = 0.2, 0.2, 0.2, 0.2,
khdif = 0, 0, 0, 0,
kvdif = 0, 0, 0, 0,
smdiv = 0.1, 0.1, 0.1, 0.1,
emdiv = 0.01, 0.01, 0.01, 0.01,
epssm = 0.1, 0.1, 0.1, 0.1,
non_hydrostatic = .true., .true., .true., true.,
time_step_sound = 0, 0, 0, 0,
h_mom_adv_order = 5, 5, 5, 5,
v_mom_adv_order = 3, 3, 3, 3,
h_sca_adv_order = 5, 5, 5, 5,
v_sca_adv_order = 3, 3, 3, 3,
use_baseparam_fr_nml = .true.,
/
&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false.,.false.,
relax_zone = 4,
specified = .true., .false.,.false.,.false.,
periodic_x = .false.,.false.,.false.,.false.,
symmetric_xs = .false.,.false.,.false.,.false.,
symmetric_xe = .false.,.false.,.false.,.false.,
open_xs = .false.,.false.,.false.,.false.,
open_xe = .false.,.false.,.false.,.false.,
periodic_y = .false.,.false.,.false.,.false.,
symmetric_ys = .false.,.false.,.false.,.false.,
symmetric_ye = .false.,.false.,.false.,.false.,
open_ys = .false.,.false.,.false.,.false.,
open_ye = .false.,.false.,.false.,.false.,
nested = .false., .true., .true.,
/
&grib2
/
&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
sub4dave
 
Posts: 4
Joined: Sat Dec 07, 2013 7:29 pm

Re: WRF3.7.1 with intel compilers fails to run

Postby kwthomas » Tue Oct 20, 2015 3:13 pm

Hi...

That one looks nasty. Grep for 10233 in all the *.f90 (NOT *.F!) files. This will give you the exactly line that is generating the error.

If it is really a read line, you can try commenting out parts of the &dynamics namelist and see what happens. There may be a subtle typo in there. Gfortran may let you get away with it. I know that Portland sometimes will let you get away with things that the Intel compiler will give you a error on.
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 168
Joined: Thu Aug 07, 2008 6:53 pm

Re: WRF3.7.1 with intel compilers fails to run

Postby kwthomas » Tue Oct 20, 2015 3:26 pm

Hi...

I might have found your problem. In README.namelist, variables "diff_opt" and "km_opt" are dimensioned "max_dom". Your "max_dom" setting is 2. Each of these variables has only one value in the file provided. They should have 2.
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 168
Joined: Thu Aug 07, 2008 6:53 pm

Re: WRF3.7.1 with intel compilers fails to run

Postby sub4dave » Tue Oct 20, 2015 6:02 pm

kwthomas,

Thanks for your help! Those two fields were definitely part of the error. I also removed excess columns from the dynamics fields (where there were four values listed) and this seemed to also help with getting rid of the error, although I'm not sure why. It only worked after I did the combination of adding your suggestion and removing the rest of the columns. Maybe I had a space or comma somewhere it shouldn't have been the gcc/gfortran allowed through. Either way, all is good now!

Thanks again!

David
sub4dave
 
Posts: 4
Joined: Sat Dec 07, 2013 7:29 pm

Re: WRF3.7.1 with intel compilers fails to run

Postby ykaore » Tue Aug 09, 2016 3:40 pm

Hey. I have the exactly the same error and I can't find out what is going wrong. Which lines did you remove out? Thanks.
ykaore
 
Posts: 5
Joined: Tue Aug 09, 2016 2:56 pm

Re: WRF3.7.1 with intel compilers fails to run

Postby sub4dave » Thu Sep 08, 2016 4:00 pm

ykaore wrote:Hey. I have the exactly the same error and I can't find out what is going wrong. Which lines did you remove out? Thanks.


Hello ykaore, I had to change the &dynamics part of the above namelist.input to have the appropriate number of columns (one per domain). The new entry that is formatted correcty is:

&dynamics
rk_ord = 3,
w_damping = 1,
diff_opt = 1,1,
km_opt = 4,4,
damp_opt = 3,
diff_6th_opt = 0,
diff_6th_factor = 0.12,
zdamp = 5000., 5000.,
dampcoef = 0.2, 0.2,
khdif = 0, 0,
kvdif = 0, 0,
smdiv = 0.1, 0.1,
emdiv = 0.01, 0.01,
epssm = 0.1, 0.1,
non_hydrostatic = .true., .true.,
time_step_sound = 0, 0,
h_mom_adv_order = 5, 5,
v_mom_adv_order = 3, 3,
h_sca_adv_order = 5, 5,
v_sca_adv_order = 3, 3,
use_baseparam_fr_nml = .true.,
/


It appears that some compilers do not like excess columns in the namelist.input (or missing columns for that matter).
sub4dave
 
Posts: 4
Joined: Sat Dec 07, 2013 7:29 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests