[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.
This commit is contained in:
Albert Cheng
2005-02-05 23:16:08 -05:00
parent a0c833a287
commit 70f7afdb36
2 changed files with 64 additions and 45 deletions

View File

@@ -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