Parallel hdf5 with Matlab

14 views (last 30 days)
Amit P
Amit P on 4 Jun 2019
Answered: Tom on 14 Mar 2023
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
Tom on 14 Mar 2023
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!