[petsc-dev] sizeof(PetscInt) from buildsystem
Jed Brown
jed at jedbrown.org
Tue May 6 08:55:38 CDT 2014
Aron Ahmadia <aron at ahmadia.net> writes:
> One way to do this is to consult the reconfigure-* script. If
> the -with-64-bit-indices flag is set, then you've got 64-bit ints.
> Otherwise, you've got 32-bit ints.
Will this work for you?
grep -q '#define PETSC_USE_64BIT_INDICES 1' $PETSC_ARCH/include/petscconf.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140506/60d9c224/attachment.sig>
More information about the petsc-dev
mailing list