calling PETSc from Fortan main routine

Waad Subber w_subber at yahoo.com
Mon Aug 13 16:25:26 CDT 2007


Hello Everyone,

I am a new PETSc user; and I am wondering if any one can help me with the following issue.

The issue is I want to write KSP solver with all the required objects in an external subroutine and then call it from my main program. I don't know if I can do that. 

What I mean is I have a main code consist of several subroutines and I want to change my solver with PETSc solver with keeping the same structure of my main program. 

Thanks :)

Waad

       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070813/f3d5bf38/attachment.htm>


More information about the petsc-users mailing list