1
1
openmpi/ompi/runtime
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
..
help-mpi-runtime.txt 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
Makefile.am Move modex from pml base to general ompi runtime, sicne it's used by more 2007-07-09 17:16:34 +00:00
mpiruntime.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
ompi_cr.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
ompi_cr.h - As long as a header declares _DECLSPEC functionality 2009-03-17 01:45:19 +00:00
ompi_module_exchange.c Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately. 2008-02-28 01:57:57 +00:00
ompi_module_exchange.h ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
ompi_mpi_abort.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
ompi_mpi_finalize.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
ompi_mpi_init.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
ompi_mpi_params.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
ompi_mpi_preconnect.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
params.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