Skip to content

Commit 4385c0d

Browse files
authored
Merge pull request #66 from entity-toolkit/bug/mpich
Send/recv buff alias problem
2 parents d18e200 + 0269572 commit 4385c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/framework/domain/metadomain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ namespace ntt {
390390
#if defined(MPI_ENABLED)
391391
auto dx_mins = std::vector<real_t>(g_ndomains);
392392
dx_mins[g_mpi_rank] = dx_min;
393-
MPI_Allgather(&dx_mins[g_mpi_rank],
393+
MPI_Allgather(&dx_min,
394394
1,
395395
mpi::get_type<real_t>(),
396396
dx_mins.data(),

0 commit comments

Comments
 (0)