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