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 when run example.py #50

Open
fromprimary opened this issue Nov 29, 2023 · 10 comments
Open

error when run example.py #50

fromprimary opened this issue Nov 29, 2023 · 10 comments

Comments

@fromprimary
Copy link

After I install gpurir successfully, I tried to run example.py. An error came out, which is miniconda3/envs/crn_train/lib/python3.9/site-packages/gpuRIR-1.2.0-py3.9-linux-x86_64.egg/gpuRIR_bind.cpython-39-x86_64-linux-gnu.so: undefined symbol: cufftExecC2R . How can I solve this problem?

@DavidDiazGuerra
Copy link
Owner

I have never seen that error, it seems like it wasn't possible to find the cuFFT binaries, but I am surprised about the error coming from cufftExecC2R. That function is not called during example.py and there are other cuFFT functions that should have been called before.

Could you check in which line of example.py the error happens?

@fromprimary
Copy link
Author

This error happens when import gpuRIR and then 'from gpuRIR_bind import gpuRIR_bind' in init.py

@DavidDiazGuerra
Copy link
Owner

DavidDiazGuerra commented Dec 7, 2023

It seems like there's some problem with your CUDA and cuFFT installation and Python cannot find the cuFFT binaries. They are installed by default when you install the CUDA Toolkit and if you were able to install the library that means that you have the CUDA Toolkit correctly installed, so I don't know what can be wrong. I'm sorry but I'm afraid I cannot help you with this. The only thing that comes to my mind is reinstalling the CUDA Toolkit and then installing gpuRIR again, but I cannot guarantee that this will work.

@guohmweip
Copy link

I have the same problem. If you have solved it, please tell the method.

@Underman30
Copy link

Encounter with the same error, have you resolved it?

@fromprimary
Copy link
Author

My cudaTookit is installed by anaconda and I found there is cuFFT binaries, but no cudatookit folder. Maybe reinstalling cudaTookit with other way may work.

@DavidDiazGuerra
Copy link
Owner

I've always installed the CUDA Toolkit from the Nvidia website, so I don't know if installing it with conda should work or not.

@DavidDiazGuerra DavidDiazGuerra mentioned this issue Feb 8, 2024
@TuttiChi
Copy link

I got the problem too

@TuttiChi
Copy link

I occur this problem by change python version to 3.7

@DavidDiazGuerra
Copy link
Owner

I don't know what can be going on. I'll ask in the NVidia forum to see if someone there has any clue about how to fix this.

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

5 participants