pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/parallel/hwloc Update to hwloc 1.11.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a5a3fd00f1a
branches:  trunk
changeset: 354173:5a5a3fd00f1a
user:      asau <asau%pkgsrc.org@localhost>
date:      Fri Oct 21 10:35:28 2016 +0000

description:
Update to hwloc 1.11.4.


Version 1.11.4
--------------
* Add MemoryMode and ClusterMode attributes in the Machine object on KNL.
  Add doc/examples/get-knl-modes.c for an example of retrieving them.
  Thanks to Grzegorz Andrejczuk.
* Fix Linux build with -m32 with respect to libudev.
  Thanks to Paul Hargrove for reporting the issue.
* Fix build with Visual Studio 2015, thanks to Eloi Gaudry for reporting
  the issue and providing the patch.
* Don't forget to display OS device children in the graphical lstopo.
* Fix a memory leak on Solaris, thanks to Bryon Gloden for the patch.
* Properly handle realloc() failures, thanks to Bryon Gloden for reporting
  the issue.
* Fix lstopo crash in ascii/fig/windows outputs when some objects have a
  lstopoStyle info attribute.


Version 1.11.3
--------------
* Bug fixes
  + Fix a memory leak on Linux S/390 hosts with books.
  + Fix /proc/mounts parsing on Linux by using mntent.h.
    Thanks to Nathan Hjelm for reporting the issue.
  + Fix a x86 infinite loop on VMware due to the x2APIC feature being
    advertised without actually being fully supported.
    Thanks to Jianjun Wen for reporting the problem and testing the patch.
  + Fix the return value of hwloc_alloc() on mmap() failure.
    Thanks to Hugo Brunie for reporting the issue.
  + Fix the return value of command-line tools in some error cases.
  + Do not break individual thread bindings during x86 backend discovery in a
    multithreaded process. Thanks to Farouk Mansouri for the report.
  + Fix hwloc-bind --membind for CPU-less NUMA nodes.
  + Fix some corner cases in the XML export/import of application userdata.
* API Improvements
  + Add HWLOC_MEMBIND_BYNODESET flag so that membind() functions accept
    either cpusets or nodesets.
  + Add hwloc_get_area_memlocation() to check where pages are actually
    allocated. Only implemented on Linux for now.
    - There's no _nodeset() variant, but the new flag HWLOC_MEMBIND_BYNODESET
      is supported.
  + Make hwloc_obj_type_sscanf() parse back everything that may be outputted
    by hwloc_obj_type_snprintf().
* Detection Improvements
  + Allow the x86 backend to add missing cache levels, so that it completes
    what the Solaris backend lacks.
    Thanks to Ryan Zezeski for reporting the issue.
  + Do not filter-out FibreChannel PCI adapters by default anymore.
    Thanks to Matt Muggeridge for the report.
  + Add support for CUDA compute capability 6.x.
* Tools
  + Add --support to hwloc-info to list supported features, just like with
    hwloc_topology_get_support().
    - Also add --objects and --topology to explicitly switch between the
      default modes.
  + Add --tid to let hwloc-bind operate on individual threads on Linux.
  + Add --nodeset to let hwloc-bind report memory binding as NUMA node sets.
  + hwloc-annotate and lstopo don't drop application userdata from XMLs anymore.
    - Add --cu to hwloc-annotate to drop these application userdata.
  + Make the hwloc-dump-hwdata dump directory configurable through configure
    options such as --runstatedir or --localstatedir.
* Misc Improvements
  + Add systemd service template contrib/systemd/hwloc-dump-hwdata.service
    for launching hwloc-dump-hwdata at boot on Linux.
    Thanks to Grzegorz Andrejczuk.
  + Add HWLOC_PLUGINS_BLACKLIST environment variable to prevent some plugins
    from being loaded. Thanks to Alexandre Denis for the suggestion.
  + Small improvements for various Windows build systems,
    thanks to Jonathan L Peyton and Marco Atzeri.


Version 1.11.2
--------------
* Improve support for Intel Knights Landing Xeon Phi on Linux:
  + Group local NUMA nodes of normal memory (DDR) and high-bandwidth memory
    (MCDRAM) together through "Cluster" groups so that the local MCDRAM is
    easy to find.
    - See "How do I find the local MCDRAM NUMA node on Intel Knights
      Landing Xeon Phi?" in the documentation.
    - For uniformity across all KNL configurations, always have a NUMA node
      object even if the host is UMA.
  + Fix the detection of the memory-side cache:
    - Add the hwloc-dump-hwdata superuser utility to dump SMBIOS information
      into /var/run/hwloc/ as root during boot, and load this dumped
      information from the hwloc library at runtime.
    - See "Why do I need hwloc-dump-hwdata for caches on Intel Knights
      Landing Xeon Phi?" in the documentation.
  Thanks to Grzegorz Andrejczuk for the patches and for the help.
* The x86 and linux backends may now be combined for discovering CPUs
  through x86 CPUID and memory from the Linux kernel.
  This is useful for working around buggy CPU information reported by Linux
  (for instance the AMD Bulldozer/Piledriver bug below).
  Combination is enabled by passing HWLOC_COMPONENTS=x86 in the environment.
* Fix L3 cache sharing on AMD Opteron 63xx (Piledriver) and 62xx (Bulldozer)
  in the x86 backend. Thanks to many users who helped.
* Fix the overzealous L3 cache sharing fix added to the x86 backend in 1.11.1
  for AMD Opteron 61xx (Magny-Cours) processors.
