1
1
openmpi/opal/mca/maffinity
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 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
first_use Add windows support files into the tarball, including .windows, CMakeLists.txt files, and CMake modules. Thanks to Jeff for testing it on Linux. 2009-04-24 16:39:33 +00:00
libnuma Convert libnuma to use the new OMPI_SETUP_COMPONENT_PACKAGE macro 2009-03-06 21:49:00 +00:00
maffinity_types.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.h Fixes trac:1392, #1400 2008-07-28 22:40:57 +00:00
Makefile.am * fix "make distclean" error in PML 2005-11-20 07:41:09 +00:00