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

ConsensusAlgorithmsPayload: switch internal data type #16631

Conversation

peterrum
Copy link
Member

No description provided.

@peterrum peterrum changed the title ConsensusAlgorithmsPayload: switch internal data type [WIP] ConsensusAlgorithmsPayload: switch internal data type Feb 12, 2024
@@ -638,7 +639,7 @@ namespace Utilities
send_requests.push_back(MPI_Request());
const int ierr = MPI_Isend(send_data[i].data(),
send_data[i].size(),
MPI_UNSIGNED,
MPI_UNSIGNED_LONG,
Copy link
Member

Choose a reason for hiding this comment

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

Can you please adjust this type such that it both works with 32 and 64 bit integers (note the type of types::global_dof_index?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done!

@peterrum peterrum force-pushed the mpi_compute_index_owner_internal_global_dof_index branch from 3d53242 to 6eec835 Compare February 12, 2024 07:42
@peterrum peterrum changed the title [WIP] ConsensusAlgorithmsPayload: switch internal data type ConsensusAlgorithmsPayload: switch internal data type Feb 12, 2024
Copy link
Member

@kronbichler kronbichler left a comment

Choose a reason for hiding this comment

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

I checked the other occurrences of 32/64 bit indices in this setup and could not find other problematic places. This does obviously not ensure that I'm not missing some place, but with @marcfehling's success I am confident that we fixed the imminent problem.

@bangerth bangerth merged commit 3855932 into dealii:master Feb 12, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants