[QST]Could not find compiler set in environment variable CUDACXX:
I can use nvcc in my environment, but when I run "cmake .. -DCUTLASS_NVCC_ARCHS=80", an error happens:
-- CMake Version: 3.18.2 CMake Error at /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:25 (message): Could not find compiler set in environment variable CUDACXX:
$~/miniconda3/envs/int/bin/nvcc.
Call Stack (most recent call first): CUDA.cmake:46 (enable_language) CMakeLists.txt:42 (include)
CMake Error: CMAKE_CUDA_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/home/lizhangming/Project/torch-int-main/submodules/cutlass/build/CMakeFiles/CMakeOutput.log".
and before, I set "export CUDACXX=$~/miniconda3/envs/int/bin/nvcc". Wat should I do?
what if just
export PATH=path_to_nvcc_bin_dir/:$PATH
export LD_LIBRARY_PATH=path_to_nvcc_include_dir:$LD_LIBRARY_PATH
I encountered the same problem as you, have you resolved it?
This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.
Closing due to inactivity