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

Fixing issue #102: Compilation errors with clang 13 and OpenMP and MPI #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rseidler2019
Copy link

Short:
Fixed compilation errors relating Clang 13 with OpenMP and MPI examples

Explanation:

  • Fixed clang 13 OpenMP bug in cudaOpenMP and UnifiedMemoryStreams:
    Check if we are running a clang compiler as Host-Compiler,
  1. omit -lgomp / -lomp
  2. if clang 13 is found, add -Xcompiler -fopenmp-version=45
  • Fixed Bug in simpleMPI:
    If we are using any clang compiler, use -fPIE for the compilation

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.

None yet

1 participant