Skip to content

Commit ff92781

Browse files
author
Ralph Castain
committed
Replace hwloc191 with hwloc1110
Fix hwloc compile. Ignore LAMA mapper due to deprecated hwloc functions
1 parent d9f2362 commit ff92781

File tree

117 files changed

+267
-96939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+267
-96939
lines changed

opal/mca/hwloc/hwloc1110/hwloc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Version 1.11.0
7171
- Do not drop instruction caches and I/O devices from the output anymore.
7272
+ Fix lstopo path in hwloc-gather-topology after install.
7373
* Misc
74+
+ Fix hwloc/cudart.h for machines with multiple PCI domains,
75+
thanks to Imre Kerr for reporting the problem.
7476
+ Fix PCI Bridge-specific depth attribute.
7577
+ Fix hwloc_bitmap_intersect() for two infinite bitmaps.
7678
+ Improve the performance of object insertion by cpuset for large

opal/mca/hwloc/hwloc1110/hwloc/README

Lines changed: 252 additions & 418 deletions
Large diffs are not rendered by default.

opal/mca/hwloc/hwloc1110/hwloc/VERSION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ release=0
1616
# requirement is that it must be entirely printable ASCII characters
1717
# and have no white space.
1818

19-
greek=rc1
19+
greek=rc2
2020

2121
# The date when this release was created
2222

23-
date="Jun 02, 2015"
23+
date="Unreleased developer copy"
2424

2525
# If snapshot=1, then use the value from snapshot_version as the
2626
# entire hwloc version (i.e., ignore major, minor, release, and
2727
# greek). This is only set to 1 when making snapshot tarballs.
28-
snapshot=0
29-
snapshot_version=${major}.${minor}.${release}${greek}-git
28+
snapshot=1
29+
snapshot_version=dev-450-g1cc3012
3030

3131
# The shared library version of hwloc's public library. This version
3232
# is maintained in accordance with the "Library Interface Versions"

opal/mca/hwloc/hwloc1110/hwloc/config/hwloc.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dnl Copyright © 2004-2012 The Regents of the University of California.
99
dnl All rights reserved.
1010
dnl Copyright © 2004-2008 High Performance Computing Center Stuttgart,
1111
dnl University of Stuttgart. All rights reserved.
12-
dnl Copyright © 2006-2014 Cisco Systems, Inc. All rights reserved.
12+
dnl Copyright © 2006-2015 Cisco Systems, Inc. All rights reserved.
1313
dnl Copyright © 2012 Blue Brain Project, BBP/EPFL. All rights reserved.
1414
dnl Copyright © 2012 Oracle and/or its affiliates. All rights reserved.
1515
dnl See COPYING in top-level directory.
@@ -80,11 +80,11 @@ EOF])
8080
8181
# Get the version of hwloc that we are installing
8282
AC_MSG_CHECKING([for hwloc version])
83-
HWLOC_VERSION="`$srcdir/config/hwloc_get_version.sh $srcdir/VERSION`"
83+
HWLOC_VERSION="`$HWLOC_top_srcdir/config/hwloc_get_version.sh $HWLOC_top_srcdir/VERSION`"
8484
if test "$?" != "0"; then
8585
AC_MSG_ERROR([Cannot continue])
8686
fi
87-
HWLOC_RELEASE_DATE="`$srcdir/config/hwloc_get_version.sh $srcdir/VERSION --release-date`"
87+
HWLOC_RELEASE_DATE="`$HWLOC_top_srcdir/config/hwloc_get_version.sh $HWLOC_top_srcdir/VERSION --release-date`"
8888
AC_SUBST(HWLOC_VERSION)
8989
AC_DEFINE_UNQUOTED([HWLOC_VERSION], ["$HWLOC_VERSION"],
9090
[The library version, always available, even in embedded mode, contrary to VERSION])

opal/mca/hwloc/hwloc1110/hwloc/include/hwloc/cuda.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2010-2013 Inria. All rights reserved.
2+
* Copyright © 2010-2015 Inria. All rights reserved.
33
* Copyright © 2010-2011 Université Bordeaux
44
* Copyright © 2011 Cisco Systems, Inc. All rights reserved.
55
* See COPYING in top-level directory.
@@ -49,7 +49,7 @@ hwloc_cuda_get_device_pci_ids(hwloc_topology_t topology __hwloc_attribute_unused
4949
{
5050
CUresult cres;
5151

52-
#ifdef CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID
52+
#if CUDA_VERSION >= 4000
5353
cres = cuDeviceGetAttribute(domain, CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID, cudevice);
5454
if (cres != CUDA_SUCCESS) {
5555
errno = ENOSYS;

opal/mca/hwloc/hwloc1110/hwloc/include/hwloc/cudart.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2010-2013 Inria. All rights reserved.
2+
* Copyright © 2010-2015 Inria. All rights reserved.
33
* Copyright © 2010-2011 Université Bordeaux
44
* Copyright © 2011 Cisco Systems, Inc. All rights reserved.
55
* See COPYING in top-level directory.
@@ -23,6 +23,7 @@
2323
#include <hwloc/linux.h>
2424
#endif
2525

26+
#include <cuda.h> /* for CUDA_VERSION */
2627
#include <cuda_runtime_api.h>
2728

2829

@@ -56,7 +57,7 @@ hwloc_cudart_get_device_pci_ids(hwloc_topology_t topology __hwloc_attribute_unus
5657
return -1;
5758
}
5859

59-
#ifdef CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID
60+
#if CUDA_VERSION >= 4000
6061
*domain = prop.pciDomainID;
6162
#else
6263
*domain = 0;

opal/mca/hwloc/hwloc1110/hwloc/src/topology.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2599,7 +2599,7 @@ hwloc_discover(struct hwloc_topology *topology)
25992599
&& strcmp(topology->backends->component->name, "xml")) {
26002600
char *value;
26012601
/* add a hwlocVersion */
2602-
hwloc_obj_add_info(topology->levels[0][0], "hwlocVersion", VERSION);
2602+
hwloc_obj_add_info(topology->levels[0][0], "hwlocVersion", HWLOC_VERSION);
26032603
/* add a ProcessName */
26042604
value = hwloc_progname(topology);
26052605
if (value) {

opal/mca/hwloc/hwloc191/Makefile.am

Lines changed: 0 additions & 83 deletions
This file was deleted.

opal/mca/hwloc/hwloc191/README-ompi.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

opal/mca/hwloc/hwloc191/configure.m4

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)