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

nvtx_pmpi Fortran interface crashes when using MPI_IN_PLACE #7

Open
germasch opened this issue Sep 2, 2020 · 1 comment
Open

nvtx_pmpi Fortran interface crashes when using MPI_IN_PLACE #7

germasch opened this issue Sep 2, 2020 · 1 comment

Comments

@germasch
Copy link

germasch commented Sep 2, 2020

nvtx_pmpi interfaces Fortran MPI_* calls to C PMPI_* calls itself, rather than leaving that step up to the underlying MPI library.
Unfortunately it gets some things wrong in the process, in particular, handling special constants that are used instead of data pointers, like MPI_IN_PLACE and MPI_BOTTOM.

I have a workaround for OpenMPI/SpectrumMPI, but it's not general, and I'm not positive that it's possible to do this generically in the first place. Anyway, I guess the first question is whether there is interest in addressing this issue, if so, it'd be worth discussing options on how to do it.

@rdietric
Copy link

rdietric commented Sep 7, 2020

I would propose to use https://github.com/LLNL/wrap/blob/fortran-fixes/wrap.py, which addresses this issue also for other MPI implementations.

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