[petsc-users] 64-bit integer options

Barry Smith bsmith at mcs.anl.gov
Wed Nov 10 11:51:29 CST 2010


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