I have been working getting WRF V3.9 running on FreeBSD. I am using WRFV3.9 because I have not qualified a V4 version for use in my real-time forcasts. I have so far fixed all the coding errors in geogrid, ungrib and metgrid. All of which were character array length errors in date/time strings In some places they were declared to be 132 characters long, 12 in others and 19 in other. Setting the string lengths to 19 characters allows geogrid, ungrib and metgrid to produce met_em files. I looked at the met_em files and they appear to match the met_em files created under Centos-7 I have compiled wrf and real successfully and real runs and produces the wrfinput and wrbdy files. When I run wrf.exe, wrf fails with the following in the rsl.error.0000 file
taskid: 0 hostname: swan.localdomain
module_io_quilt_old.F 2931 F
Quilting with 1 groups of 0 I/O tasks.
Ntasks in X 1 , ntasks in Y 1
--- WARNING: traj_opt is zero, but num_traj is not zero; setting num_traj to zero.
--- NOTE: sst_update is 0, setting io_form_auxinput4 = 0 and auxinput4_interval = 0 for all domains
--- NOTE: grid_fdda is 0 for domain 1, setting gfdda interval and ending time to 0 for that domain.
--- NOTE: both grid_sfdda and pxlsm_soil_nudge are 0 for domain 1, setting sgfdda interval and ending time to 0 for that domain.
--- NOTE: obs_nudge_opt is 0 for domain 1, setting obs nudging interval and ending time to 0 for that domain.
--- NOTE: bl_pbl_physics /= 4, implies mfshconv must be 0, resetting
Need MYNN PBL for icloud_bl = 1, resetting to 0
--- NOTE: RRTMG radiation is not used, setting: o3input=0 to avoid data pre-processing
*************************************
No physics suite selected.
Physics options will be used directly from the namelist.
*************************************
--- NOTE: num_soil_layers has been set to 4
WRF V3.9.1.1 MODEL
*************************************
Parent domain
ids,ide,jds,jde 1 205 1 171
ims,ime,jms,jme -4 210 -4 176
ips,ipe,jps,jpe 1 205 1 171
*************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
alloc_space_field: domain 1 , 725245588 bytes allocated
wrf main: calling open_r_dataset for wrfinput
med_initialdata_input: calling input_input
mminlu = 'MODIFIED_IGBP_MODIS_NOAH'
Timing for processing wrfinput file (stream 0) for domain 1: 0.56921 elapsed seconds
Max map factor in domain 1 = 1.00. Scale the dt in the model accordingly.
WRF TILE 1 IS 1 IE 205 JS 1 JE 171
set_tiles3: NUMBER OF TILES = 1
INPUT LandUse = "MODIFIED_IGBP_MODIS_NOAH"
LANDUSE TYPE = "MODIFIED_IGBP_MODIS_NOAH" FOUND 33 CATEGORIES 2 SEASONS WATER CATEGORY = 17 SNOW CATEGORY = 15
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
calling inc/HALO_EM_INIT_1_inline.inc
calling inc/HALO_EM_INIT_2_inline.inc
calling inc/HALO_EM_INIT_3_inline.inc
calling inc/HALO_EM_INIT_4_inline.inc
calling inc/HALO_EM_INIT_5_inline.inc
calling inc/PERIOD_BDY_EM_INIT_inline.inc
calling inc/PERIOD_BDY_EM_MOIST_inline.inc
calling inc/PERIOD_BDY_EM_TKE_inline.inc
calling inc/PERIOD_BDY_EM_SCALAR_inline.inc
calling inc/PERIOD_BDY_EM_CHEM_inline.inc
calling inc/HALO_EM_INIT_1_inline.inc
calling inc/HALO_EM_INIT_2_inline.inc
calling inc/HALO_EM_INIT_3_inline.inc
calling inc/HALO_EM_INIT_4_inline.inc
calling inc/HALO_EM_INIT_5_inline.inc
calling inc/PERIOD_BDY_EM_INIT_inline.inc
calling inc/PERIOD_BDY_EM_MOIST_inline.inc
calling inc/PERIOD_BDY_EM_TKE_inline.inc
calling inc/PERIOD_BDY_EM_SCALAR_inline.inc
calling inc/PERIOD_BDY_EM_CHEM_inline.inc
d01 2021-12-01_18:00:00 open_hist_w : opening wrfout_d01_2021-12-01_18:00:00 for writing.
d01 2021-12-01_18:00:00 Information: NOFILL being set for writing to wrfout_d01_2021-12-01_18:00:00
d01 2021-12-01_18:00:00 med_hist_out: opened wrfout_d01_2021-12-01_18:00:00 as DATASET=HISTORY
Timing for Writing wrfout_d01_2021-12-01_18:00:00 for domain 1: 1.01156 elapsed seconds
d01 2021-12-01_18:00:00 mminlu = 'MODIFIED_IGBP_MODIS_NOAH'
d01 2021-12-01_18:00:00 Warning LEN CHAR STRING > LEN DATA in ext_ncd_get_var_td.code CHAR, line 189
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: module_date_time.G LINE: 911
WRFU_TimeSet() in wrf_atotime() FAILED Routine returned error code = -1
-------------------------------------------
Abort(1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
I am looking for suggestions for where to look. Yes I ran gdb on wrf.exe and traced it into a WRFU reference
taskid: 0 hostname: swan.localdomain
module_io_quilt_old.F 2931 F
Quilting with 1 groups of 0 I/O tasks.
Ntasks in X 1 , ntasks in Y 1
--- WARNING: traj_opt is zero, but num_traj is not zero; setting num_traj to zero.
--- NOTE: sst_update is 0, setting io_form_auxinput4 = 0 and auxinput4_interval = 0 for all domains
--- NOTE: grid_fdda is 0 for domain 1, setting gfdda interval and ending time to 0 for that domain.
--- NOTE: both grid_sfdda and pxlsm_soil_nudge are 0 for domain 1, setting sgfdda interval and ending time to 0 for that domain.
--- NOTE: obs_nudge_opt is 0 for domain 1, setting obs nudging interval and ending time to 0 for that domain.
--- NOTE: bl_pbl_physics /= 4, implies mfshconv must be 0, resetting
Need MYNN PBL for icloud_bl = 1, resetting to 0
--- NOTE: RRTMG radiation is not used, setting: o3input=0 to avoid data pre-processing
*************************************
No physics suite selected.
Physics options will be used directly from the namelist.
*************************************
--- NOTE: num_soil_layers has been set to 4
WRF V3.9.1.1 MODEL
*************************************
Parent domain
ids,ide,jds,jde 1 205 1 171
ims,ime,jms,jme -4 210 -4 176
ips,ipe,jps,jpe 1 205 1 171
*************************************
DYNAMICS OPTION: Eulerian Mass Coordinate
alloc_space_field: domain 1 , 725245588 bytes allocated
wrf main: calling open_r_dataset for wrfinput
med_initialdata_input: calling input_input
mminlu = 'MODIFIED_IGBP_MODIS_NOAH'
Timing for processing wrfinput file (stream 0) for domain 1: 0.56921 elapsed seconds
Max map factor in domain 1 = 1.00. Scale the dt in the model accordingly.
WRF TILE 1 IS 1 IE 205 JS 1 JE 171
set_tiles3: NUMBER OF TILES = 1
INPUT LandUse = "MODIFIED_IGBP_MODIS_NOAH"
LANDUSE TYPE = "MODIFIED_IGBP_MODIS_NOAH" FOUND 33 CATEGORIES 2 SEASONS WATER CATEGORY = 17 SNOW CATEGORY = 15
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
calling inc/HALO_EM_INIT_1_inline.inc
calling inc/HALO_EM_INIT_2_inline.inc
calling inc/HALO_EM_INIT_3_inline.inc
calling inc/HALO_EM_INIT_4_inline.inc
calling inc/HALO_EM_INIT_5_inline.inc
calling inc/PERIOD_BDY_EM_INIT_inline.inc
calling inc/PERIOD_BDY_EM_MOIST_inline.inc
calling inc/PERIOD_BDY_EM_TKE_inline.inc
calling inc/PERIOD_BDY_EM_SCALAR_inline.inc
calling inc/PERIOD_BDY_EM_CHEM_inline.inc
calling inc/HALO_EM_INIT_1_inline.inc
calling inc/HALO_EM_INIT_2_inline.inc
calling inc/HALO_EM_INIT_3_inline.inc
calling inc/HALO_EM_INIT_4_inline.inc
calling inc/HALO_EM_INIT_5_inline.inc
calling inc/PERIOD_BDY_EM_INIT_inline.inc
calling inc/PERIOD_BDY_EM_MOIST_inline.inc
calling inc/PERIOD_BDY_EM_TKE_inline.inc
calling inc/PERIOD_BDY_EM_SCALAR_inline.inc
calling inc/PERIOD_BDY_EM_CHEM_inline.inc
d01 2021-12-01_18:00:00 open_hist_w : opening wrfout_d01_2021-12-01_18:00:00 for writing.
d01 2021-12-01_18:00:00 Information: NOFILL being set for writing to wrfout_d01_2021-12-01_18:00:00
d01 2021-12-01_18:00:00 med_hist_out: opened wrfout_d01_2021-12-01_18:00:00 as DATASET=HISTORY
Timing for Writing wrfout_d01_2021-12-01_18:00:00 for domain 1: 1.01156 elapsed seconds
d01 2021-12-01_18:00:00 mminlu = 'MODIFIED_IGBP_MODIS_NOAH'
d01 2021-12-01_18:00:00 Warning LEN CHAR STRING > LEN DATA in ext_ncd_get_var_td.code CHAR, line 189
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: module_date_time.G LINE: 911
WRFU_TimeSet() in wrf_atotime() FAILED Routine returned error code = -1
-------------------------------------------
Abort(1) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
I am looking for suggestions for where to look. Yes I ran gdb on wrf.exe and traced it into a WRFU reference