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, Inc.  All Rights Reserved.

Configured with:

[csamuel@tango hwloc-0.9.1rc3]$ CC=pgcc ./configure

Ran lstopo to confirm it looked sensible.


It doesn't build with PGI v8.0 though..

[csamuel@tango hwloc-0.9.1rc3]$ pgcc -V

pgcc 8.0-6 64-bit target on x86-64 Linux -tp gh-64
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2009, STMicroelectronics, Inc.  All Rights Reserved.


libtool: compile:  pgcc -DHAVE_CONFIG_H -I. -I../include/private 
-I../include/hwloc -I../include -I../include 
-I/usr/local/openmpi/1.3.3-pgi/include -I/usr/local/mpfr/2.4.1/include 
-I/usr/local/gmp/4.3.1/include -I/usr/include/libxml2 -g -c topology.c  -fpic 
-DPIC -o .libs/topology.o
PGC-S-0043-Redefinition of symbol, nbobjs (topology.c: 77)
PGC-S-0043-Redefinition of symbol, nbobjs (topology.c: 141)
PGC-S-0043-Redefinition of symbol, nbobjs (topology.c: 213)
PGC-S-0043-Redefinition of symbol, nbobjs (topology.c: 291)
PGC/x86-64 Linux 8.0-6: compilation completed with severe errors
make[1]: *** [topology.lo] Error 1
make[1]: Leaving directory `/nfs/user2/csamuel/Sources/HWloc/hwloc-0.9.1rc3/src'
make: *** [all-recursive] Error 1

-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency


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