Skip to content

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

3 participants