summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-06-30 22:04:22 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-06-30 22:04:22 (GMT)
commit76ca6e67a7d5e395d018bd97e4a9ad8a4d986311 (patch)
tree8dfdb46f2b7d5d9eeea4857ad2dc950db95015ef /testpar/testphdf5.h
parentcc2be92e781c093f333e35742c4eda3141afced3 (diff)
downloadhdf5-76ca6e67a7d5e395d018bd97e4a9ad8a4d986311.zip
hdf5-76ca6e67a7d5e395d018bd97e4a9ad8a4d986311.tar.gz
hdf5-76ca6e67a7d5e395d018bd97e4a9ad8a4d986311.tar.bz2
[svn-r1398] Purpose:
new feature Makefile.in: Added the dependence of *.c on the testphdf5.h t_dset.c: testphdf5.c: testphdf5.h: testphdf5 now takes optional arguements for dataset dimension sizes. That allows testing with different dimension sizes without recompiling the whole thing. Platform tested: O2K
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r--testpar/testphdf5.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index a47401b..a8a6daf 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -48,10 +48,8 @@
/* End of Define some handy debugging shorthands, routines, ... */
/* Constants definitions */
-/* DIM1 and DIM2 must be multiples of mpi-sizes to be used. */
-/* E.g. 24, a multiple of 2, 3, 4, 6, 8, 12, would be a good choice. */
-#define DIM1 24
-#define DIM2 24
+#define DIM0 1024 /* Default dataset sizes. */
+#define DIM1 1280 /* Values are from a monitor pixel sizes */
#define RANK 2
#define DATASETNAME1 "Data1"
#define DATASETNAME2 "Data2"
@@ -65,6 +63,7 @@
typedef int DATATYPE;
/* shared global variables */
+extern int dim0, dim1; /* Dataset dimensions */
extern int nerrors; /* errors count */
extern int verbose; /* verbose, default as no. */
extern herr_t (*old_func)(void*); /* previous error handler */