Thanks! The short version is that 0.10 with hwloc 1.1.1rc3 passed everything for me on a RHEL 5.5 node with 64 hardware threads (i.e., 32 intel cores on 4 sockets). hwloc 1.1.0 (as expected) failed the ulong tests -- that stuff has been fixed in the upcoming 1.1.1.
----- [root@localhost Sys-Hwloc-0.10]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-use.........ok t/01-api.........ok t/02-topo........ok 1/40I/O warning : failed to load external entity "/MurKs" I/O warning : failed to load external entity "/MurKs" t/02-topo........ok t/03-topoinfo....ok t/04-obj.........ok t/05-strings.....ok t/06-helpers.....ok t/07-cpuset......ok 122/122 skipped: Sys::Hwloc::Cpuset t/08-bitmap......ok t/09-sets........ok t/10-bind........ok All tests successful, 122 subtests skipped. Files=11, Tests=5876, 4 wallclock secs ( 4.13 cusr + 0.31 csys = 4.44 CPU) [root@localhost Sys-Hwloc-0.10]# ----- These bindings will be MUCH better than me parsing the lstopo -xml output myself. w00t! /me goes off to play with these perl bindings... On Jan 20, 2011, at 4:55 AM, Bernd Kallies wrote: > Jeff, thanks for the report. > > Embarassingly the needed typemap file was not part of the package in > CPAN. This mistake is corrected in > > http://cpan.perl.org/authors/id/B/BK/BKA/Sys-Hwloc-0.10.tar.gz > > Please give this a try. > > To be able to run the full test suite, you will also need to install a > newer Test::More (>= 0.89). This is also available from CPAN. > > Regards BK > > > On Wed, 2011-01-19 at 17:51 -0500, Jeff Squyres wrote: >> Bernd -- >> >> I finally got around to trying to play with Sys-Hwloc-0.09 today. But I >> wasn't able to build it. I'm not enough of a perl module wizard to know >> what is going on here -- what am I doing wrong? >> >> This is on a RHEL5.5 machine with a local installation of hwloc 1.1 under >> /root/hg/bootstrap/local. >> >> [root@localhost Sys-Hwloc-0.09]# export >> PKG_CONFIG_PATH=/root/hg/bootstrap/local/lib/pkgconfig/ >> [root@localhost Sys-Hwloc-0.09]# perl Makefile.PL >> checking for hwloc... yes >> checking for hwloc prefix... /root/hg/bootstrap/local >> checking for hwloc eprefix... /root/hg/bootstrap/local >> checking for hwloc includedir... /root/hg/bootstrap/local/include >> checking for hwloc libdir... /root/hg/bootstrap/local/lib >> checking for hwloc -I flags... -I/root/hg/bootstrap/local/include >> -I/usr/include/libxml2 >> checking for hwloc libs... -L/root/hg/bootstrap/local/lib -lhwloc >> checking if hwloc supports hwloc_get_api_version... no >> checking if hwloc supports XML... yes >> checking HWLOC_API_VERSION... 0x00010100 >> Checking if your kit is complete... >> Looks good >> Warning: prerequisite Test::More 0.89 not found. We have 0.62. >> Writing Makefile for Sys::Hwloc >> [root@localhost Sys-Hwloc-0.09]# make >> sed -e s/@HWLOC_API_VERSION@/0x00010100/ <lib/Sys/Hwloc.pm >> >blib/lib/Sys/Hwloc.pm >> AutoSplitting blib/lib/Sys/Hwloc.pm (blib/lib/auto/Sys/Hwloc) >> cp lib/Sys/Hwloc/Obj.pod blib/lib/Sys/Hwloc/Obj.pod >> cp lib/Sys/Hwloc/Cpuset.pod blib/lib/Sys/Hwloc/Cpuset.pod >> cp lib/Sys/Hwloc/Bitmap.pod blib/lib/Sys/Hwloc/Bitmap.pod >> cp lib/Sys/Hwloc/Topology.pod blib/lib/Sys/Hwloc/Topology.pod >> /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap >> /usr/lib/perl5/5.8.8/ExtUtils/typemap Hwloc.xs > Hwloc.xsc && mv Hwloc.xsc >> Hwloc.c >> Error: 'hwloc_obj_type_t' not in typemap in Hwloc.xs, line 458 >> Error: 'hwloc_obj_type_t' not in typemap in Hwloc.xs, line 459 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 472 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 483 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 506 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 511 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 528 >> Error: 'hwloc_obj_type_t' not in typemap in Hwloc.xs, line 529 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 548 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 561 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 575 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 590 >> Error: 'pid_t' not in typemap in Hwloc.xs, line 591 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 606 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 620 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 635 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 662 >> Error: 'hwloc_topology_t' not in typemap in Hwloc.xs, line 680 >> ...lots more like this (and others) >> > > -- > Dr. Bernd Kallies > Konrad-Zuse-Zentrum für Informationstechnik Berlin > Takustr. 7 > 14195 Berlin > Tel: +49-30-84185-270 > Fax: +49-30-84185-311 > e-mail: kall...@zib.de > > _______________________________________________ > hwloc-devel mailing list > hwloc-de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/