1
1
openmpi/opal/mca/maffinity/base
Ralph Castain d396f0a6fc Per the discussion on the devel list, move the binding of processes to processors from MPI_Init to process start. This involves:
1. replacing mpi_paffinity_alone with opal_paffinity_alone - for back-compatibility, I have aliased mpi_paffinity_alone to the new param name. This caus
es a mild abstraction break in the opal/mca/paffinity framework - per the devel discussion...live with it. :-) I also moved the ompi_xxx global variable
 that tracked maffinity setup so it could be properly closed in MPI_Finalize to the opal/mca/maffinity framework to avoid an abstraction break.

2. Added code to the odls/default module to perform paffinity binding and maffinity init between process fork and exec. This has been tested on IU's odi
n cluster and works for both MPI and non-MPI apps.

3. Revise MPI_Init to detect if affinity has already been set, and to attempt to set it if not already done. I have *not* tested this as I haven't yet f
igured out a way to do so - I couldn't get slurm to perform cpu bindings, even though it supposedly does do so.

This has only been lightly tested and would definitely benefit from a wider range of evaluation...

This commit was SVN r21209.
2009-05-12 02:18:35 +00:00
..
base.h Per the discussion on the devel list, move the binding of processes to processors from MPI_Init to process start. This involves: 2009-05-12 02:18:35 +00:00
maffinity_base_close.c Latest and greatest. Now OPAL is ready for the Windows prime-time. 2006-08-23 00:29:35 +00:00
maffinity_base_open.c Per the discussion on the devel list, move the binding of processes to processors from MPI_Init to process start. This involves: 2009-05-12 02:18:35 +00:00
maffinity_base_select.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
maffinity_base_wrappers.c Adding new functionality to Maffinity component to support NUMA awareness 2008-06-15 07:27:29 +00:00
Makefile.am Latest and greatest. Now OPAL is ready for the Windows prime-time. 2006-08-23 00:29:35 +00:00