summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff/ph5diff_main.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 15:31:32 (GMT)
committerGitHub <noreply@github.com>2023-06-28 15:31:32 (GMT)
commit187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98 (patch)
treebaffa167d0796786241aef6b0ce76d4adec3b66e /tools/src/h5diff/ph5diff_main.c
parent7a44581a84778a1346a2fd5b6cca7d9db905a321 (diff)
downloadhdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.zip
hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.gz
hdf5-187ea8a9ae1405b5b46ca47a32fb1fb9e2686c98.tar.bz2
Rename HD(f)printf() to (f)printf() (#3194)
Diffstat (limited to 'tools/src/h5diff/ph5diff_main.c')
-rw-r--r--tools/src/h5diff/ph5diff_main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/src/h5diff/ph5diff_main.c b/tools/src/h5diff/ph5diff_main.c
index f65d2b0..d1be2ff 100644
--- a/tools/src/h5diff/ph5diff_main.c
+++ b/tools/src/h5diff/ph5diff_main.c
@@ -67,7 +67,7 @@ main(int argc, char *argv[])
MPI_Comm_size(MPI_COMM_WORLD, &g_nTasks);
if (g_nTasks == 1) {
- HDprintf("Only 1 task available...doing serial diff\n");
+ printf("Only 1 task available...doing serial diff\n");
g_Parallel = 0;
@@ -141,11 +141,11 @@ ph5diff_worker(int nID)
{
/* Open the files */
if ((file1_id = H5Fopen(filenames[0], H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) {
- HDprintf("h5diff Task [%d]: <%s>: unable to open file\n", nID, filenames[0]);
+ printf("h5diff Task [%d]: <%s>: unable to open file\n", nID, filenames[0]);
MPI_Abort(MPI_COMM_WORLD, 0);
}
if ((file2_id = H5Fopen(filenames[1], H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) {
- HDprintf("h5diff Task [%d]: <%s>: unable to open file\n", nID, filenames[1]);
+ printf("h5diff Task [%d]: <%s>: unable to open file\n", nID, filenames[1]);
MPI_Abort(MPI_COMM_WORLD, 0);
}
/* enable error reporting */
@@ -160,7 +160,7 @@ ph5diff_worker(int nID)
/* Make certain we've received the filenames and opened the files already */
if (file1_id < 0 || file2_id < 0) {
- HDprintf("ph5diff_worker: ERROR: work received before/without filenames\n");
+ printf("ph5diff_worker: ERROR: work received before/without filenames\n");
break;
}
@@ -225,7 +225,7 @@ ph5diff_worker(int nID)
break;
}
else {
- HDprintf("ph5diff_worker: ERROR: invalid tag (%d) received\n", Status.MPI_TAG);
+ printf("ph5diff_worker: ERROR: invalid tag (%d) received\n", Status.MPI_TAG);
break;
}
}
@@ -252,7 +252,7 @@ print_manager_output(void)
{
/* If there was something we buffered, let's print it now */
if ((outBuffOffset > 0) && g_Parallel) {
- HDprintf("%s", outBuff);
+ printf("%s", outBuff);
if (overflow_file) {
int tmp;
@@ -268,7 +268,7 @@ print_manager_output(void)
outBuffOffset = 0;
}
else if ((outBuffOffset > 0) && !g_Parallel) {
- HDfprintf(stderr, "h5diff error: outBuffOffset>0, but we're not in parallel!\n");
+ fprintf(stderr, "h5diff error: outBuffOffset>0, but we're not in parallel!\n");
}
}