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/2.5.4
yé : 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 available
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,
;
>
>
> 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
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