IntelĀ® Trace Collector User and Reference Guide
int VT_getrank(int * rank)
Gets process index (same as MPI rank within MPI_COMM_WORLD).
This number is not unique in applications with dynamic process spawning.
VTGETRANK(rank, ierr)
| rank | stores process index |
Returns error code