summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--configure.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 7d9a003..ef05760 100755
--- a/configure
+++ b/configure
@@ -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();