[petsc-users] Pthread support

Alexander Goncharov alexvg77 at gmail.com
Mon Jul 23 22:32:54 CDT 2012


Does it mean that a single process job should be started using mpiexec?
Before I never used it for a sequential code.
I just tried mpiexec -n 2 --bind-to-core ./ex2. Again had two processes
50% each. 4 jobs show up as 25% and so on. I have same problem on AMD
quad-core, and  Intel quad-core.


On Mon, 2012-07-23 at 22:22 -0500, 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.




More information about the petsc-users mailing list