Program received signal SIGSEGV: Segmentation fault - invalid memory reference
majunwei-ya opened this issue · comments
Hello, Mr. @Liu, I have installed the program and successfully run the example, It is very convenient. But when calculating my data, the following error occurred:
DAzimSurfTomo
input Rayleigh wave phase velocity data file:
Rayleigh.dat
model origin:latitude,longitue
36.5000 100.0000
grid spacing:latitude,longitue
0.5000 0.5000
model dimension:nx,ny,nz
40 48 6
depth refined interval layer
2.0
smoothing for dVsv
240.0
smoothing for Gc, Gs
0.0
damping
0.0
number of period
13
Rayleigh wave phase velocity used,periods:(s)
4.0 6.0 8.0 10.0 12.0 14.0 16.0 18.0 20.0 25.0 30.0 35.0 40.0
begin load data file.....
Number of all measurements 380374
grid points in depth direction:(km)
0.00 10.00 20.00 30.00 40.00 50.00
-----------------------------------------------------------
1 th iteration, invert for isotropic Vs para.
-----------------------------------------------------------
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:`
(Then there's nothing left, and it has to be terminated with "Ctrl + C")
I guess that our phase velocity data file is too large (more than 380000 lines). When only a small part is taken, it can be calculated. Is there any good solution? Thank you very much
Mr Liu have taught me to decrease the sparsity fraction.