my_pe(3I)
_my_pe, MY_PE - Returns the processing element (PE) number of the calling PE
As shipped in IRIX 6.5.19. Added in IRIX 6.5.19.
NAME _my_pe, MY_PE - Returns the processing element (PE) number of the calling PE SYNOPSIS C/C++: #include <mpp/shmem.h> int _my_pe (void); Fortran: I= MY_PE () STANDARDS C/C++: Extension Fortran: CF90 compiler extension to Fortran 95 DESCRIPTION This function returns the processing element (PE) number of the calling PE. It accepts no arguments. The result is an integer between 0 and npes - 1, where npes is the total number of PEs executing the current program. NOTES C/C++ Because _my_pe is an intrinsic function, no externally visible library function is available for it. The compiler generates inline code to produce the result. Fortran This function is supported as part of the Message Passing Toolkit, and as an external function. MY_PE is an inquiry function. The name of this intrinsic cannot be passed as an argument.