diff options
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -30090,6 +30090,7 @@ int main(int argc, char **argv) int bytes_read = 0, ret; MPI_Init(&argc, &argv); + memset(&mpi_stat, 0, sizeof(MPI_Status)); /* zero out status */ ret = MPI_Get_count(&mpi_stat, MPI_BYTE, &bytes_read); MPI_Finalize(); diff --git a/configure.in b/configure.in index 5230787..6b7e9ee 100644 --- a/configure.in +++ b/configure.in @@ -1697,6 +1697,7 @@ int main(int argc, char **argv) int bytes_read = 0, ret; MPI_Init(&argc, &argv); + memset(&mpi_stat, 0, sizeof(MPI_Status)); /* zero out status */ ret = MPI_Get_count(&mpi_stat, MPI_BYTE, &bytes_read); MPI_Finalize(); |