-
Notifications
You must be signed in to change notification settings - Fork 102
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
configure failed to locate cudart lib #1101
Comments
Hi, thank you for reporting this! We're aware of this issue, the CUDA detection logic was written more than a decade ago, and things have changed since then. I'm working on a new build system with an updated CUDA detection macro that should fix this, which will be released soon. Unfortunately, most of the CUDA-enabled codes use an older CUDA API that no longer exists, so they will still be broken. ph4 should work in the new release. I have two questions that will help me help you:
|
Hi,
Then I installed the Nvidia CUDA tool kit for Fedora 39. Thanks. |
Okay, I've had a look at the nVidia CUDA packages for Fedora 39 and how they install it, and I think that'll work fine with the new release when it comes out. I'm a software engineer, not an astrophysicist, so I'm going to refer you to the AMUSE book (you can download it for free from there) for choosing an appropriate n-body code for star clusters, it has a whole section on them that also explains all the different codes and how they work. As I mentioned ph4 should work in the new release, and Huayno's OpenCL mode should work with CUDA as well actually, and I'll take this as a request to get Bonsai running again, which we need to do anyway, in case you want to make some really big star clusters. |
I look forward to the forthcoming release. In the meantime, let me check out the AMUSE book. Thanks again. |
Describe the bug
A clear and concise description of what the bug is.
Run "configure --enable-cuda" got "configure: error: cannot find cuda runtime libraries in /usr/local/cuda-12.6/lib /usr/local/cuda-12.6/lib64:
To Reproduce
Steps to reproduce the behavior:
Run "configure --enable-cuda"
Expected behavior
A clear and concise description of what you expected to happen.
Should be able to locate cudart lib without error.
Logs
If applicable, add logfiles to help explain your problem.
config.log
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Machine with CUDA TK installed.
The text was updated successfully, but these errors were encountered: