[petsc-users] HDF5 vec output with DMPlex

Matthew Knepley knepley at gmail.com
Fri Oct 16 09:01:57 CDT 2015


On Thu, Oct 15, 2015 at 11:14 PM, Adrian Croucher <a.croucher at auckland.ac.nz
> wrote:

> hi
>
> On 16/10/15 16:54, Matthew Knepley wrote:
>
>
> No, that should work. This is how we do it in PyLith. There must be some
> setup problem. When you look at the HDF5 file. Does
> it have a dimension for timestep?
>
>
> No, it doesn't.
>
> Is there any extra setup I might need to do to get it to work? I've
> attached a minimal example code, mesh and output.
>

Now I remember. I did not want the output to depend on the viewer.

Does your example work if you replace PetscViewerHDF5SetTimestep() with
DMSetOutputSequenceNumber()?

  Thanks,

    Matt


> Cheers, Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 84611
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151016/227c95cb/attachment.html>


More information about the petsc-users mailing list