-
Notifications
You must be signed in to change notification settings - Fork 22
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
README instructions outdated (?), build fails with CUDA enabled #200
Comments
What version of CMake are you using? |
3.20.1 |
Okay, so there are two things here - the |
Then can you please modify the main README to provide up-to-date instructions on how to build?
Our build of CHAI was broken when installing through spack, so I tried compiling manually and both cases produced the same errors indicated above.
Perhaps it's worth testing against the most recent major release of cuda (v10.0 is ~3 years old) |
Update: when configuring with an old version of CMake (3.14), CHAI does build without error:
Perhaps the discrepancy is related to some of the recent changes to CMake's built-in support for CUDA. It would be good if CHAI could discover which versions of CMake it does support, and indicate that on the README / documentation. |
On an Ubuntu 20.04 machine, with cuda 11.4 and g++ 9.3, I follow the instructions on the README:
So, it seems the toolkit directory is being ignored and not actually enabling cuda (?). If we force cuda to be enabled, cmake configures as one would expect, but the library itself fails to build:
There are many more errors like this.
The text was updated successfully, but these errors were encountered: