1
1
openmpi/ompi/errhandler
Ralph Castain fe68f23099 Only instantiate the HWLOC topology in an MPI process if it actually will be used.
There are only five places in the non-daemon code paths where opal_hwloc_topology is currently referenced:

* shared memory BTLs (sm, smcuda). I have added a code path to those components that uses the location string
  instead of the topology itself, if available, thus avoiding instantiating the topology

* openib BTL. This uses the distance matrix. At present, I haven't developed a method
  for replacing that reference. Thus, this component will instantiate the topology

* usnic BTL. Uses the distance matrix.

* treematch TOPO component. Does some complex tree-based algorithm, so it will instantiate
  the topology

* ess base functions. If a process is direct launched and not bound at launch, this
  code attempts to bind it. Thus, procs in this scenario will instantiate the
  topology

Note that instantiating the topology on complex chips such as KNL can consume
megabytes of memory.

Fix pernode binding policy

Properly handle the unbound case

Correct pointer usage

Do not free static error messages!

Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-12-29 10:33:29 -08:00
..
errcode-internal.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errcode-internal.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errcode.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errcode.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errhandler_invoke.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errhandler_predefined.c Only instantiate the HWLOC topology in an MPI process if it actually will be used. 2016-12-29 10:33:29 -08:00
errhandler_predefined.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errhandler.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
errhandler.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
help-mpi-errors.txt Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
Makefile.am Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00