Parallel hdf5 with Matlab

12 visualizaciones (últimos 30 días)
Amit P
Amit P el 4 de Jun. de 2019
Respondida: Tom el 14 de Mzo. de 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?

Respuestas (1)

Tom
Tom el 14 de Mzo. de 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!

Translated by