I think you are mixing hwloc libraries here. CPUType was removed a while ago (except on Solaris). And CPUVendor was widely added later. My feeling is that your lstopo uses a recent libhwloc while your test program uses an old one. Brice
Le 05/01/2017 15:16, Xavier LACOSTE a écrit : > Hello Samuel, > > With my test I get : > CPU_Vendor : (null) > Socket : CPUModel="Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz" | CPUType=x86_64 > > Meanwhile, the CPUVendor Field is in the generated xml. > > XL. > > -----Message d'origine----- > De : Samuel Thibault [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 +0000, 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 > > > _______________________________________________ > hwloc-users mailing list > hwloc-users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users
_______________________________________________ hwloc-users mailing list hwloc-users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users