Skip to content

Commit e045c60

Browse files
JulianKunkelglennklockwood
authored andcommitted
Reverted the change to HDF5 module back.
1 parent 4aada0a commit e045c60

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

doc/sphinx/userDoc/options.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,8 @@ HDF5-ONLY
289289

290290
* setAlignment - HDF5 alignment in bytes (e.g.: 8, 4k, 2m, 1g) [1]
291291

292-
HDF5-backend options
293-
^^^^^^^^^^^^^^^^^^^^
294-
* --hdf5.collectiveMetadata - enable HDF5 collective metadata (available since HDF5-1.10.0)
292+
* collectiveMetadata - enable HDF5 collective metadata (available since
293+
HDF5-1.10.0)
295294

296295
MPIIO-, HDF5-, AND NCMPI-ONLY
297296
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/aiori-HDF5.c

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ static char* HDF5_GetVersion();
9393
static void HDF5_Fsync(void *, IOR_param_t *);
9494
static IOR_offset_t HDF5_GetFileSize(IOR_param_t *, MPI_Comm, char *);
9595
static int HDF5_Access(const char *, int, IOR_param_t *);
96-
static option_help * HDF5_get_options();
9796

9897
/************************** D E C L A R A T I O N S ***************************/
9998

@@ -112,7 +111,6 @@ ior_aiori_t hdf5_aiori = {
112111
.rmdir = aiori_posix_rmdir,
113112
.access = HDF5_Access,
114113
.stat = aiori_posix_stat,
115-
.get_options = HDF5_get_options
116114
};
117115

118116
static hid_t xferPropList; /* xfer property list */
@@ -122,27 +120,8 @@ hid_t fileDataSpace; /* file data space id */
122120
hid_t memDataSpace; /* memory data space id */
123121
int newlyOpenedFile; /* newly opened file */
124122

125-
/************************** O P T I O N S *****************************/
126-
struct HDF5_options{
127-
int collective_md;
128-
};
129123
/***************************** F U N C T I O N S ******************************/
130124

131-
132-
static struct HDF5_options o = {
133-
.collective_md = 0
134-
};
135-
136-
static option_help options [] = {
137-
{0, "hdf5.collectiveMetadata", "Use collectiveMetadata (available since HDF5-1.10.0)", OPTION_FLAG, 'd', & o.collective_md},
138-
LAST_OPTION
139-
};
140-
141-
static option_help * HDF5_get_options(){
142-
return options;
143-
}
144-
145-
146125
/*
147126
* Create and open a file through the HDF5 interface.
148127
*/
@@ -250,7 +229,7 @@ static void *HDF5_Open(char *testFileName, IOR_param_t * param)
250229
"cannot set alignment");
251230

252231
#ifdef HAVE_H5PSET_ALL_COLL_METADATA_OPS
253-
if (o.collective_md) {
232+
if (param->collective_md) {
254233
/* more scalable metadata */
255234

256235
HDF5_CHECK(H5Pset_all_coll_metadata_ops(accessPropList, 1),

0 commit comments

Comments
 (0)