From 246b280cd686dd78a5e3bc9bdb6dbb60bcbdbfee Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 12 Apr 2006 13:41:08 -0500 Subject: [svn-r12227] Purpose: bug fix. Description: The MPE_Stop_log did not work in copper. It spewed out MPE errors and ended in infinite looping. Solution: Changed to a smaller test size to avoid generating huge MPE log files when MPE is configured in. Platforms tested: Copper (mpe) Misc. update: --- testpar/t_cache.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testpar/t_cache.c b/testpar/t_cache.c index b30236c..95b3e4b 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -123,7 +123,12 @@ struct datum * *****************************************************************************/ +#ifndef H5_HAVE_MPE #define NUM_DATA_ENTRIES 100000 +#else + /* Use a smaller test size to avoid creating huge MPE logfiles. */ +#define NUM_DATA_ENTRIES 1000 +#endif struct datum data[NUM_DATA_ENTRIES]; @@ -3339,11 +3344,6 @@ main(int argc, char **argv) int max_nerrors; MPI_Init(&argc, &argv); -#ifdef H5_HAVE_MPE - /* turn off MPE logging since this test generates big cpilog files that */ - /* fill up /tmp. */ - MPE_Stop_log(); -#endif H5_HAVE_MPE MPI_Comm_size(MPI_COMM_WORLD, &mpi_size); MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank); -- cgit v0.12