-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
RFE: optimize FORM TEAM by removing extra barrier #630
Labels
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
nathanweeks
added a commit
to nathanweeks/OpenCoarrays
that referenced
this issue
Apr 28, 2019
MPI_Comm_split alone is sufficient to provide the image-control-statement image ordering semantics required by FORM TEAM. Implements RFE in issue sourceryinstitute#630.
resolved in PR #660. Thanks so much @nathanweeks!!! You rock! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Execution of a FORM TEAM statement results in the following calls to MPI routines in mpi_caf.c:
MPI_Comm_split() is effectively a barrier: no MPI processes in CAF_COMM_WORLD can return from MPI_Comm_split() until all MPI processes in CAF_COMM_WORLD have called it. It seems that the aforementioned MPI_Barrier could be removed while still maintaining the FORM TEAM synchronization semantics as specified in the Fortran 2018 (N2146 draft):
The text was updated successfully, but these errors were encountered: