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

Yuyun Yang yyang85 at stanford.edu
Tue Mar 19 20:09:31 CDT 2019


Sounds good, thanks for the advice!

-----Original Message-----
From: Jed Brown <jed at jedbrown.org> 
Sent: Tuesday, March 19, 2019 1:23 PM
To: Yuyun Yang <yyang85 at stanford.edu>; zakaryah <zakaryah at gmail.com>; petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] Saving Vecs/Mats in HDF5 and visualizing in Matlab

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