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

MPI 3: minor edits #13483

Merged
merged 1 commit into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/step-76/step-76.cc
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ namespace Euler_DG
EulerOperator<dim, degree, n_points_1d>::EulerOperator(TimerOutput &timer)
: timer(timer)
{
#if DEAL_II_MPI_VERSION_GTE(3, 0)
#ifdef DEAL_II_WITH_MPI
if (group_size == 1)
{
this->subcommunicator = MPI_COMM_SELF;
Expand Down
3 changes: 1 addition & 2 deletions source/base/mpi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ namespace Utilities

# ifdef DEBUG
MPI_Count size64;
// this function is only available starting with MPI 3.0:
ierr = MPI_Type_size_x(result, &size64);
AssertThrowMPI(ierr);

Expand Down Expand Up @@ -367,7 +366,7 @@ namespace Utilities
// So we need to run a different algorithm, specifically one that
// requires more memory -- MPI_Reduce_scatter_block will require memory
// proportional to the number of processes involved; that function is
// also only available for MPI 2.2 or later:
// available for MPI 2.2 or later:
static CollectiveMutex mutex;
CollectiveMutex::ScopedLock lock(mutex, mpi_comm);

Expand Down