Skip to content
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

known-issues: cuda 11.x with modern glibc and CMake #604

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lucbv
Copy link

@lucbv lucbv commented Nov 13, 2024

Writing an initial stub for this know issues but it might be a good idea to add more to this documenting paragraph

Keeping track of the know incompatibility in the toolchain.

Signed-off-by: Luc Berger-Vergiat <[email protected]>
@@ -28,6 +28,8 @@ CUDA

Therefore, from version 4.5, the default behavior for Kokkos is to preventively disable `cudaMallocAsync.`

- cuda 11.0 and 11.2 are not compatible with glibc 2.34 librt stubs. That issue is related to how the CMake package handles linking with librt. For more information please look at issue `#7512 <https://github.com/kokkos/kokkos/issues/7512>`_.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brian-kelley said

It looks like the cuda toolkit doesn't support rhel9 as a platform until 11.8

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- cuda 11.0 and 11.2 are not compatible with glibc 2.34 librt stubs. That issue is related to how the CMake package handles linking with librt. For more information please look at issue `#7512 <https://github.com/kokkos/kokkos/issues/7512>`_.
- Cuda 11.0 and 11.2 are not compatible with glibc 2.34 librt stubs. That issue is related to how the CMake package handles linking with librt. For more information please look at issue `#7512 <https://github.com/kokkos/kokkos/issues/7512>`_.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Downgrading CMake to less than 3.17 provide another workaround because we are rolling our own then, see https://github.com/kokkos/kokkos/blob/7ff4042fd2dc1d1fe6ae280179fc693ad6dac6ac/cmake/Modules/FindTPLCUDA.cmake#L14-L39.

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.

3 participants