[petsc-dev] sizeof(PetscInt) from buildsystem

Jed Brown jed at jedbrown.org
Tue May 6 10:22:31 CDT 2014


Matthew Knepley <knepley at gmail.com> writes:

> On Tue, May 6, 2014 at 10:13 AM, Jed Brown <jed at jedbrown.org> wrote:
>
>> Matthew Knepley <knepley at gmail.com> writes:
>> > 1) The python2 requirement is easily changed
>>
>> Not so easily without compromising python2.4 compatibility.
>>
>> > 2) You could compress it all into one line. I wanted to show what was
>> > happening.
>>
>> Still complicated (many interfaces).
>
>
> 2

2 would be

import petsc.conf
print(petsc.conf('64-bit-indices'))

> I pray in 5 years our interface is not UNIX piping and grepping. We
> have finally eliminated most of the horrible shell that was in our
> makefiles. I hope we do not go backwards.

Then make something better.
-------------- 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/de5a2220/attachment.sig>


More information about the petsc-dev mailing list