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_DATATYPE_NULL in mpi distributions #1945

Open
jedwards4b opened this issue Dec 7, 2022 · 1 comment
Open

MPI_DATATYPE_NULL in mpi distributions #1945

jedwards4b opened this issue Dec 7, 2022 · 1 comment

Comments

@jedwards4b
Copy link
Contributor

In pio_internal.h we have a workaround for mpi libraries that do not (IMHO) correctly interpret the MPI standard with respect to the MPI_DATATYPE_NULL variable and generate errors when this datatype is passed to the library even when the associated data count is 0. If this is not the intent of MPI_DATATYPE_NULL then I have no idea what is. The code in pio_internal.h works around the problem for openmpi where we lost an argument here. And the HPE/SGI mpt implementation (pointless to argue, no issue was filed).

This recently came up again as an ESMF issue. when MPICH 4.0.0 is used.
An issue in the mpich repo indicates that the mpich developers fixed this issue in 4.0.1. Do we add another exception in pio_internal.h or just use our workaround all the time. @edwardhartnett?

@edwardhartnett
Copy link
Collaborator

I would say just use the workaround every time, documenting fully...

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

2 participants