[petsc-users] Pthread support

Alexander Goncharov alexvg77 at gmail.com
Mon Jul 23 22:38:07 CDT 2012


Barry,

I think this is what I am experiencing. Whether I use mpiexcec or start
jobs manually, they all end up on the same core (0). Btw, this does not
happen if compiled --wtih-pthreadclasses=0

Alex.

On Mon, 2012-07-23 at 22:33 -0500, Barry Smith wrote:
> On Jul 23, 2012, at 10:22 PM, Jed Brown wrote:
> 
> > On Mon, Jul 23, 2012 at 10:19 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> > Yes, but is PETSc built with MPI?  PETSc does not decide on which core to run the program, but MPI might.
> > 
> > Well, PETSc is setting affinity if it can when you use threads.
> 
>   Jed,
> 
>    So maybe that is the problem. PETSc is forcing affinity to a hardware number core regardless of whether another PETSc program is running and has also forced that same core?
> 
>    Barry
> 
> 
> 
> 




More information about the petsc-users mailing list