[petsc-users] Threading in petsc

yangchao at iscas.ac.cn yangchao at iscas.ac.cn
Mon Dec 28 21:08:26 CST 2009


Hi Barry,

Any example of the code you mentioned? Or any hint on how to do threading withing
MPI process?
Thanks in advance!

Chao Yang

On Dec 12, 2009, at 2:12 PM, Eugen Wintersberger wrote:

> Hi there
> I am entirely new to petsc. I would like to know if communication
> between Jobs on a single node is done via threads or mpi.

    The standard model is to have 1 MPI process per core so there is
no need for or use of threads.

     There is some code in place that allows one to have one MPI
process per node and use threads within the node to compute the users
nonlinear function.

     Barry

> Thanks in advance
>       Eugen wintersberger




More information about the petsc-users mailing list