diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-01-26 23:03:29 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-01-26 23:03:29 (GMT) |
commit | 42754e6246d6916d88720b32a4a2d2b6cbabb312 (patch) | |
tree | c6999853ed938b197eea6e40c1c9f9907e2a7a7a /tools/lib/h5diff_attr.c | |
parent | 3cb812ae8a610f5e3801c89f915c680a3f1a4f5b (diff) | |
download | hdf5-42754e6246d6916d88720b32a4a2d2b6cbabb312.zip hdf5-42754e6246d6916d88720b32a4a2d2b6cbabb312.tar.gz hdf5-42754e6246d6916d88720b32a4a2d2b6cbabb312.tar.bz2 |
[svn-r9872] Purpose:
New feature.
Description:
Added new tool ph5diff. (Code done by Leon Arber.)
Code is changed but test is not working yet. For now,
it skipped all tests.
Platforms tested:
Tested in heping, serial and parallel modes.
Diffstat (limited to 'tools/lib/h5diff_attr.c')
-rw-r--r-- | tools/lib/h5diff_attr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c index fb4343f..d1f18df 100644 --- a/tools/lib/h5diff_attr.c +++ b/tools/lib/h5diff_attr.c @@ -103,7 +103,7 @@ int diff_attr(hid_t loc1_id, { if (options->m_verbose) { - printf("Different name for attributes: <%s> and <%s>\n", name1, name2); + parallel_print("Different name for attributes: <%s> and <%s>\n", name1, name2); } H5Aclose(attr1_id); H5Aclose(attr2_id); @@ -178,7 +178,7 @@ int diff_attr(hid_t loc1_id, buf1=(void *) HDmalloc((unsigned)(nelmts1*msize1)); buf2=(void *) HDmalloc((unsigned)(nelmts1*msize2)); if ( buf1==NULL || buf2==NULL){ - printf( "cannot read into memory\n" ); + parallel_print( "cannot read into memory\n" ); goto error; } if (H5Aread(attr1_id,mtype1_id,buf1)<0) @@ -197,7 +197,7 @@ int diff_attr(hid_t loc1_id, /* always print name */ if (options->m_verbose) { - printf( "Attribute: <%s> and <%s>\n",name1,name2); + parallel_print( "Attribute: <%s> and <%s>\n",name1,name2); nfound = diff_array(buf1, buf2, nelmts1, @@ -234,7 +234,7 @@ int diff_attr(hid_t loc1_id, options->m_quiet=0; if (nfound) { - printf( "Attribute: <%s> and <%s>\n",name1,name2); + parallel_print( "Attribute: <%s> and <%s>\n",name1,name2); nfound = diff_array(buf1, buf2, nelmts1, |