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

cmake: add -fallow-argument-mismatch if MPICH is detected with GCC 10+ #416

Open
dev-zero opened this issue Jan 5, 2021 · 0 comments
Open

Comments

@dev-zero
Copy link
Contributor

dev-zero commented Jan 5, 2021

until pmodels/mpich#4300 is solved we need to add -fallow-argument-mismatch when building our MPI wrapper. The most portable and clean solution would be to try_compile a snippet triggering the issue when gcc 10+ is used and if it is triggered, add the flag. The other option would be to unconditionally add the flag when MPICH and gcc 10+ are used. The latter has the disadvantage that we manually have to update the check once MPICH resolves the issue

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

No branches or pull requests

1 participant