Thanks I could get the linkspeed when i tried with root user.
But is there no other way? And what is the reason behind this limitation?

Thanks & Regards,
Tejaswi K

On 13-Oct-2017 2:30 PM, "Samuel Thibault" <samuel.thiba...@inria.fr> wrote:

Hello,

TEJASWI k, on ven. 13 oct. 2017 14:23:00 +0530, wrote:
> All the other details I am able to query but linkspeed (pciObj->attr->
> bridge.upstream.pci.linkspeed) is always 0.
> Do I need to enable any other flag to get linkspeed or am I going wrong
> somewhere?

You need to run as root for hwloc to be able to read the linkspeed from
Linux.

Samuel
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users

Reply via email to