ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Topics related to running the ungrib.exe program
Post Reply
mgolbazi
Posts: 5
Joined: Tue Apr 21, 2020 9:29 pm

ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by mgolbazi » Tue Apr 21, 2020 9:40 pm

I have recently faced a problem with my WPS runs. I use WPS-4.1 and I need to run it for the summer of 2018. However, when I use the 0.25 degree grib2 data files from (NCEP GDAS Final Analysis ), and I run 'ungrib.exe', it seems like it creates PFILES and in the end I get an error message saying:

"Name of source model =>NCEP GFS Analysis
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
ungrib.exe 00000000004B06BD Unknown Unknown Unknown
libpthread-2.17.s 00007F2561A5B5E0 Unknown Unknown Unknown
ungrib.exe 000000000041FB15 Unknown Unknown Unknown
ungrib.exe 000000000040AEBD Unknown Unknown Unknown
ungrib.exe 00000000004039BE Unknown Unknown Unknown
libc-2.17.so 00007F25616AAC05 __libc_start_main Unknown Unknown
ungrib.exe 00000000004038C3 Unknown Unknown Unknown"

I solved this problem by using a different Vtable that I found online (I attached the Vtable to this email). However I am not sure if this is the right way to deal with it.

Does anybody know if this is the solution?

Thank you all,
Maryam
Attachments
VtableText.txt
(3.76 KiB) Downloaded 25 times

Ming Chen
Posts: 1101
Joined: Mon Apr 23, 2018 9:42 pm

Re: ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by Ming Chen » Thu Apr 23, 2020 5:17 pm

Can you give me more information about the NCEP GDAS final analysis? Where did you download this data? Did you create Vtable to ungrib it?
WRF Help Desk

mgolbazi
Posts: 5
Joined: Tue Apr 21, 2020 9:29 pm

Re: ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by mgolbazi » Thu Apr 23, 2020 9:47 pm

Thanks for getting back to me.

I download the data from NCAR RDA (Research Data Archive): https://rda.ucar.edu/datasets/ds083.3/i ... 3?g=201807
There are analysis data and forecast data. I only downloaded "*.f00.grib2" which are analysis data.

I usually use the "Vtable.GFS" that exists in '/WPS/ungrib/Variable_Tables/" folder which I have attached to this message. When using "Vtable.GFS", I get the segmentation fault error.

However, I found "Vtable.GFSPARA" online as a solution. I attached that to this message as well. With "Vtable.GFSPARA", ungrib seems to run successfully. It however doesn't seem to include everything as in Vtable for GFS pressure-level data from the ncep server (Vtable.GFS) and that is why I am not sure if it could be the right solution.
Attachments
Vtable_GFSPARA.txt
(3.76 KiB) Downloaded 27 times
Vtable_GFS.txt
(8.42 KiB) Downloaded 21 times

Ming Chen
Posts: 1101
Joined: Mon Apr 23, 2018 9:42 pm

Re: ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by Ming Chen » Fri Apr 24, 2020 10:46 pm

Maryam,
I looked at the GDAS data downloaded from RDA ds083.3. It includes all variables required for running WPS/WRF.
I believe it should work if your Vtable, which I didn't check all details, is correct.
Please try and let me know if there is any problem.
WRF Help Desk

hueini
Posts: 1
Joined: Wed May 13, 2020 3:29 pm

Re: ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by hueini » Wed May 13, 2020 6:06 pm

Hi

I ran into this same problem with WPS4.1.3 compiled with intel 19.0.5. The 0.25 degree came from the same download site.

The code and data works fine when compiled with intel 18.0.3 on another system.

Please advise.

Thanks
Agnes

irowe1
Posts: 19
Joined: Fri May 15, 2020 8:05 pm

Re: ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by irowe1 » Tue Jul 07, 2020 8:31 pm

I am having the same error, as I am using the same data set and Vtable as the original post. Here is my namelist.wps and my ungrib.log.

Is there anyway to get a more descriptive error message from ungrib?
Attachments
ungrib.log
(68.1 KiB) Downloaded 14 times
namelist.wps
(1.32 KiB) Downloaded 19 times

irowe1
Posts: 19
Joined: Fri May 15, 2020 8:05 pm

Re: ungrib v4 segmentation fault: when using 0.25 degree grib2 data for 2018

Post by irowe1 » Tue Jul 07, 2020 8:47 pm

I wasn't able to get a better error message, but I was able to allocate more stack space and run ungrib again (ulimit -s unlimited). When I re-ran following this change, everything worked.

Post Reply

Return to “ungrib”