summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-02-16 21:06:48 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-02-16 21:06:48 (GMT)
commit2ac7b3e063d7c84c014b7c5d01c9d0edb7db789e (patch)
tree10eb589906bdaf68cc1299e12950438e95714299 /testpar/testphdf5.c
parent88b41bd164fc1a6bb296d4f552c89df70af41f94 (diff)
downloadhdf5-2ac7b3e063d7c84c014b7c5d01c9d0edb7db789e.zip
hdf5-2ac7b3e063d7c84c014b7c5d01c9d0edb7db789e.tar.gz
hdf5-2ac7b3e063d7c84c014b7c5d01c9d0edb7db789e.tar.bz2
[svn-r284] Added more comments.
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index d0f2ce0..583fc8e 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -1,5 +1,17 @@
-/* Example of using the parallel HDF5 library to access datasets */
+/*
+ * Example of using the parallel HDF5 library to access datasets.
+ *
+ * This program contains two parts. In the first part, the mpi processes
+ * collectively create a new parallel HDF5 file and create two fixed
+ * dimension datasets in it. Then each process writes a hyperslab into
+ * each dataset in an independent mode. All processes collectively
+ * close the datasets and the file.
+ * In the second part, the processes collectively open the created file
+ * and the two datasets in it. Then each process reads a hyperslab from
+ * each dataset in an independent mode and prints them out.
+ * All processes collectively close the datasets and the file.
+ */
#include <assert.h>
#include <hdf5.h>