Page 2 of 2

Re: Segmentation fault using era52arl

Posted: January 18th, 2020, 1:55 pm
by chegch
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

Re: Segmentation fault using era52arl

Posted: January 19th, 2020, 10:27 am
by chegch
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

Re: Segmentation fault using era52arl

Posted: January 21st, 2020, 11:38 am
by AlexB
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

Re: Segmentation fault using era52arl

Posted: February 12th, 2020, 6:51 am
by Xisco
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

Re: Segmentation fault using era52arl

Posted: February 14th, 2020, 2:57 pm
by alicec
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