get_rank_id

功能描述

返回当前进程在MPI通信中的序号。

函数原型

1
def get_rank_id()

返回值说明

使用示例

1
2
from mx_rec.util.communication.hccl_ops import get_rank_id
rank_id = get_rank_id()