Skip to content

Conversation

@AlexKurek
Copy link
Contributor

@AlexKurek AlexKurek commented Jan 16, 2025

Description

This restores CUDA as it was in currently reverted #151. Also make the lines fit on laptop screen.

@AlexKurek AlexKurek marked this pull request as draft January 16, 2025 11:05
@AlexKurek
Copy link
Contributor Author

AlexKurek commented Jan 16, 2025

Currently it crashes at:

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

Adding: -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ is not helping.

So is adding: -DCMAKE_C_COMPILER=/usr/bin/gcc-13 -DCMAKE_CXX_COMPILER=/usr/bin/g++-13.

Adding: -DCMAKE_CUDA_COMPILER=/usr/bin/g++-13 -DCMAKE_C_COMPILER=/usr/bin/gcc-13 -DCMAKE_CXX_COMPILER=/usr/bin/g++-13 gives:

-- The CUDA compiler identification is unknown
CMake Error at /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:266 (message):
Failed to detect a default CUDA architecture.

Adding also -DCMAKE_CUDA_ARCHITECTURES=native gives:

-- Detecting CUDA compiler ABI info
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
_CMAKE_CUDA_WHOLE_FLAG

@AlexKurek AlexKurek force-pushed the Enable-CUDA-in-DP3-on-Fedora-40 branch from fc504dc to 24c12af Compare January 16, 2025 16:48
@AlexKurek AlexKurek changed the title Resore CUDA for DP3 in Fedora 40 Restore CUDA for DP3 in Fedora 40 Jan 16, 2025
@AlexKurek AlexKurek changed the title Restore CUDA for DP3 in Fedora 40 Enable CUDA for DP3 Jan 18, 2025
@AlexKurek AlexKurek marked this pull request as ready for review January 18, 2025 07:40
@AlexKurek AlexKurek mentioned this pull request Jan 31, 2025
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

Successfully merging this pull request may close these issues.

1 participant