[petsc-users] VecView() comparison: BINARY vs HDF5

Mohamad M. Nasr-Azadani mmnasr at gmail.com
Tue Jan 31 16:34:56 CST 2012


Hi all,

I was using VecView() to write the data to file (a vector of total size
50*20*10 (3D DMDA)).
I compared the times for two cases: PETSc's binary and also HDF5.
I get an enormous difference between the times I get for these two cases
(this test is done using only one processor)

HDF5: 16.2 (sec)
Binary: 0.33 (sec).

I am using HDF5 VecView() as a magic black box writer to dump the field
quantities. And I am not an expert on it but this order of magnitude seems
a bit strange to me.

Any inputs are appreciated!
Best,
Mohamad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120131/e2f87462/attachment.htm>


More information about the petsc-users mailing list