If your fortran function includes petscsnesdef.h does it work ok?
> On Jun 23, 2016, at 9:07 PM, Adrian Croucher <[email protected]> > wrote: > > hi > > I'm trying to call MatMFFDSetType() from a Fortran code. It works OK if I do > > call MatMFFDSetType(A, MATMFFD_WP, ierr) > > but it fails to compile if I try > > call MatMFFDSetType(A, MATMFFD_DS, ierr) > > the error being: > > Error: Symbol 'matmffd_ds' at (1) has no IMPLICIT type > Is that a bug? > > Cheers, Adrian > -- > Dr Adrian Croucher > Senior Research Fellow > Department of Engineering Science > University of Auckland, New Zealand > email: > [email protected] > > tel: +64 (0)9 923 84611 >
