cutlass icon indicating copy to clipboard operation
cutlass copied to clipboard

[QST]Could not find compiler set in environment variable CUDACXX:

Open Arthur-Ling opened this issue 2 years ago • 3 comments

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?

Arthur-Ling avatar Dec 13 '23 07:12 Arthur-Ling

what if just

export PATH=path_to_nvcc_bin_dir/:$PATH
export LD_LIBRARY_PATH=path_to_nvcc_include_dir:$LD_LIBRARY_PATH

hwu36 avatar Dec 13 '23 17:12 hwu36

I encountered the same problem as you, have you resolved it?

AkatsukiChiri avatar Jan 04 '24 18:01 AkatsukiChiri

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.

github-actions[bot] avatar Feb 03 '24 19:02 github-actions[bot]

Closing due to inactivity

mnicely avatar Feb 22 '24 15:02 mnicely