Skip to content

Conversation

@jsquyres
Copy link
Member

@jsquyres jsquyres commented Sep 26, 2018

Refs #5442 (this is the v4.0.x version of #5443).

NOTE: This PR does not change the mpi_f08 ABI as far as I can tell. I tried with and without this PR using gcc 8.2 and intel 2018, and the symbols were always the same. This is not definitive proof, but I think ASYNCHRONOUS and INTENT do not change symbols.

PhilippOtte and others added 2 commits September 26, 2018 12:34
Corrected the signatures of the collectives used by the Fortran 2008
interface to state correct intent for inout arguments and use the
ASYNCHRONOUS attribute in non-blocking collective calls. Also corrected
the C-bindings in Fortran accordingly

Signed-off-by: Philipp Otte <philipp.j.otte@googlemail.com>
(cherry picked from commit e98d794)
Corrected the signatures of the collectives used by the Fortran 2008
interface to state correct intent for inout arguments and use the
ASYNCHRONOUS attribute in non-blocking collective calls.

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit f750c69)
@jsquyres
Copy link
Member Author

Per #5453 (comment), let's wait a day or so.

@gpaulsen
Copy link
Member

gpaulsen commented Oct 3, 2018

@ggouaillardet ?

@jsquyres
Copy link
Member Author

jsquyres commented Oct 3, 2018

@gpaulsen We were waiting for you to hear back from your Fortran experts...? (see the comment that I cited, where @gpaulsen said he was still checking with IBM Fortran experts)

@kawashima-fj
Copy link
Member

@jsquyres May I add a commit to this PR? I want to make a PR of #5799 for v4.0.x but must wait until this PR is merged because my commit is based on changes in this PR. If this PR is merged before your answer, I'll make a separate PR.

@gpaulsen
Copy link
Member

gpaulsen commented Oct 4, 2018

@jsquyres , @kawashima-fj, I was able to reach another IBM XL Fortran Engineer, who confirmed that INTENT does not change the calling convention (which is good since this was merged to master already).

@gpaulsen gpaulsen merged commit c079666 into open-mpi:v4.0.x Oct 4, 2018
@kawashima-fj
Copy link
Member

@gpaulsen , @jsquyres Thanks. I created a separate PR #5843.

@jsquyres jsquyres deleted the pr/v4.0.x/moar-fortran-fixes branch September 25, 2019 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants