-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add specific communicator for neighborhood communication (Again) #1780
base: develop
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,37 @@ | |||
// SPDX-FileCopyrightText: 2024 - 2025 The Ginkgo authors |
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 think the range of years is somehow incorrect ? I think it should 2017 - 2025 ? Or is it different for each file ?
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.
IMO it's not important that every file has the copyright 2017-2025. This file didn't exist 2017, so putting a copyright for that year into it seems a bit pointless. Also this is just what the reuse tool does, so we should stick to it.
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.
Yes, I think that is fine, but neighborhood_communicator.cpp
also didnt exist in 2017. So, I would prefer that we be uniform.
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.
TBH, I will not change the copyright header that is added by our tooling. I think the reason for the difference is that the file with 2017-2025 was created when we still had our custom format_header.sh
, which always put in the 2017. New files created from now on will not have the 2017 anymore.
@@ -0,0 +1,273 @@ | |||
// SPDX-FileCopyrightText: 2017 - 2025 The Ginkgo authors |
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.
Here it is 2017 - 2025.
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.
need to apply formatting on ginkgo.hpp again due to the order of pre-commit order.
Signed-off-by: Marcel Koch <[email protected]>
Signed-off-by: Marcel Koch <[email protected]>
Signed-off-by: Marcel Koch <[email protected]>
1f5d8fe
to
a1b5990
Compare
Co-authored-by: Pratik Nayak <[email protected]> Signed-off-by: Marcel Koch <[email protected]>
Signed-off-by: Marcel Koch <[email protected]>
Co-authored-by: Pratik Nayak <[email protected]> Signed-off-by: Marcel Koch <[email protected]>
Signed-off-by: Marcel Koch <[email protected]>
- fix include guards - update docs - implement copy/move constructors/assignment with tests - add equality test for collective communicators (needed for testing) - always enable neighborhood comm, just throw if openmpi is too old - define moved-from state as MPI_COMM_NULL + empty sizes/offsets - remove unnecessary namespace - make virtual function protected Co-authored-by: Pratik Nayak <[email protected]> Co-authored-by: Tobias Ribizel <[email protected]> Signed-off-by: Marcel Koch <[email protected]>
- documentation - formatting - refactor test - fix docs Co-authored-by: Yu-Hsiang M. Tsai <[email protected]> Signed-off-by: Marcel Koch <[email protected]>
- merge tests Co-authored-by: Yu-Hsiang M. Tsai <[email protected]> Signed-off-by: Marcel Koch <[email protected]>
a1b5990
to
37f5bba
Compare
This is just #1588, which was marked as merged, because I reordered some commits, and GH interpreted this as the
neighborhood-communicator
branch being merged.For comments and details, see the previous PR.