[petsc-users] PETSc module using modules~ both using PETSc sys, DMDA, vec, etc

Tina Patel tinap89 at yahoo.com
Mon May 8 01:13:51 CDT 2017


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? thank you.
-Tina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170508/eaaee076/attachment.html>


More information about the petsc-users mailing list