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

Must i have a Nvdia GPU and it's toolkit installed to build CARLsim6 #31

Closed
efraser123 opened this issue Apr 28, 2023 · 2 comments
Closed
Assignees

Comments

@efraser123
Copy link

I've attempted to build the library with the (-DCARLSIM_NO_CUDA=OFF) option and the following error message is generated:
CMake Error at /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.26/Modules/FindCUDA.cmake:861 (message):
Specify CUDA_TOOLKIT_ROOT_DIR

Thanks

@SigmaX SigmaX self-assigned this Apr 30, 2023
@SigmaX
Copy link
Contributor

SigmaX commented Apr 30, 2023

@efraser123 You want to set -DCARLSIM_NO_CUDA=ON rather than -DCARLSIM_NO_CUDA=OFF. The latter is a double negative :).

Note also that you'll probably also want to use -DCARLSIM_PYCARL=OFF (see #22).

@SigmaX SigmaX closed this as completed Apr 30, 2023
@efraser123
Copy link
Author

Excellent! Thank you, Siggy.
Evan

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