Re: [hwloc-users] Segmentation fault in collect_proc_cpuset, topology.c line 1074

2013-01-17 Thread cessenat
Hello Brice, I wrongly tested with 1.6rc2 instead of 1.6.1rc2 ! It works fine with 1.6.1rc2 - so end of thread for me. Thank you and sorry again, Olivier Cessenat - Mail original - De: "Brice Goglin" À: cesse...@free.fr Cc: "Hardware locality user list"

[hwloc-users] hwloc-1.6.1rc2 Build failure with Cray compiler

2013-01-17 Thread Erik Schnetter
hwloc-1.6.1rc2 fails to build with the Cray compiler Cray C : Version 8.1.2 Thu Jan 17, 2013 12:18:54 The error message is CC bitmap.lo CC-147 craycc: ERROR Declaration is incompatible with "int ffsl(long)" (declared at line 526 of

Re: [hwloc-users] hwloc-1.6.1rc2 Build failure with Cray compiler

2013-01-17 Thread Brice Goglin
Did this work in the past? I don't think we changed this code recently. Can you run "make check" to make sure this change doesn't break anything? Thanks Brice Le 17/01/2013 19:19, Erik Schnetter a écrit : > hwloc-1.6.1rc2 fails to build with the Cray compiler > > Cray C : Version 8.1.2 Thu Jan

Re: [hwloc-users] hwloc-1.6.1rc2 Build failure with Cray compiler

2013-01-17 Thread Erik Schnetter
Brice This worked earlier. Maybe "earlier" was version 1.5 of hwloc. I agree with your statements regarding __GNUC__. Instead of testing for _CRAYC, one could introduce an autoconf check whether __builtin_ffsl works correctly. -erik On Thu, Jan 17, 2013 at 1:22 PM, Brice Goglin

Re: [hwloc-users] hwloc-1.6.1rc2 Build failure with Cray compiler

2013-01-17 Thread Brice Goglin
Does Cray fix such bugs quickly usually? If so, no need to change hwloc. If not, I'll need somebody to test the change on other cray platforms and compiler versions. Brice Jeff Hammond a écrit : >This is a bug in the Cray compiler. They cannot and should not set >the

Re: [hwloc-users] hwloc-1.6.1rc2 Build failure with Cray compiler

2013-01-17 Thread Erik Schnetter
I realise I did not mention the flags I used when configuring hwloc. I am using -g -h gnu -O3 which explicitly asks to recognise GNU extensions. (I need to use -h gnu to compile certain other code.) This would explain why __GNUC__ is defined... Apologies for omitting this earlier. -erik On