-
Notifications
You must be signed in to change notification settings - Fork 868
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
v4.0.x: Re-add removed deprecate-only MPI-2.0 symbols #6120
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,17 @@ | |
#include "ompi_config.h" | ||
#include <stdio.h> | ||
|
||
/* This implementation has been removed from the MPI 3.1 standard. | ||
* Open MPI v4.0.x is keeping the implementation in the library, but | ||
* removing the prototypes from the headers, unless the user configures | ||
* with --enable-mpi1-compatibility. | ||
* | ||
* To prevent having to port these implementations of removed functions | ||
* to the newer MPI calls, we are defining ENABLE_MPI1_COMPAT to 1 | ||
* before including the c bindings. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I cannot parse this statement -- what exactly does it mean? Why would we port MPI_ADDRESS to be implemented on top of MPI_GET_ADDRESS? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The intent was to communicate that we are NOT porting the implementations of these removed mpi1 functions to use the NEWer APIs, and instead we're doing Maco magic to allow us to build the older functions for the library only. I suspect all of this is clear ( |
||
*/ | ||
#define ENABLE_MPI1_COMPAT 1 | ||
|
||
#include "ompi/mpi/c/bindings.h" | ||
#include "ompi/runtime/params.h" | ||
#include "ompi/communicator/communicator.h" | ||
|
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.
How about putting these files just back up (alphabetically) in the main list of files?
Also, this specific commit was not a cherry pick, right? Can you please put a comment about that in the commit message? (i.e., why this is not a cherry pick: because on master, we are no longer building those symbols by default, but on v4.0 we are still building those symbols by default, yadda yadda yadda)
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 kinda liked having them separated out at the bottom to help indicate that they're going away.
I will rework the commit message to indicate why we want/need this v4.0.x specific patch (instead of a cherry-pick from master).