HPCSys-Lab / simwave

Simulates the propagation of the acoustic wave using the finite difference method in 2D and 3D domains.
GNU General Public License v3.0
39 stars 14 forks source link

2D execution failing with scipy==1.10.0 #62

Open jaimesouza opened 1 year ago

jaimesouza commented 1 year ago
$ python3 gradient_2D.py 

Traceback (most recent call last):
  File "gradient_2D.py", line 199, in <module>
    recv_true = calculate_true_seimogram(velocity_model=tru_vel)
  File "gradient_2D.py", line 130, in calculate_true_seimogram
    solver = create_solver(saving_stride=0, velocity_model=velocity_model)
  File "gradient_2D.py", line 64, in create_solver
    space_model = SpaceModel(
  File "/home/jaime/simwave-research/simwave/kernel/frontend/model.py", line 57, in __init__
    self._velocity_model = self.interpolate(velocity_model)
  File "/home/jaime/simwave-research/simwave/kernel/frontend/model.py", line 242, in interpolate
    return self.dtype(interpolant((Z, X)))
  File "/usr/local/lib/python3.8/dist-packages/scipy/interpolate/_rgi.py", line 336, in __call__
    result = evaluate_linear_2d(self.values,
  File "_rgi_cython.pyx", line 19, in scipy.interpolate._rgi_cython.__pyx_fused_cpdef
TypeError: No matching signature found

It works with scipy==1.9.2