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

Segmentation Fault on Cuda 9.0 #18

Closed
LukasMosser opened this issue Dec 2, 2018 · 2 comments
Closed

Segmentation Fault on Cuda 9.0 #18

LukasMosser opened this issue Dec 2, 2018 · 2 comments

Comments

@LukasMosser
Copy link

Hi Alan,

Trying to get deepwave running on a fresh installed conda environment.
My versions are:

  • python-3.6
  • pytorch-cpu-4.1
  • cuda-9.0
  • cudnn 7.0
  • deepwave installed via pip install deepwave (version 0.0.4)
  • gcc-4.8.5
    Trying to run the example provided in Readme but the example fails on
    receiver_amplitudes = prop(source_amplitudes, x_s, x_r, dt)
    with a Segmentation Fault
    Any hints on what might be causing the seg-fault?
    Many thanks for your help!
@LukasMosser
Copy link
Author

I managed to figure out that you need at least gcc-4.9 to install pytorch extensions

Installed in a docker container via this link: https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6
which works.

@ar4
Copy link
Owner

ar4 commented Dec 2, 2018

Hi Lukas,

I'm glad that you got it figured out. Thank you for reporting back. I will add a note to the README documenting this.

-Alan

@ar4 ar4 closed this as completed in e5708bc Dec 3, 2018
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