summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
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 */