I am trying to initialize WRF with GFS 0.25 degree data and using an external SST source (RTG 1/12 deg data). The GFS and SST data can be obtained here:
GFS: Index of /pub/data/nccf/com/gfs/prod
SST: Index of /pub/data/nccf/com/nsst/prod
I've made one change to the METGRID table for the SST variable. The original entry was:
========================================
name=SST
interp_option=sixteen_pt+four_pt
fill_missing=0.
missing_value=-1.E30
flag_in_output=FLAG_SST
========================================
The new entry is:
========================================
name=SST
interp_option=sixteen_pt+four_pt+average_4pt
masked = land
interp_mask = LANDSEA(1)
fill_missing=0.
missing_value=-1.E30
flag_in_output=FLAG_SST
========================================
When I run metgrid with one processor, the program runs to completion. However, when I run the program with multiple processors, I get a segmentation fault.
The stack trace points to the sixteen_pt interpolation function in the metgrid source code. Additionally, when I change the interpolation option, even to the most basic "nearest_neighbor" setting, the segmentation fault still occurs when using more than one processor. If I change the 'interp_mask' from LANDSEA(1) to LANDMASK(1) in order to use the mask from geogrid, the program works with any number of processors.
The SST data I am using does not come with a LANDSEA mask, and I am aware that the LANDSEA mask I am asking for is from the GFS data. I noticed that 'interp_module.f90' in the metgrid source code declares the 'array' and 'masked_array' with the same dimensions. In this case, the 'mask_array' would correspond to the dimensions of the GFS data, and the 'array' would correspond to the SST data (different dimensions than the GFS data). Is it possible that this is causing some issues with indexing out of bounds of one of these arrays?
I am attaching my namelist and METGRID.TBL files. The variable tables I used for ungribing the GFS and SST data are the 'Vtable.GFS' and 'Vtable.SST' files in the WPS/ungrib/Variable_tables directory. I've been able to reproduced this error on different systems, so i'm hoping this will be easily reproducible.
The SST data in the above link is only avaialbe for the past two days, so adjustments to my namelist for dates will be needed.
I am using WPS v4.2
GFS: Index of /pub/data/nccf/com/gfs/prod
SST: Index of /pub/data/nccf/com/nsst/prod
I've made one change to the METGRID table for the SST variable. The original entry was:
========================================
name=SST
interp_option=sixteen_pt+four_pt
fill_missing=0.
missing_value=-1.E30
flag_in_output=FLAG_SST
========================================
The new entry is:
========================================
name=SST
interp_option=sixteen_pt+four_pt+average_4pt
masked = land
interp_mask = LANDSEA(1)
fill_missing=0.
missing_value=-1.E30
flag_in_output=FLAG_SST
========================================
When I run metgrid with one processor, the program runs to completion. However, when I run the program with multiple processors, I get a segmentation fault.
The stack trace points to the sixteen_pt interpolation function in the metgrid source code. Additionally, when I change the interpolation option, even to the most basic "nearest_neighbor" setting, the segmentation fault still occurs when using more than one processor. If I change the 'interp_mask' from LANDSEA(1) to LANDMASK(1) in order to use the mask from geogrid, the program works with any number of processors.
The SST data I am using does not come with a LANDSEA mask, and I am aware that the LANDSEA mask I am asking for is from the GFS data. I noticed that 'interp_module.f90' in the metgrid source code declares the 'array' and 'masked_array' with the same dimensions. In this case, the 'mask_array' would correspond to the dimensions of the GFS data, and the 'array' would correspond to the SST data (different dimensions than the GFS data). Is it possible that this is causing some issues with indexing out of bounds of one of these arrays?
I am attaching my namelist and METGRID.TBL files. The variable tables I used for ungribing the GFS and SST data are the 'Vtable.GFS' and 'Vtable.SST' files in the WPS/ungrib/Variable_tables directory. I've been able to reproduced this error on different systems, so i'm hoping this will be easily reproducible.
The SST data in the above link is only avaialbe for the past two days, so adjustments to my namelist for dates will be needed.
I am using WPS v4.2