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

MPI 4.1 - mpif.h is deprecated #12190

Open
hppritcha opened this issue Dec 21, 2023 · 2 comments · May be fixed by #13123
Open

MPI 4.1 - mpif.h is deprecated #12190

hppritcha opened this issue Dec 21, 2023 · 2 comments · May be fixed by #13123
Assignees
Labels

Comments

@hppritcha
Copy link
Member

not sure how we would like to handle this but see
MPI Forum issue mpi-forum/mpi-issues#561
item 6 in Section B1.2 of the MPI 4.1 standard

@devreal
Copy link
Contributor

devreal commented Dec 21, 2023

We could just place a preprocessor #warning in the header.

@devreal devreal self-assigned this Jan 4, 2024
@jeffhammond
Copy link
Contributor

There is no standard Fortran preprocessor and whether the non-standard variants are enabled usually depends on the file suffix (.F/F90 are preprocessed, .f/f90 are not). If you add #warning, you'll break the build in some cases.

What you could do is add a check in the compiler wrapper scripts to see if mpif.h is included and warn based on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To Do
Development

Successfully merging a pull request may close this issue.

3 participants