diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-11-02 15:21:51 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-11-02 15:21:51 (GMT) |
commit | 651c4b1064a0b4a709a2ed4219840cf50ed88eea (patch) | |
tree | 6e1fefe85f637b2d4720069886f3315429e6208c /testpar/testphdf5.h | |
parent | 1398cc0eef0cfcc69835edb5831681a573aadd14 (diff) | |
download | hdf5-651c4b1064a0b4a709a2ed4219840cf50ed88eea.zip hdf5-651c4b1064a0b4a709a2ed4219840cf50ed88eea.tar.gz hdf5-651c4b1064a0b4a709a2ed4219840cf50ed88eea.tar.bz2 |
[svn-r4582] 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.h | 11 |
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 */ |