Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I tell Open MPI to use processor and/or memory affinity?

affinity memory MPI processor
0
Posted

How do I tell Open MPI to use processor and/or memory affinity?

0

Assuming that your system supports processor and memory affinity (check ompi_info for “paffinity” and “maffinity” components), you can explicitly tell Open MPI to use them when running MPI jobs. Note that memory affinity support is enabled only when processor affinity is enabled. Specifically: using memory affinity does not make sense if processor affinity is not enabled because processes may allocate local memory and then move to a different processor, potentially remote from the memory that it just allocated. Also note that processor and memory affinity is meaningless (but harmless) on uniprocessor machines. Open MPI 1.2 only offers coarse-grained controls for processor affinity. As such, it is best if the processes in an Open MPI job using processor affinity are the only intensive processes running on the nodes being used for the job. Specifically, since most schedulers do not (yet) provide information on which processors should be used for specific processes, Open MPI can only assu

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123