Issue applies to:
Summary
Currently we have inconsistent use of PetscInt and standard types (int). This results in build errors when petsc is built with 64-bit integers enabled.
Description how to reproduce the issue
- Configure and build petsc with the
--with-64-bit-indices flag.
- Try to build exago against that petsc build.
ExaGO version
develop
System and environment details
- ubuntu 22.04
- gcc 15
- CPU (x86_64)
- petsc 3.24
Additional information
No response
Possible fix or workaround
Any integer variable in exago used in calls to petsc functions (or exago functions with PetscInt parameters) should be declared as PetscInt.
Issue applies to:
Summary
Currently we have inconsistent use of
PetscIntand standard types (int). This results in build errors when petsc is built with 64-bit integers enabled.Description how to reproduce the issue
--with-64-bit-indicesflag.ExaGO version
develop
System and environment details
Additional information
No response
Possible fix or workaround
Any integer variable in exago used in calls to petsc functions (or exago functions with
PetscIntparameters) should be declared asPetscInt.