Parallel hdf5 with Matlab
Show older comments
I need to create a single HDF5 file using parpool. The hdf5.dll in the bin folder for Matlab (r2018a) is not built for parallel support.
Using Cmake I was able to build and use it.
But running the calculations using parpool cause the executors to fail.
Does Matlab support the parallel execution for HDF5?
Answers (1)
Tom
on 14 Mar 2023
1 vote
Matlab only supports Single-Writer/Multiple-Reader (SWMR).
Using this functionality, you can read in parallel, but you can't write in parallel. Also note that there are limitations about how and what you can write using the SWMR programming model. Please see the below documentation.
Categories
Find more on HDF5 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!