summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_main.c
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2005-02-09 18:19:54 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2005-02-09 18:19:54 (GMT)
commitc7f2d5c41e387a01922a85550a31c8033e6b2c3d (patch)
tree13e67b4461e645081a0f48eb9d73a9dcd3d4c011 /tools/h5diff/h5diff_main.c
parent81cfafde899c8978dae600247299a6f3a2fc64ec (diff)
downloadhdf5-c7f2d5c41e387a01922a85550a31c8033e6b2c3d.zip
hdf5-c7f2d5c41e387a01922a85550a31c8033e6b2c3d.tar.gz
hdf5-c7f2d5c41e387a01922a85550a31c8033e6b2c3d.tar.bz2
[svn-r9969] Purpose:
Correction to previous print_manager_output bugfix Description: Although the previous bugfix did fix all the errors, it was not the correct way to fix the problem. Since the manager will only buffer output when run in parallel mode, in serial mode this function should not even be called. Solution: Wrapped print_manager_output in #define's to prevent it from being included in serial builds. Platforms tested: heping (serial + parallel) Misc. update:
Diffstat (limited to 'tools/h5diff/h5diff_main.c')
-rw-r--r--tools/h5diff/h5diff_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index 5c15d16..1c1823a 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -71,6 +71,7 @@ int main(int argc, const char *argv[])
#ifdef H5_HAVE_PARALLEL
MPI_Status Status;
+ outBuffOffset = 0;
#endif
/* See what we were called as to determine whether to run serial or parallel version
@@ -266,7 +267,9 @@ int main(int argc, const char *argv[])
if (!options.err_stat)
{
print_found(nfound);
+#ifdef H5_HAVE_PARALLEL
print_manager_output();
+#endif
}
}
}