Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-30 Thread Samuel Thibault
Chris Samuel, le Fri 30 Oct 2009 16:50:25 +1100, a écrit : > It doesn't build with PGI v8.0 though.. Could you try the svn https://svn.open-mpi.org/svn/hwloc/branches/v0.9 ? Samuel

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-30 Thread Samuel Thibault
Chris Samuel, le Fri 30 Oct 2009 16:50:25 +1100, a écrit : > PGC-S-0043-Redefinition of symbol, nbobjs (topology.c: 77) Arf. I'll commit something to circumvent it. Samuel

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-30 Thread Chris Samuel
- "Pavan Balaji" wrote: > Log files attached. Hmm, it compiled for me with pgcc! [csamuel@tango hwloc-0.9.1rc3]$ pgcc -V pgcc 9.0-4 64-bit target on x86-64 Linux -tp shanghai-64 Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2009, STMicroelectronics, In

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Pavan Balaji
On 10/29/2009 06:01 PM, Samuel Thibault wrote: > In the meanwhile, I have commited detection code, could you check the > svn version from > https://svn.open-mpi.org/svn/hwloc/branches/v0.9 > ? Yeah, this seems to build fine. Thanks. -- Pavan -- Pavan Balaji http://www.mcs.anl.gov/~balaji

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Samuel Thibault
Pavan Balaji, le Thu 29 Oct 2009 16:14:23 -0500, a écrit : > /* > * Copyright 2009, STMicroelectronics, Incorporated. > * All rights reserved. > */ > > /* > Enable the __CPU definitons hidden by __USE_GNU > */ > #include_next > > /* Access macros for `cpu_set'. */ > #define CPU_

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Samuel Thibault
Brice Goglin, le Thu 29 Oct 2009 23:40:07 +0100, a écrit : > Pavan Balaji wrote: > > This is the latest version of the PGI compiler. If this is indeed > > broken, then it'll be ideal if the configure can detect it and basically > > disable everything. That is, hwloc_topology_init can return a failu

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Brice Goglin
Pavan Balaji wrote: > This is the latest version of the PGI compiler. If this is indeed > broken, then it'll be ideal if the configure can detect it and basically > disable everything. That is, hwloc_topology_init can return a failure, > so packages relying on hwloc can do something else. > We

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Pavan Balaji
This is the latest version of the PGI compiler. If this is indeed broken, then it'll be ideal if the configure can detect it and basically disable everything. That is, hwloc_topology_init can return a failure, so packages relying on hwloc can do something else. FWIW, I don't have this problem wit

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Brice Goglin
Do we support broken compilers ? :) Is this pgcc old? Is it supposed to work with a recent glibc that defines CPU* using __CPU*_S instead of using __CPU*? I don't know what they're doing, but the macros in this file look obsolete to me... Brice

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Pavan Balaji
Attached. On 10/29/2009 04:12 PM, Brice Goglin wrote: > What's in > /radix-homes/software/com/packages/pgi-9.0-4/linux86-64/9.0-4/include/sched.h > ? > > Brice > -- Pavan Balaji http://www.mcs.anl.gov/~balaji /* * Copyright 2009, STMicroelectronics, Incorporated. * All rights rese

Re: [hwloc-devel] hwloc-0.9.1rc3 fails with pgcc

2009-10-29 Thread Brice Goglin
What's in /radix-homes/software/com/packages/pgi-9.0-4/linux86-64/9.0-4/include/sched.h ? Brice