On Thu, Jun 5, 2014 at 12:56 AM, Adrian Croucher <[email protected]>
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?

  Thanks,

     Matt


>   use my_module
>
> with
>
>   use my_module, only : foo
>
> it works.
>
> I'm not sure how practical that's going to be with real code though (e.g.
> a big module and I want to use lots of things in it). Are there any better
> ways?
>
>
> - Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: [email protected]
> tel: +64 (0)9 923 4611
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to