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

capgen should be able to handle the MPI 2008 interfaces #390

Closed
gold2718 opened this issue Aug 10, 2021 · 3 comments
Closed

capgen should be able to handle the MPI 2008 interfaces #390

gold2718 opened this issue Aug 10, 2021 · 3 comments

Comments

@gold2718
Copy link
Collaborator

  • MPI F77 interfaces (use mpi) cause issues with compilers in that two calls to the same MPI routine with different data types (e.g., MPI_bcast called with MPI_REAL8 and MPI_INTEGER). The second call will be flagged as an error for passing the "wrong" type of data (integers when reals were passed in the first call).
  • Newer (Fortran90 style) MPI interfaces exist and are available using modules such as mpi_f08.
  • There is an incompatibility in the type of an MPI communicator (F77 version is an integer, F90+ versions are a special type)
  • Metadata for the MPI communicator should use the modern type (MPI_Comm)
  • A switch to capgen could enable "use" of either mpi or mpi_f08 in caps.
  • For the mpi version, capgen will internally convert MPI_Comm to integer.
@climbfuji
Copy link
Collaborator

@dustinswales @gold2718 I think that's all done, correct?

@gold2718
Copy link
Collaborator Author

I have not had a chance to test this but it should have been resolved by #523 so I'm okay with closing it.

@dustinswales
Copy link
Collaborator

@climbfuji Yeah this one is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants