[petsc-dev] Weird errors with enum in 64-bit ints
Matthew Knepley
knepley at gmail.com
Mon Jan 13 03:52:04 CST 2020
I have some unexplainable errors with 64-bit ints in this branch:
https://gitlab.com/petsc/petsc/-/jobs/400852717
from
https://gitlab.com/petsc/petsc/pipelines/108833203
I have built my own 64-bit arches, and the one compiled with new gcc works
fine
and is valgrind clean. With the bad old Apple gcc I get an inexplicable
error with
DMPlexGetCellRefiner_Internal()
in plexrefine.c:10433. In the debugger, it looks like it only passes have
the address.
I cannot understand what is going on since the declarations look fine to
me, and work
with 32-bit ints. Does anyone know how to fix this? Should I be declaring
my function
using PetscEnum* rather than my specific enum?
Thanks,
Matt
--
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-dev/attachments/20200113/14a21ceb/attachment.html>
More information about the petsc-dev
mailing list