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

Fix CUDA compilation with Cray Wrappers #416

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Conversation

wavefunction91
Copy link

Cray wrappers don't populate MPI_<LANG>_INCLUDE_DIRECTORIES because they're implicit, and to avoid incompatibilities, it makes sense to delegate to the compiler. The problem is that this information is not propagated to the CUDA compiler. Found a simpler fix than the one suggested in #413: simply append the implicit CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES as source-level compilation features for the CUDA files.

Closes #413

@evaleev evaleev merged commit 7edd935 into master Sep 14, 2023
@evaleev evaleev deleted the dbwy/fix_cray_cuda branch September 14, 2023 18:23
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.

ENABLE_CUDA fails with Cray Wrappers
2 participants