Segmentation fault using era52arl

Post questions and find resources to convert meteorological data into a format HYSPLIT can read.
chegch
Posts: 3
Joined: January 18th, 2020, 1:41 pm
Registered HYSPLIT User: No

Re: Segmentation fault using era52arl

Post by chegch » January 18th, 2020, 1:55 pm

Hi
Have you got this solved? I also have the same error and I'm on physical linux machine (HPC). The data is also downloaded by using hysplit_metdata. The error message is below:

Code: Select all

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7F137AB5F697
#1  0x7F137AB5FCDE
#2  0x7F137A4AD27F
#3  0x7F137B300F77
#4  0x7F137B304244
#5  0x405DD5 in MAIN__ at era52arl.f:648
Segmentation fault
It seems the line 648 in era52arl.f is not working properly, which is

Code: Select all

call grib_get(igrib(i),'gridType',project)
. Then I tested the grib_get by just

Code: Select all

>grib_get test ERA5_2017.Sep01.2dpl.all.grib
, and it didn't give me any error message. I also tried to allocate memory up to 40GB (with PBS), but this error still exists.

The example data I used can be found in here

Many thanks!
HC

chegch
Posts: 3
Joined: January 18th, 2020, 1:41 pm
Registered HYSPLIT User: No

Re: Segmentation fault using era52arl

Post by chegch » January 19th, 2020, 10:27 am

Hi

Did you figure out this error? I got this error too when converting ERA5 data, and I'm on a physical Linux machine.
I even tried to download a sample data for just one day, but still showed this error. Maybe it has something to do with the eccodes?
The error message is below

Code: Select all

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0  0x7F137AB5F697
#1  0x7F137AB5FCDE
#2  0x7F137A4AD27F
#3  0x7F137B300F77
#4  0x7F137B304244
#5  0x405DD5 in MAIN__ at era52arl.f:648
Segmentation fault
:


Many thanks
HC

AlexB
Posts: 7
Joined: September 26th, 2019, 10:04 am
Registered HYSPLIT User: Yes

Re: Segmentation fault using era52arl

Post by AlexB » January 21st, 2020, 11:38 am

Hi,

So far, I did not find any solution to this issue. You even have gone further than I have in your search for sources of error.
I will keep you informed through this thread if finally make it and be happy if you do the same in case of successful troubleshooting.

Thanks,

Alex

Xisco
Posts: 1
Joined: February 11th, 2020, 11:01 am
Registered HYSPLIT User: Yes

Re: Segmentation fault using era52arl

Post by Xisco » February 12th, 2020, 6:51 am

Hi everyone,
I also received the same error as AlexB, even the same messages with a dedicated Linux machine (not a virtual machine). Do you know if anyone has made any progress with this?
Thank you very much
Xisco

alicec
Posts: 174
Joined: February 8th, 2016, 12:56 pm
Registered HYSPLIT User: Yes

Re: Segmentation fault using era52arl

Post by alicec » February 14th, 2020, 2:57 pm

Please make sure you have the latest version of era52arl.f
I have added the most recent version to the github repository so you may get it from there as well.
https://github.com/amcz/hysplit_metdata

Try using the grib_dump utility with eccodes to see what is in your grib file.
https://confluence.ecmwf.int//display/ECC/GRIB+tools

Alice

Post Reply