[petsc-users] Setting thread affinities for multiple MPI tasks per node

Jed Brown jedbrown at mcs.anl.gov
Mon Jan 6 12:39:57 CST 2014


John Mousel <john.mousel at gmail.com> writes:

> If I want to use threading but launch multiple MPI processes per node is
> there a way to control the affinities on each socket of the node? I see
> -threadcomm_affinities, but the documentation is sparse and it's hard for
> me to see how a single list of core labels gets the job done for multiple
> MPI processes when the core labels are different on the different sockets.

For processes, use your mpiexec to set affinity

http://blogs.cisco.com/performance/process-affinity-in-ompi-v1-7-part-1/

https://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager (-bind-to -help)


My intent is to make (threadcomm) thread affinity number within the mask
offered by MPI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140106/f87cbfb8/attachment.pgp>


More information about the petsc-users mailing list