wgrib2 returns segmentation fault (core dumped) on centos

992 Views Asked by At

I want to use wgrib2 for converting a grib file to txt using this command:

wgrib2 gribfile.grib2 -spread textfile.txt

I have Ubuntu 10.10 on one of my machines and the above command works flawlessly, but on another machine with CentOS 6.5 it returns Segmentation fault (core dumped) . I already tried to solve the problem using the procedure described on this page but all to avail.

Any idea?

1

There are 1 best solutions below

2
On

Did you increase your stack size using ulimit?

$ bash
$ ulimit -s 4400000