Open jgtong opened 2 months ago
Hi @jgtong, do CMAKE_C_COMPILER
and CMAKE_CXX_COMPILER
have the right path in /.../llvm/build/CMakeCache.txt
?
Which cuda runtime version are you using and are you sure ubuntu 24.04 supports it? cuda toolkit only supports 24.04 for latest versions, please consult cuda toolkit docs.
Hi @jgtong, do
CMAKE_C_COMPILER
andCMAKE_CXX_COMPILER
have the right path in/.../llvm/build/CMakeCache.txt
?
Yes, I can confirm that CMAKE_C_COMPILER
and CMAKE_CXX_COMPILER
have the correct gcc path. In this case, I am using gcc-13 and g++-13
Which cuda runtime version are you using and are you sure ubuntu 24.04 supports it? cuda toolkit only supports 24.04 for latest versions, please consult cuda toolkit docs.
Yes, I was using Ubuntu 24.04 and NV CUDA Toolkit version 12.6
Which cuda runtime version are you using and are you sure ubuntu 24.04 supports it? cuda toolkit only supports 24.04 for latest versions, please consult cuda toolkit docs.
Yes, I was using Ubuntu 24.04 and NV CUDA Toolkit version 12.6
I think this is likely to be an issue with incompatible gcc modules. I suggest you experiment with only having a single e.g. libstdc++-13-dev version loaded.
@JackAKirk
Thanks, I do have the correct module loaded and even exported the CC/CXX variables to `/path/to/{gcc-13,g++-13}' respectively
Describe the bug
Compilation of DPC++ with CUDA support keeps error'ing out at the late stage during the compilation process. The error message I see is
This error occurred after system admins upgraded the node to Ubuntu 24.04.1. The
libstdc++-13-dev
andlibstdc++-12-dev
packages are installed. We also tried setting the following variablesand still gives the same error. The
cstddef
andcstdint
header files do exist on the system, but not sure why the compiler is not picking them upTo reproduce
Environment
7989104dbcc6e2fc06c071381de1e34b75b2ff9b
Additional context
No response