[petsc-dev] compiling PETSc Fortran program with modules

Adrian Croucher a.croucher at auckland.ac.nz
Thu Jun 5 18:36:28 CDT 2014


On 05/06/14 23:14, Matthew Knepley wrote:
> On Thu, Jun 5, 2014 at 12:56 AM, Adrian Croucher 
> <a.croucher at auckland.ac.nz <mailto:a.croucher at auckland.ac.nz>> wrote:
>
>     OK, I found one way around this- if in test.F90 I replace
>
>
> Can you try just using the finclude/petscdef.h90 headers in the module?

Aha, yes that does work too (at least, petscdef.h rather than 
petscdef.h90). Thanks!

Cheers, 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140606/25f07999/attachment.html>


More information about the petsc-dev mailing list