Segmentation fault using era52arl
Posted: September 26th, 2019, 10:40 am
Hello,
I recently tried to convert some ERA5 data to ARL format.
I used the code provided by Alice Crawford (I am very grateful, it's very helpful !) https://github.com/amcz/hysplit_metdata.
I reached the point when the data is well downloaded (8-split) and the python script tries to execute the era52arl program with the data.
Firstly, I had trouble compiling era52arl as described in an other topic (viewtopic.php?t=1643).
I finally make the right links with the eccodes library (at least I think so) and compiled era52arl. But is it successfully compiled ? I can doubt it ... For information, it weights 132.5 kB.
Now, when I try either the conversion code provided or to use directly era52arl both with split files and full-day file (downloaded afterward) I have this "Segmentation fault - invalid memory reference".
See the output in my terminal window at the end of the post.
I am so close to have these data converted it is really frustrating.
Did someone already have this type of error or understand it ?
Thank you so much in advance,
Alex
%%%%%%%%%%%%%%%%%%%%%%%%%%
alex@alex-VirtualBox:~/Desktop/CDSxHYSPLIT/DATA/Test_11June2019_fullfile$ ./era52arl -iERA5_2019.Jun11.3dpl.all.grib -aERA5_2019.Jun11.2dpl.all.grib
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7fa3b95a82da in ???
#1 0x7fa3b95a7503 in ???
#2 0x7fa3b8c24f1f in ???
#3 0x7fa3b8d70d10 in ???
#4 0x7fa3b9731d79 in ???
#5 0x7fa3b95a7ccf in ???
#6 0x55b942a8fda2 in era52arl
at /home/chrisl/V951/hysp_new/data2arl/era52arl/era52arl.f:343
#7 0x55b942a8da72 in main
at /home/chrisl/V951/hysp_new/data2arl/era52arl/era52arl.f:92
Segmentation fault (core dumped)
%%%%%%%%%%%%%%%%%%%%%%%%%
I recently tried to convert some ERA5 data to ARL format.
I used the code provided by Alice Crawford (I am very grateful, it's very helpful !) https://github.com/amcz/hysplit_metdata.
I reached the point when the data is well downloaded (8-split) and the python script tries to execute the era52arl program with the data.
Firstly, I had trouble compiling era52arl as described in an other topic (viewtopic.php?t=1643).
I finally make the right links with the eccodes library (at least I think so) and compiled era52arl. But is it successfully compiled ? I can doubt it ... For information, it weights 132.5 kB.
Now, when I try either the conversion code provided or to use directly era52arl both with split files and full-day file (downloaded afterward) I have this "Segmentation fault - invalid memory reference".
See the output in my terminal window at the end of the post.
I am so close to have these data converted it is really frustrating.
Did someone already have this type of error or understand it ?
Thank you so much in advance,
Alex
%%%%%%%%%%%%%%%%%%%%%%%%%%
alex@alex-VirtualBox:~/Desktop/CDSxHYSPLIT/DATA/Test_11June2019_fullfile$ ./era52arl -iERA5_2019.Jun11.3dpl.all.grib -aERA5_2019.Jun11.2dpl.all.grib
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x7fa3b95a82da in ???
#1 0x7fa3b95a7503 in ???
#2 0x7fa3b8c24f1f in ???
#3 0x7fa3b8d70d10 in ???
#4 0x7fa3b9731d79 in ???
#5 0x7fa3b95a7ccf in ???
#6 0x55b942a8fda2 in era52arl
at /home/chrisl/V951/hysp_new/data2arl/era52arl/era52arl.f:343
#7 0x55b942a8da72 in main
at /home/chrisl/V951/hysp_new/data2arl/era52arl/era52arl.f:92
Segmentation fault (core dumped)
%%%%%%%%%%%%%%%%%%%%%%%%%