Page 1 of 1

ERA52ARL segmentation fault error

Posted: July 6th, 2020, 8:09 am
by sonny.zinn
[An email inquiry is posted here.]

I've downloaded a ERA5 data using the script get_era5_cds.py from https://github.com/amcz/hysplit_metdata. The error message that I got when running the conversion:./era52arl -i./ERA5_2017.Jan08.3dpl.grib -a./ERA5_2017.Jan08.2dpl.all.grib is :
Existing decoding configuration: era52arl.cfg
Allocating agrib 264 ./ERA5_2017.Jan08.2dpl.all.grib
Allocating igrib 5328 ./ERA5_2017.Jan08.3dpl.grib
levels found in 3d file pl
HERE D
Number of time periods found 24
-1.02999997 27.2299995 48.7200012 77.2300034 0.250000000 0.250000000

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

Backtrace for this error:
#0 0x7f760f0de2ed in ???
#1 0x7f760f0dd503 in ???
#2 0x7f760e7b9f1f in ???
#3 0x7f760e90973d in ???
#4 0x7f760e8189fd in ???
#5 0x7f760f0dda42 in ???
#6 0x7f760f25c5fd in ???
#7 0x7f760f24a16b in ???
#8 0x55afc79675e7 in ???
#9 0x55afc79631f1 in era52arl
at /home/USER/hysplit/data2arl/era52arl/era52arl.f:809
#10 0x55afc795eb32 in main
at /home/USER/hysplit/data2arl/era52arl/era52arl.f:102
Segmentation fault (core dumped)


######## ldd return:
ldd era52arl
linux-vdso.so.1 (0x00007ffe7c9c9000)
libeccodes_f90.so => /home/USER/usr/local/eccodes_test2/lib/libeccodes_f90.so (0x00007fd32b504000)
libgfortran.so.4 => /usr/lib/x86_64-linux-gnu/libgfortran.so.4 (0x00007fd32b125000)
libm.so.6 => /home/USER/WKDIR/MODELS/hysplit.v5.0.0_Ubuntu/USER_glibc/libm.so.6 (0x00007fd32ade6000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd32abce000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd32a7dd000)
libeccodes.so => /home/USER/usr/local/eccodes_test2/lib/../lib/libeccodes.so (0x00007fd32a30a000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd32a0eb000)
libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fd329eab000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd32b94e000)
libjasper.so.1 => /usr/lib/x86_64-linux-gnu/libjasper.so.1 (0x00007fd329c56000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007fd3299ee000)
########

Re: ERA52ARL segmentation fault error

Posted: July 6th, 2020, 2:28 pm
by alicec
Can you please
1. use the verbose -v option.
and post
1. the contents of the MESSAGE file
2. contents of the era52arl.cfg file.

double check that your grib files downloaded properly.

Thank you!