-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Shoud it need to set CUDA_NVCC_EXECUTABLE
manually?
#28
Comments
Plus, by also setting I would think some environmental variables related to cuda, which is needed for this package, is not set in the ordinal installation way of cuda. Next, I will try to make Dockerfile to accumulate my knowledge. |
I had this problem because the system gcc/g++ was version 11 but cuda requires version <=10. |
nfyfamr
pushed a commit
to nfyfamr/MF-NeRF
that referenced
this issue
Aug 21, 2023
[fix] vren build error on windows cause long
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment: Ubuntu 20.04
GPU: RTX 3090
CUDA: v11.6
When I ran the command
cmake . -B build -DCMAKE_CUDA_COMPILER=/usr/local/cuda-11.6/bin/nvcc
, my GPU was not detected and it returns;I fixed this by setting
CUDA_NVCC_EXECUTABLE
mannually likecmake . -B build -DCMAKE_CUDA_COMPILER=/usr/local/cuda-11.6/bin/nvcc -DCUDA_NVCC_EXECUTABLE=/usr/local/cuda-11.6/bin/nvcc
because in
path/to/NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64/SDK/CMake/FindCUDA/select_compute_arch.cmake
,dont work due to
CUDA_NVCC_EXECUTABLE
is empty in my case. Unfortunately, there are few resources aboutCUDA_NVCC_EXECUTABLE
on web and I'd like to know what you expected in ordinal case. Is it my own environmental problem around CUDA?Thanks!
The text was updated successfully, but these errors were encountered: