[petsc-users] Question about PetscViewerHDF5SetTimestep usage
Matthew Knepley
knepley at gmail.com
Fri Dec 14 12:56:19 CST 2018
I believe this is now fixed in 'master', It was a bug in HDF5 attribute
creation.
Thanks,
Matt
On Fri, Dec 14, 2018 at 1:16 PM Sajid Ali via petsc-users <
petsc-users at mcs.anl.gov> wrote:
> Hi,
>
> I have a question about PetscViewerHDF5SetTimestep usage.
>
> I have tried the following minimal example which tries to write a vector
> twice to an hdf5 file and it fails with the error message shown below.
>
> Example : https://pastebin.com/cAeZsUgA
>
> Error :
>
> writing vector in hdf5 to vector.dat ...
> HDF5-DIAG: Error detected in HDF5 (1.10.4) MPI-process 0:
> #000: H5A.c line 279 in H5Acreate2(): unable to create attribute
> major: Attribute
> minor: Unable to initialize object
> #001: H5Aint.c line 323 in H5A__create(): unable to create attribute
> major: Attribute
> minor: Unable to create file
> #002: H5Aint.c line 167 in H5A__create_common(): attribute already exists
> major: Attribute
> minor: Object already exists
> [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> [0]PETSC ERROR: Error in external library
> [0]PETSC ERROR: Error in HDF5 call H5Acreate2() Status -1
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting.
> [0]PETSC ERROR: Petsc Release Version 3.10.2, unknown
>
>
> The error is related to the second VecView after setting the timestep to
> 1. Am i doing something wrong ?
>
> Thank You,
> Sajid Ali
> Applied Physics
> Northwestern University
>
--
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/20181214/4eb38532/attachment.html>
More information about the petsc-users
mailing list