[petsc-users] 64-bit integer options

Daniel Langr daniel.langr at gmail.com
Wed Nov 10 11:52:25 CST 2010


Thanks a lot,

Daniel



Dne 10.11.2010 18:51, Barry Smith napsal(a):
>
> On Nov 10, 2010, at 11:45 AM, Daniel Langr wrote:
>
>> Hi all,
>>
>> I have a problem passing an integer option value greater than 2^32 to my program. I compiled PETSc with --with-64-bit-indices=1, but it seems PetscOptionsGetInt() uses aoti() internally; I would expect atol() or another function named PetscOptionsGetLong().
>
>     You are correct, this is our error. We will fix it in petsc 3.1 and petsc-dev and get back with you.
>
>     Barry
>
>>
>> Thanks,
>> Daniel


More information about the petsc-users mailing list