[petsc-users] using PETSc libraries in an OpenMP application

David L Rodriguez dlr at desktopaero.com
Tue Mar 2 20:42:28 CST 2010


Hello.  I am new to PETSc so bare with me.  I have gone through the archived questions but have not been able to find an answer to my question.  So here it goes.

I have a huge CFD application that is parallelized exclusively with OpenMP.  There is no use of MPI anywhere.  I am making significant enhancements to this code and one enhancement includes an additional elliptic solver for that builds very sparse matrices.  The matrix is huge and has significantly varying eigenvalues and therefore I need a preconditioned iterative solver.  I would like to implement PETSc in this code to solve this matrix, but it from what I can tell, I can only run it in serial.  Is there a way to call the parallel PETSc libraries from an application that is parallelized strictly with OpenMP?

Any ideas would be very much appreciated.  Thanks.



____________________
David L Rodriguez, Ph.D.
Desktop Aeronautics, Inc.

PH: 650-323-3141
dlr at desktopaero.com
http://desktopaero.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100302/0d31462a/attachment.htm>


More information about the petsc-users mailing list