[petsc-dev] patch for wrong integer type

Karl Rupp rupp at iue.tuwien.ac.at
Tue Feb 5 00:04:54 CST 2019


Hi Fabian,

I just merged the patch to master and maint. Please let us know whether 
this solves the issue.

Best regards,
Karli


On 2/4/19 8:51 PM, Matthew Knepley via petsc-dev wrote:
> On Mon, Feb 4, 2019 at 2:42 PM Fabian.Jakub via petsc-dev 
> <petsc-dev at mcs.anl.gov <mailto:petsc-dev at 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
> 
> https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>


More information about the petsc-dev mailing list