This document is relevant for: Trn2, Trn3

nki.collectives.rank_id#

nki.collectives.rank_id()[source]#

Get the rank ID of the current rank.

Returns:

The rank ID of the current rank within the collective group

This document is relevant for: Trn2, Trn3