mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[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:
This commit is contained in:
parent
954a6dfda4
commit
246b280cd6
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user