Parallel hdf5 with Matlab

14 次查看(过去 30 天)
Amit P
Amit P 2019-6-4
回答: Tom 2023-3-14
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?

回答(1 个)

Tom
Tom 2023-3-14
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!

Translated by