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.crouc...@auckland.ac.nz
tel: +64 (0)9 923 4611

Reply via email to