[petsc-users] Saving Vecs/Mats in HDF5 and visualizing in Matlab

Jed Brown jed at jedbrown.org
Tue Mar 19 15:23:19 CDT 2019


Yuyun Yang via petsc-users <petsc-users at mcs.anl.gov> writes:

> It's simply for visualization purposes. I wasn't sure if HDF5 would perform better than binary, and what specific functions are needed to load the PETSc vectors/matrices, so wanted to ask for some advice here. Since Matt mentioned it's not likely to be much faster than binary, I guess there is no need to make the change?

There is no speed benefit.  The advantage of HDF5 is that it supports
better metadata, including the data types and sizes.  The PETSc data
format is quick, dirty, and fast.


More information about the petsc-users mailing list