@@ -93,7 +93,6 @@ static char* HDF5_GetVersion();
9393static void HDF5_Fsync (void * , IOR_param_t * );
9494static IOR_offset_t HDF5_GetFileSize (IOR_param_t * , MPI_Comm , char * );
9595static 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
118116static hid_t xferPropList ; /* xfer property list */
@@ -122,27 +120,8 @@ hid_t fileDataSpace; /* file data space id */
122120hid_t memDataSpace ; /* memory data space id */
123121int 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