![]() |
HDF5 Last Updated on 2025-10-11
The HDF5 Field Guide
|
Modules | |
module | h5vfd |
This module contains Fortran interfaces for H5VFD (Virtual File Driver) functions. | |
Functions/Subroutines | |
subroutine | h5fdsubfiling_get_file_mapping_f (file_id, filenames, num_files, hdferr) |
Retrieve the list of subfile names for a HDF5 file for the subfiling VFD. | |
subroutine h5fdsubfiling_get_file_mapping_f | ( | integer(hid_t), intent(in) | file_id, |
character(len=default_max_len), dimension(:), intent(out), allocatable | filenames, | ||
integer(size_t), intent(out) | num_files, | ||
integer, intent(out) | hdferr ) |
Retrieve the list of subfile names for a HDF5 file for the subfiling VFD.
This function retrieves the names of all subfiles associated with an HDF5 file that uses the subfiling Virtual File Driver (VFD). The subfiling VFD distributes file data across multiple subfiles to improve parallel I/O performance on shared file systems.
The returned filenames correspond to the physical subfiles stored on the file system that collectively make up the logical HDF5 file. This information is useful for:
file_id | [in] HDF5 file identifier for a file using the subfiling VFD |
filenames | [out] Allocatable array of subfile names. Memory is automatically allocated by the function and must be deallocated by the caller. See Compiler Compatibility note below. |
num_files | [out] Number of subfiles in the filenames array |
hdferr | [out] Error code:
|
basename.subfile_<inode>_<index>_of_<total>