Ralph Castain
69a0882207
Correctly setup hwloc when passing a topology from an external source
...
This commit was SVN r25277.
2011-10-12 21:34:46 +00:00
Jeff Squyres
ff97b57c90
Change the names to be slightly more descriptive.
...
This commit was SVN r25271.
2011-10-12 16:07:09 +00:00
Jeff Squyres
951c745590
We always have hwloc xml support (now that it's built into to hwloc
...
without needing libxml2). So OPAL_HAVE_HWLOC_XML is no longer
necessary.
This commit was SVN r25263.
2011-10-11 20:20:59 +00:00
Shiqing Fan
4caed984ed
Need to exclude another file for windows build.
...
This commit was SVN r25168.
2011-09-20 16:09:03 +00:00
Ralph Castain
51129cc2a8
If built without hwloc xml support, we cannot currently pass the local topology from the daemon to an MPI app. This makes it impossible to set affinity, for example. In this case, have the app get its own copy of the topology at startup.
...
For safety sake, protect hwloc-based affinity modules from NULL topology
This commit was SVN r25164.
2011-09-20 14:46:55 +00:00
Jeff Squyres
9db4542c2b
Move maffinity_base_alloc_policy and
...
maffinity_base_bind_failure_action MCA params to the hwloc base
(hwloc_base_alloc_polocy and hwloc_base_bind_failure_action). Since
these MCA parameters were never on a release branch, I'm just
moving/renaming them outright and not leaving aliases to the old
names.
Note that some upper layer needs to call
opal_hwloc_base_set_process_membind_policy() to set the
set-by-MCA-param process-wide memory affinity policy. We can't do
this automatically during hwloc_base_open() because, for reasons
described elsewhere, opal_hwloc_topology is not automatically filled
during hwloc_base_open() (in short: potential scalability issues when
launching many MPI processes simultaneously on a single machine, for
example).
This commit was SVN r25156.
2011-09-19 16:10:37 +00:00
Jeff Squyres
ecd603256a
* Rename opal_hwloc_components to opal_hwloc_base_components
...
* Fix some comments
This commit was SVN r25150.
2011-09-17 11:54:36 +00:00
Jeff Squyres
d6682523f6
Put in proper basename so that "make dist" can find it.
...
This commit was SVN r25135.
2011-09-13 11:09:56 +00:00
Shiqing Fan
b61eed801f
Fix the problem of building hwloc on Windows. Temporarily not using it for Windows.
...
This commit was SVN r25128.
2011-09-12 13:55:34 +00:00
Ralph Castain
6460fe5480
Silence warning
...
This commit was SVN r25127.
2011-09-12 13:32:21 +00:00
Ralph Castain
92c7372e20
Per the RFC from Jeff, move hwloc from opal/mca/common to its own static framework ala libevent. Have ORTE daemons collect the topology info at startup and, if --enable-hwloc-xml is set, send that info back to the HNP for later use. The HNP only retains unique topology "templates" to reduce memory footprint. Have the daemon include the local topology info in the nidmap buffer sent to each app so the apps don't all hammer the local system to discover it for themselves.
...
Remove the sysinfo framework as hwloc replaces that functionality.
This commit was SVN r25124.
2011-09-11 19:02:24 +00:00