[petsc-users] 64-bit integer options

Daniel Langr daniel.langr at gmail.com
Wed Nov 10 11:45:30 CST 2010


  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().

Thanks,
Daniel


More information about the petsc-users mailing list