[MOAB-dev] r1730 - MOAB/trunk/test/h5file
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Mon Mar 31 15:29:26 CDT 2008
Author: kraftche
Date: 2008-03-31 15:29:26 -0500 (Mon, 31 Mar 2008)
New Revision: 1730
Modified:
MOAB/trunk/test/h5file/mhdf_parallel.c
Log:
fix bugs
Modified: MOAB/trunk/test/h5file/mhdf_parallel.c
===================================================================
--- MOAB/trunk/test/h5file/mhdf_parallel.c 2008-03-31 20:16:17 UTC (rev 1729)
+++ MOAB/trunk/test/h5file/mhdf_parallel.c 2008-03-31 20:29:26 UTC (rev 1730)
@@ -172,7 +172,7 @@
/* write set descriptions for per-proc sets */
set_desc[0] = total_num_nodes + total_num_hexes + 9 + 5*RANK - 1;
- mhdf_writeSetData( handle, 2+RANK, 1, H5T_NATIVE_LONG, set_desc, &status );
+ mhdf_writeSetMeta( handle, 2+RANK, 1, H5T_NATIVE_LONG, set_desc, &status );
CHECK(status);
/* write set descriptions for multi-proc sets */
@@ -226,6 +226,7 @@
CHECK(status);
/* write tag data */
+ offset = (0 == RANK) ? 0 : 4 + 4*RANK;
offset += 2*RANK;
list[count++] = first_set + 2 + RANK;
mhdf_openSparseTagData( file, proc_tag_name, &ntag, handles, &status );
More information about the moab-dev
mailing list