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
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to