Re: [hwloc-devel] PCI device location in hwloc

2010-11-19 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/11/10 01:42, Brice Goglin wrote:

> It's not in trunk yet. Try this branch instead:
>   https://svn.open-mpi.org/svn/hwloc/branches/libpci

Just tried this on our BlueGene/P management node
(Power6 with SLES10 SP1) and it fails to configure
with:

configure:10657: checking for cpuid
configure:10682: gcc -c  -I/tmp/hwloc/libpci/include  conftest.c >&5
/tmp/hwloc/libpci/include/private/cpuid.h: In function 'hwloc_cpuid':
/tmp/hwloc/libpci/include/private/cpuid.h:54: error: impossible
constraint in 'asm'

tambo-m:/tmp/libpci # gcc -v
Using built-in specs.
Target: powerpc64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
- --with-local-prefix=/usr/local --infodir=/usr/share/info
- --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
- --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
- --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
- --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib
- --with-system-zlib --enable-shared --enable-__cxa_atexit
- --enable-libstdcxx-allocator=new --program-suffix=
- --enable-version-specific-runtime-libs --without-system-libunwind
- --with-cpu=default32 --enable-secureplt --with-long-double-128
- --host=powerpc64-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (SUSE Linux)

Any ideas ?

cheers!
Chris
- -- 
 Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computational Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.unimelb.edu.au/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzmErYACgkQO2KABBYQAh/F5ACbB3aeo8omt61QtgMihKL1L0Jz
CuwAnja+xiKjY01h6QOUhOuYuh7E+9dv
=mX4Y
-END PGP SIGNATURE-


[hwloc-devel] python bindings for libhwloc?

2010-11-19 Thread Guy Streeter
Has anyone worked on or expressed interest in python bindings for the hwloc 
library? I do most of my work in python and would find it useful.
 I threw together a python implementation of the hwloc-hello program in 
python, using ctypes to access the library. It was fairly straight-forward.
 I would be happy to work on a bindings package if it is not being done by 
someone else.

thanks,
--Guy


[hwloc-devel] hwloc 1.1 rc2 make check fails on SLES10SP1 on PPC64

2010-11-19 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi there,

I'm getting a failure doing a make check on SLES10 SP1 on
our BG/P service (management) node:

FAIL: test-gather-topology.sh

I've attached the output of the "make check" in case
that helps.

On the plus side it passes on Ubuntu 10.04 and RHEL 5.5.

cheers,
Chris
- -- 
 Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computational Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.unimelb.edu.au/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkznPYAACgkQO2KABBYQAh/hZwCfcsJ0j3vfb9FzF7DohpZns2j4
5nMAoJLqo5k9CzEjlD9nFmyeJotUnSdU
=iEB6
-END PGP SIGNATURE-
Making check in src
make[1]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/src'
  CC topology.lo
  CC traversal.lo
  CC topology-synthetic.lo
  CC bind.lo
  CC cpuset.lo
  CC misc.lo
  CC topology-xml.lo
  CC topology-linux.lo
topology-linux.c: In function 'hwloc_linux_set_thisthread_membind':
topology-linux.c:1010: warning: implicit declaration of function 'migrate_pages'
  CCLD   libhwloc.la
make[1]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/src'
Making check in include
make[1]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/include'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/include'
Making check in utils
make[1]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/utils'
  CC lstopo-lstopo.o
  CC lstopo-lstopo-color.o
  CC lstopo-lstopo-text.o
  CC lstopo-lstopo-draw.o
  CC lstopo-lstopo-fig.o
  CC lstopo-lstopo-cairo.o
  CC lstopo-lstopo-xml.o
  CCLD   lstopo
  CC hwloc-calc.o
  CCLD   hwloc-calc
  CC hwloc-bind.o
  CCLD   hwloc-bind
  CC hwloc-distrib.o
  CCLD   hwloc-distrib
  CC hwloc-ps.o
  CCLD   hwloc-ps
Creating hwloc.7 man page...
Creating lstopo.1 man page...
Creating hwloc-bind.1 man page...
Creating hwloc-distrib.1 man page...
Creating hwloc-calc.1 man page...
Creating hwloc-ps.1 man page...
make  check-TESTS
make[2]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/utils'
PASS: test-hwloc-distrib.sh
=
1 test passed
=
make[2]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/utils'
make[1]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/utils'
Making check in tests
make[1]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests'
Making check in ports
make[2]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/ports'
make  libhwloc-ports.la
make[3]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/ports'
  CC libhwloc_ports_la-topology.lo
  CC libhwloc_ports_la-traversal.lo
  CC libhwloc_ports_la-topology-synthetic.lo
  CC libhwloc_ports_la-topology-solaris.lo
  CC libhwloc_ports_la-topology-aix.lo
  CC libhwloc_ports_la-topology-osf.lo
  CC libhwloc_ports_la-topology-windows.lo
topology-windows.c: In function 'hwloc_win_get_VirtualAllocExNumaProc':
topology-windows.c:214: warning: assignment from incompatible pointer type
topology-windows.c:219: warning: assignment from incompatible pointer type
  CC libhwloc_ports_la-topology-darwin.lo
  CC libhwloc_ports_la-topology-freebsd.lo
topology-freebsd.c: In function 'hwloc_freebsd_set_thread_cpubind':
topology-freebsd.c:125: warning: passing argument 3 of 'pthread_setaffinity_np' 
from incompatible pointer type
topology-freebsd.c: In function 'hwloc_freebsd_get_thread_cpubind':
topology-freebsd.c:149: warning: passing argument 3 of 'pthread_getaffinity_np' 
from incompatible pointer type
  CC libhwloc_ports_la-topology-hpux.lo
  CCLD   libhwloc-ports.la
make[3]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/tests/ports'
make[2]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/tests/ports'
Making check in xml
make[2]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/xml'
make  check-TESTS
make[3]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/xml'
PASS: 16amd64-8n2c-cpusets.xml
PASS: 16em64t-4s2c2t.xml
PASS: 16em64t-4s2c2t-offlines.xml
PASS: 8em64t-2mi2ma2c.xml
==
All 4 tests passed
==
make[3]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/tests/xml'
make[2]: Leaving directory `/tmp/hwloc/hwloc-1.1rc2/tests/xml'
Making check in linux
make[2]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/linux'
Making check in gather
make[3]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/linux/gather'
make  check-TESTS
make[4]: Entering directory `/tmp/hwloc/hwloc-1.1rc2/tests/linux/gather'
Saving current system topology to XML...
Saving current system topology to a tarball...
Hierarchy gathered in /tmp/tmp.HznAQg9426/save.tar.bz2 and kept in 
/tmp/tmp.rnuQJn9445/save/
Expected topology output stored in /tmp/tmp.HznAQg9426/save.output
Extracting tarball...
Saving tarball topology to XML...
Comparing XML outputs...
--- save.xml2010-11-20 14:09:39.0 +1100
+++ save2.xml   2010-11-20 1