use the H5_HAVE_PARALLEL macro from hdf5 instead of the macro PARALLEL_IO

This commit is contained in:
2017-07-27 18:31:34 +02:00
parent 3a9e0e4153
commit 2ed8ad093c
28 changed files with 84 additions and 69 deletions
+2 -2
View File
@@ -530,7 +530,7 @@ TestPrintf(const char *format, ...)
va_list arglist;
int ret_value = -1;
#if defined(PARALLEL_IO)
#if defined(H5_HAVE_PARALLEL)
int nproc;
MPI_Comm_rank(MPI_COMM_WORLD, &nproc);
if ( nproc == 0 || VERBOSE_HI ) {
@@ -564,7 +564,7 @@ TestErrPrintf(const char *format, ...)
/* Increment the error count */
num_errs++;
#if PARALLEL_IO
#if H5_HAVE_PARALLEL
int nproc;
MPI_Comm_rank(MPI_COMM_WORLD, &nproc);
if ( nproc == 0 || VERBOSE_HI ) {