[petsc-dev] Fortran interface problem in v.3.10.2
Adrian Croucher
a.croucher at auckland.ac.nz
Wed Oct 17 17:21:41 CDT 2018
hi
A colleague has just reported that my code no longer builds with PETSc
3.10.2, though it builds OK with 3.10.1.
The problem appears to be the Fortran interface to
SNESSetConvergenceTest(), which was changed at commit f9a1a4d.
It now complains about the context argument we are passing in to this
function ('cctx' in the interface, which is declared there as type(*)).
The error is:
"Error: Actual argument at (1) to assumed-type dummy is of derived type
with type-bound or FINAL procedures"
This is true, the argument being passed in is of derived type with
type-bound procedures. Previously this didn't bother it, but it looks
like it does now.
Is its complaint legitimate? or perhaps a compiler bug? (this is using
gcc 6.3.0)
- Adrian
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611
More information about the petsc-dev
mailing list