I assume you need other people to answer as well, but here is what I get:
$ sysctl -a | grep ^hw
hw.ncpu: 4
hw.byteorder: 1234
hw.memsize: 8589934592
hw.activecpu: 4
hw.physicalcpu: 4
hw.physicalcpu_max: 4
hw.logicalcpu: 4
hw.logicalcpu_max: 4
hw.cputype: 7
hw.cpusubtype: 8
hw.cpu64bit_capable: 1
[ from Third example: Print the number of sockets. of
http://www.open-mpi.org/projects/hwloc/doc/v1.5.1/
]
I see objects type 1,2,4 and 6 only.
So, will there be another (non socket hwloc object based) way to get
CPUModel or will it find sockets as on Linux ?
Thanks.
Olivier Cessenat.
Le jeudi 25
Le dimanche 06 juin 2010 à 22:55 +0200, Samuel Thibault a écrit :
> Olivier Cessenat, le Sun 06 Jun 2010 22:44:17 +0200, a écrit :
> > By the way, my x86_64 configure says:
> > <<
> > checking for XML... no
> > >>
> > I see I have "libxml2
<http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
>>
I shall try at the end of next week - on travel this week.
I keep it in mind.
Olivier.
Le dimanche 06 juin 2010 à 21:59 +0200, Samuel Thibault a
Le dimanche 06 juin 2010 à 20:37 +0200, Brice Goglin a écrit :
> Le 06/06/2010 19:21, Samuel Thibault a écrit :
> > Olivier Cessenat, le Sun 06 Jun 2010 19:07:40 +0200, a écrit :
> >
> >> I installed hwloc on a system where there is no such libpng or freetype
> >
Le dimanche 06 juin 2010 à 18:39 +0200, Samuel Thibault a écrit :
> Olivier Cessenat, le Sun 06 Jun 2010 18:14:35 +0200, a écrit :
> > In file included from topology.c:17:
> > /opt/gfortran/irun/bin/../lib/gcc/i386-pc-linux-gnu/4.3.0/include-fixed/sys/stat.h:345:
>
Hello Samuel,
I would like to get the cache sizes and hierachy;
hwloc-ls returns
<<
Machine + L1 #0 (0KB)
PU #0 (phys=0)
PU #1 (phys=1)
>>
which detects my dual core, but not the cache sizes, L2 and L1.
Is this an already known behaviour ?
Thanks,
Cheers,
Olivier Cessenat.
Le