-
Notifications
You must be signed in to change notification settings - Fork 871
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
fortran/use-mpi-f08: generates PMPI bindings from the MPI bindings #6903
fortran/use-mpi-f08: generates PMPI bindings from the MPI bindings #6903
Conversation
94c5c28
to
aeb9336
Compare
@jsquyres could you please review this ? this will make the code way more maintainable by avoiding to (virtually) duplicate bindings for both MPI and PMPI |
6bddd92
to
ab2ecd0
Compare
@jsquyres I also changed |
ab2ecd0
to
1ad0710
Compare
@jsquyres could you please review my latest revision ? |
The IBM CI (GNU/Scale) build failed! Please review the log, linked below. Gist: https://gist.github.com/e5b81044c203e5b2b300b2bcd2dba821 |
Can one of the admins verify this patch? |
@ggouaillardet I totally love this PR, and somehow it fell off of my radar. 😦 Any chance you could rebase this to master/HEAD? |
1ad0710
to
bab6181
Compare
The IBM CI (PGI) build failed! Please review the log, linked below. Gist: https://gist.github.com/75df50ef204a73d328bd6b1ddeeeba11 |
bab6181
to
f841c7f
Compare
The IBM CI (PGI) build failed! Please review the log, linked below. Gist: https://gist.github.com/a8c6211b616df33deadde3304b4f659b |
The IBM CI (PGI) build failed! Please review the log, linked below. Gist: https://gist.github.com/7d93d5743ce9d031310cb073d364ec93 |
ec12477
to
9fe1350
Compare
- via the OMPI_BUILD_MPI_PROFILING macro, avoid the need to have two distinct source files for MPI_* and PMPI_* bindings. - move the PMPI bindings into ompi/mpi/fortran/use-mpi-f08/profile. - remove an useless dependency to mpi-f08.lo - share most of mod/[p]mpi-f08-interfaces.F90 code in a single mod/mpi-f08-interfaces.h Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
have this file generated at configure time and use the @OMPI_FORTRAN_IGNORE_TKR_PREDECL@ and @OMPI_FORTRAN_IGNORE_TKR_TYPE@ variable for buffer definitions Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
only declare MPI_* bindings and use macros to deduce the PMPI_* bindings Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
only declare MPI_* bindings and use macros to deduce the PMPI_* bindings Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
9fe1350
to
8c2b916
Compare
@jsquyres I rebased this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a bunch of testing and it all checks out.
source files for MPI_* and PMPI_* bindings.
Signed-off-by: Gilles Gouaillardet gilles@rist.or.jp