Correcting the size of the displacement list in the SourceSite MPI interface object (#3356)

This commit is contained in:
Joffrey Dorville 2025-03-18 16:25:48 -05:00 committed by GitHub
parent 08e7043f8d
commit 18d9f97551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -157,7 +157,7 @@ void initialize_mpi(MPI_Comm intracomm)
// Create bank datatype
SourceSite b;
MPI_Aint disp[10];
MPI_Aint disp[11];
MPI_Get_address(&b.r, &disp[0]);
MPI_Get_address(&b.u, &disp[1]);
MPI_Get_address(&b.E, &disp[2]);