[petsc-users] 64 bit integers

Jed Brown jedbrown at mcs.anl.gov
Fri Aug 17 10:16:47 CDT 2012


On Fri, Aug 17, 2012 at 10:12 AM, Michele Rosso <mrosso at uci.edu> wrote:

> Does this mean that Fortran compiler invoked by the PETSc Makefile will
> compile to code with the 64 bit integer option so that also Fortran
> Integer will be 64 bit?


NO, that would be bad because it breaks library interfaces.

You have to use the right types internally. If you use PetscInt everywhere,
then you'll be fine. If you mix types, you have to find out where to
convert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120817/945fd0c3/attachment.html>


More information about the petsc-users mailing list