Skip to content

Conversation

@eddy16112
Copy link
Contributor

I had a case that GASNet will crash if I finalize the MPI in the collFinalize function, so we will just let GASNet to handle the initialization and finalization of MPI.

@eddy16112 eddy16112 requested a review from magnatelee June 15, 2022 21:07
CHECK_MPI(MPI_Finalized(&fina_flag));
if (fina_flag == 0) { CHECK_MPI(MPI_Finalize()); }
if (fina_flag == 1) {
log_coll.fatal("MPI should not been finalized");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "MPI should not have been finalized"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it should have been fixed now.

@eddy16112 eddy16112 merged commit 7a9f53c into nv-legate:branch-22.07 Jun 15, 2022
@eddy16112 eddy16112 deleted the mpiinit branch June 15, 2022 23:29
manopapad pushed a commit that referenced this pull request Mar 5, 2025
* Permission checks for all code paths creating accessors

* Update the default for tester

* Fix the test to make it pass on multiple CPUs and some modernization changes

* Add multi-CPU testing to CI

* Update tests/cpp/unit/physical_store.cc

Co-authored-by: Jacob Faibussowitsch <jacob.fai@gmail.com>

---------

Co-authored-by: Jacob Faibussowitsch <jacob.fai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants