wrf.exe crashes - Fortran runtime error: End of record

Any issues with the actual running of the WRF.

wrf.exe crashes - Fortran runtime error: End of record

Postby sveinng » Mon Aug 13, 2018 12:56 pm

I am trying to run wrf with ERA5 data. I can successfully run WPS and real.exe, but I alway run into an error when running wrf.exe. The program runs for less than a second and then spits out the following error:
Code: Select all
INITIALIZE THREE Noah LSM RELATED TABLES
Skipping over LUTYPE = USGS
 LANDUSE TYPE = MODIFIED_IGBP_MODIS_NOAH FOUND          20  CATEGORIES
 INPUT SOIL TEXTURE CLASSIFICATION = STAS
 SOIL TEXTURE CLASSIFICATION = STAS FOUND          19  CATEGORIES
At line 1657 of file module_sf_noahdrv.f90
Fortran runtime error: End of record

Error termination. Backtrace:
#0  0x7f550f5182da in ???
#1  0x7f550f518ec5 in ???
#2  0x7f550f51968d in ???
#3  0x7f550f68f050 in ???
#4  0x7f550f6972c3 in ???
#5  0x7f550f69bd1d in ???
#6  0x7f550f69cb74 in ???
#7  0x55a1c635aeb1 in ???
#8  0x55a1c5ad5900 in ???
#9  0x55a1c5af98fb in ???
#10  0x55a1c53e7e59 in ???
#11  0x55a1c5267d43 in ???
#12  0x55a1c4eb8ebe in ???
#13  0x55a1c410d83c in ???
#14  0x55a1c410c654 in ???
#15  0x7f550eb77b96 in ???
#16  0x55a1c410c699 in ???
#17  0xffffffffffffffff in ???


Line 1657 in file module_sf_noahdrv.f90 is
Code: Select all
WRITE(err_message,*)"module_sf_noahdrv.F: lsminit: out of range ISLTYP ",i,j,ISLTYP( i,j )


I have tried to run on tho versions of WRF, 3.9 and 4.0 and two different computers but always get the same error. My namelist.wps is:
Code: Select all
&share
wrf_core = 'ARW',
max_dom = 1,

io_form_geogrid = 2,
start_date = '2015-01-15_12:00:00'
end_date = '2015-01-16_12:00:00'
interval_seconds = 21600,
io_form_geogrid = 2,
debug_level = 100,
/

&ungrib
out_format = 'WPS',
prefix = 'FILE'
/

&geogrid
parent_id = 1, 1,
parent_grid_ratio = 1, 3,
i_parent_start = 1, 31,
j_parent_start = 1, 17,
e_we = 74, 112,
e_sn = 61, 97,
geog_data_res = '10m', '2m'
dx = 30000,
dy = 30000,
map_proj = 'lambert',
ref_lat = 64.758,
ref_lon = -19.127,
truelat1 = 64.758,
truelat2 = 64.758,
stand_lon = -19.127,
geog_data_path = '/media/sveinn/1ABCAE66288E4B60/Kortagogn/geog/WPS_GEOG',
opt_geogrid_tbl_path = '/home/sveinn/Documents/wrfprufa/GEOGRID_TABLE',
/

&metgrid
fg_name = 'FILE','PRES'
io_form_metgrid = 2,
opt_metgrid_tbl_path = '/home/sveinn/Documents/wrfv4/Build_WRF/WPS/metgrid'
/


And namelist.input
Code: Select all
 &time_control
 run_days                            = 0,
 run_hours                           = 12,
 run_minutes                         = 0,
 run_seconds                         = 0,
 start_year                          = 2015, 2015, 2015,
 start_month                          = 1, 1, 1,
 start_day                          = 15, 15, 15,
 start_hour                          = 12,
 start_minute                        = 00,
 start_second                        = 00,
 end_year                          = 2015, 2015, 2015,
 end_month                          = 1, 1, 1,
 end_day                          = 16, 16, 16,
 end_hour                            = 12,
 end_minute                          = 00,
 end_second                          = 00,
 interval_seconds                    = 21600
 input_from_file                     = .true.,
 history_interval                    = 180,
 frames_per_outfile                  = 1000,
 restart                             = .false.,
 restart_interval                    = 5000,
 io_form_history                     = 2
 io_form_restart                     = 2
 io_form_input                       = 2
 io_form_boundary                    = 2
 debug_level                         = 500
 /

 &domains
 time_step                           = 180,
 time_step_fract_num                 = 0,
 time_step_fract_den                 = 1,
 max_dom                             = 1,
 e_we                                = 74,
 e_sn                                = 61,
 e_vert                              = 60,
 p_top_requested                     = 5000,
 num_metgrid_levels                  = 138,
 num_metgrid_soil_levels             = 4,
 dx                                  = 30000,
 dy                                  = 30000,
 grid_id                             = 1,
 parent_id                           = 0,
 i_parent_start                      = 1,
 j_parent_start                      = 1,
 parent_grid_ratio                   = 1,
 parent_time_step_ratio              = 1,
 feedback                            = 1,
 smooth_option                       = 0
 /

 &physics
 physics_suite                       = 'CONUS'
 radt                                = 30,
 bldt                                = 0,
 cudt                                = 5,
 icloud                              = 1,
 num_soil_layers                     = 4,
 num_land_cat                        = 21,
 sf_urban_physics                    = 0,
 surface_input_source                = 0,
 /

 &fdda
 /

 &dynamics
 w_damping                           = 0,
 diff_opt                            = 1,
 km_opt                              = 4,
 diff_6th_opt                        = 0,
 diff_6th_factor                     = 0.12,
 base_temp                           = 290.
 damp_opt                            = 0,
 zdamp                               = 5000.,
 dampcoef                            = 0.2,
 khdif                               = 0,
 kvdif                               = 0,
 non_hydrostatic                     = .true.,
 moist_adv_opt                       = 1,   
 scalar_adv_opt                      = 1,
 gwd_opt                             = 0,
 /

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

 &grib2
 /

 &namelist_quilt
 nio_tasks_per_group = 0,
 nio_groups = 1,
 /


Do you think this is a configuration problem or a compiler issue?
sveinng
 
Posts: 5
Joined: Thu Nov 30, 2017 6:54 pm

Re: wrf.exe crashes - Fortran runtime error: End of record

Postby sveinng » Mon Aug 13, 2018 12:57 pm

I am using the gnu compilers.
sveinng
 
Posts: 5
Joined: Thu Nov 30, 2017 6:54 pm

Re: wrf.exe crashes - Fortran runtime error: End of record

Postby sveinng » Tue Aug 14, 2018 5:52 pm

I "fixed" this issue by commenting out lines 1763 - 1767 in module_sf_noahdrv.F. Those lines seem like they don't do anything important.

I still don't know what causes the error, but now wrf.exe runs without a problem.
sveinng
 
Posts: 5
Joined: Thu Nov 30, 2017 6:54 pm


Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 11 guests