[openib-general] Connectivity

Sean Hefty mshefty at ichips.intel.com
Thu Sep 1 13:45:53 PDT 2005


Sean Hubbell wrote:
> 1) How does one find out what the LID is for a given node and is LID 0 
> the localhost LID?

Easiest way is to look in /sys/class/infiniband/mthca0/ports/1/lid.  The actual 
path may vary based on your system config.  To do it programmatically, you'll 
need to perform SA queries.

> 2) How does one find out what the guid is for a given node?

cat /sys/class/infiniband/mthca0/node_guid

- Sean



More information about the general mailing list