[petsc-users] PetscSortInt() in PETSc 3.22
Adrian Croucher
a.croucher at auckland.ac.nz
Mon Sep 30 18:03:05 CDT 2024
hi
I just pulled PETSc 3.22 and tried to build my (Fortran) code with it.
I'm getting compilation errors when it gets to calls to PetscSortInt():
567 | call PetscSortInt(na, asort, ierr); CHKERRQ(ierr)
| 1
Error: Type mismatch in argument ‘a’ at (1); passed INTEGER(4) to INTEGER(8)
Here na is PetscInt, asort an array of PetscInt and ierr is PetscErrorCode.
Do I need to make changes to get this to work again?
- Adrian
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
Waipapa Taumata Rau / University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611
More information about the petsc-users
mailing list