* The x86 backend may now add the info attribute Inclusive=0 or 1 to caches
  it discovers, or to caches discovered by other backends earlier.
  Thanks to Guillaume Beauchamp for the patch.
* Fix the management on alloc_membind() allocation failures on AIX, HP-UX
  and OSF/Tru64.
* Fix spurious failures to load with ENOMEM on AIX in case of Misc objects
  below PUs.
* lstopo improvements in X11 and Windows graphical mode:
  + Add + - f 1 shortcuts to manually zoom-in, zoom-out, reset the scale,
    or fit the entire window.
  + Display all keyboard shortcuts in the console.
* Debug messages may be disabled at runtime by passing HWLOC_DEBUG_VERBOSE=0
  in the environment when --enable-debug was passed to configure.
* Add a FAQ entry "What are these Group objects in my topology?".

diffstat:

 parallel/hwloc/Makefile |   4 ++--
 parallel/hwloc/PLIST    |   5 +++--
 parallel/hwloc/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (60 lines):

diff -r b8d1c17bbd6d -r 5a5a3fd00f1a parallel/hwloc/Makefile
--- a/parallel/hwloc/Makefile   Fri Oct 21 07:10:54 2016 +0000
+++ b/parallel/hwloc/Makefile   Fri Oct 21 10:35:28 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2015/11/14 17:12:35 asau Exp $
+# $NetBSD: Makefile,v 1.19 2016/10/21 10:35:28 asau Exp $
 
-DISTNAME=      hwloc-1.11.1
+DISTNAME=      hwloc-1.11.4
 CATEGORIES=    parallel
 MASTER_SITES=  http://www.open-mpi.org/software/hwloc/v1.11/downloads/
 
diff -r b8d1c17bbd6d -r 5a5a3fd00f1a parallel/hwloc/PLIST
--- a/parallel/hwloc/PLIST      Fri Oct 21 07:10:54 2016 +0000
+++ b/parallel/hwloc/PLIST      Fri Oct 21 10:35:28 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/08/15 21:27:46 asau Exp $
+@comment $NetBSD: PLIST,v 1.5 2016/10/21 10:35:28 asau Exp $
 bin/hwloc-annotate
 bin/hwloc-assembler
 bin/hwloc-assembler-remote
@@ -55,6 +55,7 @@
 man/man3/HWLOC_CPUBIND_THREAD.3
 man/man3/HWLOC_DISTRIB_FLAG_REVERSE.3
 man/man3/HWLOC_MEMBIND_BIND.3
+man/man3/HWLOC_MEMBIND_BYNODESET.3
 man/man3/HWLOC_MEMBIND_DEFAULT.3
 man/man3/HWLOC_MEMBIND_FIRSTTOUCH.3
 man/man3/HWLOC_MEMBIND_INTERLEAVE.3
@@ -89,7 +90,6 @@
 man/man3/HWLOC_OBJ_PCI_DEVICE.3
 man/man3/HWLOC_OBJ_PU.3
 man/man3/HWLOC_OBJ_SYSTEM.3
-man/man3/HWLOC_OBJ_TYPE_MAX.3
 man/man3/HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES.3
 man/man3/HWLOC_RESTRICT_FLAG_ADAPT_IO.3
 man/man3/HWLOC_RESTRICT_FLAG_ADAPT_MISC.3
@@ -205,6 +205,7 @@
 man/man3/hwloc_get_api_version.3
 man/man3/hwloc_get_area_membind.3
 man/man3/hwloc_get_area_membind_nodeset.3
+man/man3/hwloc_get_area_memlocation.3
 man/man3/hwloc_get_cache_covering_cpuset.3
 man/man3/hwloc_get_cache_type_depth.3
 man/man3/hwloc_get_child_covering_cpuset.3
diff -r b8d1c17bbd6d -r 5a5a3fd00f1a parallel/hwloc/distinfo
--- a/parallel/hwloc/distinfo   Fri Oct 21 07:10:54 2016 +0000
+++ b/parallel/hwloc/distinfo   Fri Oct 21 10:35:28 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2015/11/14 17:12:35 asau Exp $
+$NetBSD: distinfo,v 1.10 2016/10/21 10:35:28 asau Exp $
 
-SHA1 (hwloc-1.11.1.tar.gz) = e748a103ab9b47399e75955bff93cdccf58cbf77
-RMD160 (hwloc-1.11.1.tar.gz) = 74d8404cff820f1f528a8b47ec20f2043cc7e23e
-SHA512 (hwloc-1.11.1.tar.gz) = e14f588026e548c82a7f8855ba9fc5c605e300f358e6662fd75b702187963074ee48e98109aa05847d13d451348b2778573988f841d9159033076ada5cd025f6
-Size (hwloc-1.11.1.tar.gz) = 4334074 bytes
+SHA1 (hwloc-1.11.4.tar.gz) = 952d2c33ad159710cf339436465b8d682f8ad551
+RMD160 (hwloc-1.11.4.tar.gz) = f43579d68b8041b41bee599cd82598a7235b5c59
+SHA512 (hwloc-1.11.4.tar.gz) = c6a506a9f1d4b6e5eb34373b92c5e28ef57c8d5f9c962331bc09046f77dbfe4d459be7efca5bb10b6f4704d1dc338a4e1218df1943599fd0d4226cccf75f3746
+Size (hwloc-1.11.4.tar.gz) = 4424296 bytes



Home | Main Index | Thread Index | Old Index