include/petscsys.h:PETSC_EXTERN PetscErrorCode PetscDataTypeGetSize(PetscDataType,size_t*);
Looks like this needs a custom stub due to 'size_t' parameter. I've aded the custom interface to balay/add-ftn-PetscDataTypeGetSize. Can you give it a try? You would have to use a datatype that matches 'size_t' on the fortran size - i.e PetscSizeT. Satish On Fri, 14 Jul 2017, Blaise A Bourdin wrote: > Hi, > > It looks like the fortran binding for PetscDataTypeGetSize was removed a > while ago. Evidently, auto generated binding won’t work here. > I’m a bit out of sync with the recent fortran changes, but why are > automatically generated binding not working anymore, and what should the > proper binding look like? > > Alternatively, is there a new recommended way to query the size of a Petsc > type from fortran? > > Blaise > > > >
