summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_util.c
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2005-06-28 19:20:56 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2005-06-28 19:20:56 (GMT)
commitac2e0d548eaab1cb3c3875ed4cd842de8aed6b41 (patch)
treedbadb82fbd2a675da7aa4afc9441b3a7cfc89691 /tools/lib/h5diff_util.c
parent92723c7e02110865a393547e942e53cdefd2315a (diff)
downloadhdf5-ac2e0d548eaab1cb3c3875ed4cd842de8aed6b41.zip
hdf5-ac2e0d548eaab1cb3c3875ed4cd842de8aed6b41.tar.gz
hdf5-ac2e0d548eaab1cb3c3875ed4cd842de8aed6b41.tar.bz2
[svn-r10996] Purpose:
Bug fix for parallel case for new "Some objects were not comparable" patch to h5diff. Description: The parallel h5diff wouldn't print out "Some objects were not comparable" because the worker tasks were not communicating the not_cmp flag of the diff_opt_t struct back to the manager, who ultimately prints everything. Also, some miscellaneous fixes for error printing. Some errors were printed out with printf instead of fprintf(stderr,...). In parallel environments, this can result in output getting lost. Solution: Had the worker tasks pass along the not_cmp flag to the manager when they sent along the number of differences they found. Platforms tested: heping (pp), sol (pp) Misc. update:
Diffstat (limited to 'tools/lib/h5diff_util.c')
-rw-r--r--tools/lib/h5diff_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5diff_util.c b/tools/lib/h5diff_util.c
index d29434c..3a9e7e4 100644
--- a/tools/lib/h5diff_util.c
+++ b/tools/lib/h5diff_util.c
@@ -64,7 +64,7 @@ void parallel_print(const char* format, ...)
overflow_file = HDtmpfile();
if(overflow_file == NULL)
- printf("Warning: Could not create overflow file. Output may be truncated.\n");
+ fprintf(stderr, "Warning: Could not create overflow file. Output may be truncated.\n");
else
bytes_written = HDvfprintf(overflow_file, format, ap);
}