summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_main.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-02-06 04:16:08 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-02-06 04:16:08 (GMT)
commit70f7afdb36ea320af1c9060a98f9775dfe0d6be1 (patch)
treea6aa2b45802a762e199f149884bf78b1e675508e /tools/h5diff/h5diff_main.c
parenta0c833a287d059ff566670fa5192f211cb1b8efa (diff)
downloadhdf5-70f7afdb36ea320af1c9060a98f9775dfe0d6be1.zip
hdf5-70f7afdb36ea320af1c9060a98f9775dfe0d6be1.tar.gz
hdf5-70f7afdb36ea320af1c9060a98f9775dfe0d6be1.tar.bz2
[svn-r9945] Purpose:
Bug fix Description: h5diff_main.c contained some debug printf statment that produced unexpected output. Commented them out. testh5diff.sh: implemented code to test ph5diff tests but ph5diff has some errors that generated unexpected output. Temporary hacked to skip tests if run by daily test account. Platforms tested: Tested in heping, serial and parallel.
Diffstat (limited to 'tools/h5diff/h5diff_main.c')
-rw-r--r--tools/h5diff/h5diff_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index 1fc4569..d064619 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -74,6 +74,7 @@ int main(int argc, const char *argv[])
* If argv[0] is greater than 6 characters AND the last 7 equal "ph5diff" we run parallel
* In all other cases, we run serial */
+/*printf("argv[0]=%s\n", argv[0]);*/
if( (strlen(argv[0]) > strlen("h5diff")) && (strcmp(argv[0] + (strlen(argv[0]) - strlen("ph5diff")), "ph5diff") == 0) )
g_Parallel = 1;
@@ -291,7 +292,7 @@ int main(int argc, const char *argv[])
MPI_Recv(filenames, 1024*2, MPI_CHAR, 0, MPI_ANY_TAG, MPI_COMM_WORLD, &Status);
if(Status.MPI_TAG == MPI_TAG_PARALLEL)
{
- printf("We're in parallel mode...opening the files\n");
+/* printf("We're in parallel mode...opening the files\n");*/
/* disable error reporting */
H5E_BEGIN_TRY
@@ -345,7 +346,7 @@ int main(int argc, const char *argv[])
else if(Status.MPI_TAG == MPI_TAG_END)
{
MPI_Recv(NULL, 0, MPI_BYTE, 0, MPI_TAG_END, MPI_COMM_WORLD, &Status);
- printf("exiting..., task: %d\n", nID);
+/* printf("exiting..., task: %d\n", nID);*/
break;
}
else