Page 1 of 1

GPSH doesn't work

Posted: Mon Jul 10, 2017 4:26 pm
by Leonard
Hi Marc

Following the instructions to us GPSH in a linux machine (http://www.geopsy.org/wiki/index.php/Gpsh), the program returns "segmentation fault" only.

This is the log of gpsh -version:

Qt 4.8.6
QGpCoreTools 1.25.0 from geopsypack-2.10.1 (built on 201503182103)
QGpCoreWave 1.2.0 from geopsypack-2.10.1 (built on 201503182103)
gpsh 0.1.3 from geopsypack-2.10.1 (built on 201212061413)

Any solution to this problem.?

Thanks in advance.

Re: GPSH doesn't work

Posted: Thu Aug 17, 2017 11:55 am
by admin
My suggestion will certainly not work but maybe...
gpsh uses by default log scales for frequency ranges like all other gpdc, gpell,...
The problem is that I'm using a Fortran code provided by Pierre-Yves Bard that support only linear distribution of samples. The overhead code is really not very clean and was quickly written. If you do not check carefully the log scale may induce a lot of linear samples and potentially leading to seg fault.My suggestion is to try to run it with option -sampling linear instead of the default log.