[petsc-users] How to read and write HDF5 in parallel withPETSc

Matthew Knepley knepley at gmail.com
Mon May 30 21:18:55 CDT 2022

On Mon, May 30, 2022 at 10:12 PM 冯宏磊 <12132391 at mail.sustech.edu.cn> wrote:

> Hey there
> I'm a new user of PETSc. In use, I want to read and write an HDF5 file in
> parallel, but I only found an example of serial reading and writing. How
> can I read and write HDF5 in parallel? Can you give me a code sample?
> I'm using C for monogramming by the way.
> PETSc HDF5 output, such as VecView(), will automatically use parallelism
if available. Are you trying to do something else?



> 冯宏磊
> 南方科技大学/研究生/研究生2021级
> 广东省深圳市南山区学苑大道1088号

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220530/7df0d47e/attachment.html>

More information about the petsc-users mailing list