summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2006-04-12 18:41:08 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2006-04-12 18:41:08 (GMT)
commit246b280cd686dd78a5e3bc9bdb6dbb60bcbdbfee (patch)
treec8da79055460e476831dab3e958c987b1cec7c7b /testpar
parent954a6dfda4aedc93e8f54241f1464bece4d5b871 (diff)
downloadhdf5-246b280cd686dd78a5e3bc9bdb6dbb60bcbdbfee.zip
hdf5-246b280cd686dd78a5e3bc9bdb6dbb60bcbdbfee.tar.gz
hdf5-246b280cd686dd78a5e3bc9bdb6dbb60bcbdbfee.tar.bz2
[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:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache.c10
1 files 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);