On Mon, Feb 4, 2019 at 2:42 PM Fabian.Jakub via petsc-dev <petsc-dev@mcs.anl.gov> wrote:
Dear Petsc Team,

I recently had segfaults when dumping DMPlexs through the
PetscObjectViewer into hdf5 files

This happens to me with 64 bit integers and I think there is a PetscInt
where an int should be placed.

Thanks! I think Vaclav caught this last week

  https://bitbucket.org/petsc/petsc/commits/15b861d2d1f810846f37f539a33922bed3cacdd7?at=haplav/fix-cray-warnings

Should be merged soon.

  Matt
 
Please have a look at the attached patch.

Yours,

Fabian


--
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