Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Samuel Thibault
Brice Goglin, le Tue 13 Mar 2012 18:55:29 +0100, a écrit : > Le 13/03/2012 17:04, Hartmut Kaiser a écrit : > >>> But the problems I was seeing were not MSVC specific. It's a > >>> proliferation of arcane (non-POSIX) function use (like strcasecmp, > >>> etc.) missing use of HAVE_UNISTD_H,

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Brice Goglin
Le 13/03/2012 17:04, Hartmut Kaiser a écrit : >>> But the problems I was seeing were not MSVC specific. It's a >>> proliferation of arcane (non-POSIX) function use (like strcasecmp, >>> etc.) missing use of HAVE_UNISTD_H, HAVE_STRINGS_H to wrap >>> non-standard headers, unsafe mixing of >>>

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Hartmut Kaiser
> >> More investigation shows that the code currently assumes group (and > >> processor) masks to be 32 bit, which is not true on 64 bit systems. > > > > No. What it assumes is that you have a sane compiler where ulong is > > not 32bits on 64bits systems :) > > Ew. > > Is the implication here

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Jeffrey Squyres
On Mar 13, 2012, at 9:10 AM, Brice Goglin wrote: >> More investigation shows that the code currently assumes group (and >> processor) masks to be 32 bit, which is not true on 64 bit systems. > > No. What it assumes is that you have a sane compiler where ulong is not > 32bits on 64bits systems :)

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Jeffrey Squyres
On Mar 13, 2012, at 7:37 AM, Hartmut Kaiser wrote: >> FWIW, hwloc is working for me with a wide array of POSIX-ish compilers on >> POSIX-ish platforms (albeit perhaps many of them are quite similar -- 64 >> bit systems on more-or-less modern-ish hardware). There's quite a degree >> of

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Brice Goglin
Le 13/03/2012 17:04, Hartmut Kaiser a écrit : >>> But the problems I was seeing were not MSVC specific. It's a >>> proliferation of arcane (non-POSIX) function use (like strcasecmp, >>> etc.) missing use of HAVE_UNISTD_H, HAVE_STRINGS_H to wrap >>> non-standard headers, unsafe mixing of >>>

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Hartmut Kaiser
> Hartmut Kaiser, le Tue 13 Mar 2012 12:46:05 +0100, a écrit : > > Trying to use hwloc on a 48 bit core machine (Windows x64) causes > > problems, though. Any information requests for processing units above > > number 32 return garbage (see also the attached output of 'lstopo -of > txt'). > > Ok,

Re: [hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Samuel Thibault
Samuel Thibault, le Tue 13 Mar 2012 13:33:05 +0100, a écrit : > > I tried to recompile the library using MSVC which would allow me to debug > > the issue, but after several hours of tweaking I gave up. As it turns out > > the code base is everything but portable, which is really unfortunate for a

[hwloc-users] Problems on SMP with 48 cores

2012-03-13 Thread Hartmut Kaiser
Hey all, Let me first say that hwloc is an excellent attempt in providing a portable and cross-platform solution to introspect topology -related information for different pieces of hardware. Thanks for working on that. Trying to use hwloc on a 48 bit core machine (Windows x64) causes problems,