summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-11-01 12:53:02 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-11-01 12:53:02 (GMT)
commit5612b2c83b6780b09790f63fc74958b74f2469b0 (patch)
treefa8882916a824951136655fd4eb9b4f6ad7e3837 /testpar/testphdf5.h
parent9e618ddea0de47ae8bd135922f29e4511e79f4e5 (diff)
downloadhdf5-5612b2c83b6780b09790f63fc74958b74f2469b0.zip
hdf5-5612b2c83b6780b09790f63fc74958b74f2469b0.tar.gz
hdf5-5612b2c83b6780b09790f63fc74958b74f2469b0.tar.bz2
[svn-r4581] Purpose:
New test feature Description: Added create_faccess_plist() that create just MPIO or split+MPIO file-access property list. This in turn can run parallel tests with just MPIO or with Split-file VFD too. Added -s option for split-file Plus MPIO tests. For testphdf5.c: removed a bunch of old debug code that got left in by mistake. Platforms tested: Modi4 and eirene parallel. But it has uncovered errors in the library. The test program is correct though. Checking the test program in so that it won't get lost and can be used for debugging. Also, the -s is not used by default during test. At least it won't abort "make check".
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r--testpar/testphdf5.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index 7d24ea0..f990b28 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -81,7 +81,11 @@
#define ZCOL 4 /* same as BYCOL except process 0 gets 0 columns */
#define MAX_ERR_REPORT 10 /* Maximum number of errors reported */
-
+/* File_Access_type bits */
+#define FACC_DEFAULT 0x0 /* default */
+#define FACC_MPIO 0x1 /* MPIO */
+#define FACC_SPLIT 0x2 /* Split File */
+#define FACC_MULTI 0x4 /* Multi File */
/* dataset data type. Int's can be easily octo dumped. */
typedef int DATATYPE;
@@ -93,5 +97,10 @@ extern int nerrors; /*errors count */
extern int verbose; /*verbose, default as no. */
extern herr_t (*old_func)(void*); /*previous error handler */
extern void *old_client_data; /*previous error handler arg.*/
+extern int facc_type; /*Test file access type */
+
+/* prototypes */
+hid_t
+create_faccess_plist(MPI_Comm comm, MPI_Info info, int facc_type );
#endif /* PHDF5TEST_H */