Skip to content
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

Refactoring of the ghosting setup #3063

Draft
wants to merge 120 commits into
base: develop
Choose a base branch
from
Draft

Conversation

TotoGaz
Copy link
Contributor

@TotoGaz TotoGaz commented Apr 2, 2024

No description provided.

@TotoGaz TotoGaz self-assigned this Apr 2, 2024
@TotoGaz TotoGaz marked this pull request as ready for review April 2, 2024 22:25
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 54 lines in your changes missing coverage. Please review.

Project coverage is 53.19%. Comparing base (f856214) to head (1f3c112).
Report is 23 commits behind head on develop.

Current head 1f3c112 differs from pull request most recent head 025a132

Please upload reports for the commit 025a132 to get more accurate results.

Files Patch % Lines
...reComponents/mesh/generators/MeshBlockMappings.cpp 0.00% 48 Missing ⚠️
...reComponents/mesh/generators/MeshBlockMappings.hpp 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3063      +/-   ##
===========================================
- Coverage    56.45%   53.19%   -3.26%     
===========================================
  Files         1022      990      -32     
  Lines        86431    83550    -2881     
===========================================
- Hits         48794    44445    -4349     
- Misses       37637    39105    +1468     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TotoGaz TotoGaz marked this pull request as draft April 3, 2024 18:26
@ryar9534 ryar9534 linked an issue Jun 26, 2024 that may be closed by this pull request
23 tasks
std::size_t const numGlbNodes = gis.nodes.get() + 1; // TODO Use strongly typed integers
std::size_t const numOwnedNodes = std::size( ownedNodesIdcs ); // TODO Use strongly typed integers

auto const missingIndicesMap = make_rcp< TriMap const >( numGlbMissingIndices, numGlbMissingIndices, TriGlbIdx{ 0 }, comm );
Copy link
Contributor

@ryar9534 ryar9534 Jun 26, 2024

Choose a reason for hiding this comment

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

Should the second argument here be numLocMissingIndices instead of the global ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, yes probably, I would have expected a failure then...
I guess my current test case is too simple.

@ryar9534 ryar9534 self-assigned this Jul 2, 2024
@TotoGaz TotoGaz removed their assignment Jul 3, 2024
* added comments for global numbering (Ryan's version)

* comments for constructing owned and present mesh data (Ryan's version)

* comments for construction of alocal djacency matrix data by each rank (Ryan's version)

* Comments through ghostingFootprint (Ryan's version)

* Comments through construction of GhostSend/GhostRecv for each rank (Ryan's version)

* complete comments for performGhosting (Ryan's version)

* Update comments about sorting following fix

* finished comments of doTheNewGhosting (Ryan's version)

* make new ghosting active/deactive by setting command line flag (-g 1)
@TotoGaz TotoGaz changed the title Refactoring of the ghosting Refactoring of the ghosting setup Jul 5, 2024
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.

Rearchitecture of the ghosting setup
2 participants