Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Brice Goglin
hibault [mailto:samuel.thiba...@inria.fr] > Envoyé : jeudi 5 janvier 2017 13:12 > À : Hardware locality user list > Objet : Re: [hwloc-users] Building hwloc on Cray with > /opt/cray/craype/2.5.4/bin/cc > > Xavier LACOSTE, on Thu 05 Jan 2017 11:31:23 +, wrote: >>

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Xavier LACOSTE
Yes, indeed, __GNUC__ is 4 and __GNUC_MINOR__ 8 -Message d'origine- De : Samuel Thibault [mailto:samuel.thiba...@inria.fr] Envoyé : jeudi 5 janvier 2017 14:35 À : Hardware locality user list Cc : Brice Goglin Objet : Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Xavier LACOSTE
Envoyé : jeudi 5 janvier 2017 13:12 À : Hardware locality user list Objet : Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc Xavier LACOSTE, on Thu 05 Jan 2017 11:31:23 +, wrote: > Hwloc builds correctly with gcc compiler but the CPUVendor field is > not avai

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Xavier LACOSTE
Hardware locality user list Objet : Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc Does this even build with the cray compiler? int main(int argc, char *argv[]) { return __builtin_ffsl((unsigned long) argc); } Le 05/01/2017 14:56, Xavier LACOSTE a écrit : Indeed,

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Brice Goglin
; > > > XL. > > > > *De :*Brice Goglin [mailto:brice.gog...@inria.fr] > *Envoyé :* jeudi 5 janvier 2017 14:39 > *À :* Xavier LACOSTE > *Cc :* Hardware locality user list > *Objet :* Re: [hwloc-users] Building hwloc on Cray with > /opt/cray/craype/2.5.4/bin/cc

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Xavier LACOSTE
t bug to Cray and may ask for a new compiler installation. XL. De : Brice Goglin [mailto:brice.gog...@inria.fr] Envoyé : jeudi 5 janvier 2017 14:39 À : Xavier LACOSTE Cc : Hardware locality user list Objet : Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc Ah ok

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Brice Goglin
change compiler ? > > > > *De :*Brice Goglin [mailto:brice.gog...@inria.fr] > *Envoyé :* jeudi 5 janvier 2017 14:18 > *À :* Xavier LACOSTE > *Cc :* Hardware locality user list > *Objet :* Re: [hwloc-users] Building hwloc on Cray with > /opt/cray/craype/2.5.4/bin/cc > >

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Samuel Thibault
Xavier LACOSTE, on Thu 05 Jan 2017 13:25:56 +, wrote: > It seems that the __GNU__ is defined so I don’t get into the HWLOC_HAVE_FFSL > section. Do you mean __GNUC__? And which value does it have? In other words: what, exactly, actually gets included from that file? :) Samuel ___

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Xavier LACOSTE
udi 5 janvier 2017 14:18 À : Xavier LACOSTE Cc : Hardware locality user list Objet : Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc configure seems to have detected ffsl() properly, but it looks like our ffsl() redefinition gets enabled anyway, and conflicts with the s

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Brice Goglin
om cray. > > > > Thanks, > > > > XL. > > > > > > *De :*Brice Goglin [mailto:brice.gog...@inria.fr] > *Envoyé :* jeudi 5 janvier 2017 12:50 > *À :* Xavier LACOSTE > *Cc :* Hardware locality user list > *Objet :* Re: [hwloc-users] Building hwloc on Cra

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Samuel Thibault
Xavier LACOSTE, on Thu 05 Jan 2017 11:31:23 +, wrote: > Hwloc builds correctly with gcc compiler but the CPUVendor field is not > available using this code : The code looks right and works here. What output do you get? Could you post the output of lstopo test.xml Samuel _

Re: [hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Brice Goglin
Hello Xavier Can you send the /usr/include/string.h from that cray machine, your config.log and include/private/autogen/config.h from the hwloc build directory? Do you get the same error if building from the default compiler instead of /opt/cray/craype/2.5.4/bin/cc? thanks Brice Le 05/01/2017 12:

[hwloc-users] Building hwloc on Cray with /opt/cray/craype/2.5.4/bin/cc

2017-01-05 Thread Xavier LACOSTE
Hello, I'm trying to build hwloc on a cray machine with cray compiler :/opt/cray/craype/2.5.4/bin/cc I get the following error : $> CC=cc ./configure --prefix=$PWD-cc-install $> make Making all in src make[1]: Entering directory `/home/j0306818/xavier/hwloc-1.11.5/src' CC bitmap.lo CC-1