Azzera filtri
Azzera filtri

Parallel hdf5 with Matlab

15 visualizzazioni (ultimi 30 giorni)
Amit P
Amit P il 4 Giu 2019
Risposto: Tom il 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?

Risposte (1)

Tom
Tom il 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!

Translated by