Tina Patel <[email protected]> writes:

> Hello,
> I created a few standalone programs that use a DMDA structure, calculate and 
> create matrices. However, now that I am trying to combine them using a main 
> and using the files as modules, the header files seem to consistently 
> conflict. I am currently only trying to compile 3 files out of the several 
> that i have completed. 
> when trying to compile 2 modules that i have, where the 1st module uses the 
> 2nd module. Common errors that i am getting is the 
> "symbol 'xxx' ... conflicts with symbol from module 'utils', use-associated 
> at ..."and"Cannot change attributes of USE-associated symbol xxxx at"
> Is there a method to go about this? 

Are these errors related to PETSc?  Note that if you reuse names in
different modules, you may need to do a selective import.

  use modulename, only: foo, bar=>baz

Attachment: signature.asc
Description: PGP signature

Reply via email to