... | ... | @@ -61,7 +61,73 @@ h5_file_t h5file = H5OpenFile ("example.h5", H5_O_RDWR, H5_PROP_DEFAULT); |
|
|
|
|
|
=== Property lists
|
|
|
|
|
|
In old H5hut version several open function were implemented, for example different versions for opening a file for serial or parallel I/O. Now one function covers all cases. With property list we adopt a feature known from HDF5.
|
|
|
|
|
|
==== Creating a property list
|
|
|
If you want/have to set special properties to a file, you have to create a file property list first.
|
|
|
----
|
|
|
h5_prop_t
|
|
|
H5CreateFileProp (
|
|
|
void
|
|
|
);
|
|
|
----
|
|
|
|
|
|
==== Closing a property list
|
|
|
After using a file property list, you have to close it.
|
|
|
----
|
|
|
H5CloseProp (
|
|
|
h5_prop_t prop
|
|
|
)
|
|
|
----
|
|
|
|
|
|
==== Properties
|
|
|
|
|
|
----
|
|
|
h5_err_t
|
|
|
H5SetPropFileMPIOCollective (
|
|
|
h5_prop_t prop,
|
|
|
MPI_Comm* comm
|
|
|
);
|
|
|
----
|
|
|
|
|
|
----
|
|
|
h5_err_t
|
|
|
H5SetPropFileMPIOIndependent (
|
|
|
h5_prop_t prop,
|
|
|
MPI_Comm* comm
|
|
|
);
|
|
|
----
|
|
|
|
|
|
----
|
|
|
h5_err_t
|
|
|
H5SetPropFileMPIOPosix (
|
|
|
h5_prop_t prop,
|
|
|
MPI_Comm* comm
|
|
|
);
|
|
|
----
|
|
|
|
|
|
----
|
|
|
h5_err_t
|
|
|
H5SetPropFileCoreVFD (
|
|
|
h5_prop_t prop,
|
|
|
const h5_int64_t increment
|
|
|
);
|
|
|
----
|
|
|
|
|
|
----
|
|
|
H5SetPropFileAlign (
|
|
|
h5_prop_t prop,
|
|
|
const h5_int64_t align
|
|
|
)
|
|
|
----
|
|
|
|
|
|
----
|
|
|
h5_err_t
|
|
|
H5SetPropFileThrottle (
|
|
|
h5_prop_t prop,list
|
|
|
const h5_int64_t throttle
|
|
|
)
|
|
|
----
|
|
|
More to be written ...
|
|
|
|
|
|
== Compiling and Linking
|
... | ... | |