-
Notifications
You must be signed in to change notification settings - Fork 151
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
Building AMGX using Nix #27
Comments
Hi there, What driver is installed on the system? What CUDA toolkit is the library built against? |
I am using the CUDA toolkit outlined here. However, I haven't installed any drivers at least I'm not aware of any. |
Driver and proper Nvidia GPU are required for running AMGX. |
I've since switched to using the correct setup including drivers and GPU. The GPU is Tesla K40m with a compute capability of 3.5 and I'm using toolkit version 8.0.61_375.26. The build process that I'm using is outlined here. Now the following problem occurs when I run an example,
|
I'm unable to reproduce this, but could you post the output of:
|
@marsaev sorry to keep "hijacking" this thread! But a related issue is shwina/pyamgx#9 |
@shwina, oh, wow, it seems to have worked.
|
OK so the Nix recipe (while a bit clunky at runtime) at least works, but the problem seems to have something to do with cuDense? @marsaev any ideas? |
Hi guys, By looking into https://docs.nvidia.com/cuda/cusolver/index.html#cuSolverDNcreate i couldn't tell right away what is the problem with cuDense.
So now moving to the issues: |
Right, so I can run
but cannot run
for which I get the |
Can you set environment variable CUDA_LAUCNH_BLOCKING=1 and try to run again? Sometimes async launches generate errors that are misleading. |
I tried with |
Interesting, it's just from documentation it's not a lot of things that could go wrong with cuDense handle creation: |
I didn't need the dense solvers for the task at hand so the installation was adequate. Please close this if you like. Just to add to this, I've submitted a pull request for a Nix recipe, which also includes an AMGX recipe, for pyamgx. Would you want the AMGX part of that as part of this repository? It works, but it probably needs to be improved for general use. |
Thanks for your submission! |
I'm working on a Nix recipe for AMGX. It currently looks like this. Currently it seems to build without any issues. However, when I try to run an example I get the following,
Any ideas?
The text was updated successfully, but these errors were encountered: