From 573675e071a05bcc06636cbbfea72e9db3a9add2 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 8 Aug 2002 15:39:02 -0500 Subject: [svn-r5844] Purpose: Small Coding Change Description: Zeroed out the MPI_Status structure in one of our tests to determine if MPI_Get_count() works on the machine or not. This is similar to what we do in the library code to the status... --- configure | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) 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(); -- cgit v0.12