Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message: "Fortran runtime error: rank of return array incorrect in RESHAPE intrinsic" #48

Open
ttcat98 opened this issue Apr 5, 2024 · 1 comment

Comments

@ttcat98
Copy link

ttcat98 commented Apr 5, 2024

I installed telewavesim into a conda environment (using pip install telewavesim) with python=3.10, obspy=1.4.0, numpy=1.26, gfrotran=10.2, liblapack=3.9. But it is failed when I try to run utils.runplane(). Can someone help me out? Thank you.

>>> from telewavesim import utils
>>> model = utils.Model([20., 0.], [2800., 3300.], [4., 6.], [2.6, 3.6], ['tri', 'iso'], [5., 0], [30., 0], [10., 0])
>>> st = utils.run_plane(model, 0.058, 2048, 0.02)
Fortran runtime error: rank of return array incorrect in RESHAPE intrinsic
@trichter
Copy link
Collaborator

I don't know what is the problem here.

Is it working with another model? Are tests pytest -v --pyargs telewavesim OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants