OK, I found one way around this- if in test.F90 I replace

  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: a.crouc...@auckland.ac.nz
tel: +64 (0)9 923 4611

Reply via email to