my_pe(3I)
_my_pe, MY_PE - Returns the processing element (PE) number of the calling PE
As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.
NAME _my_pe, MY_PE - Returns the processing element (PE) number of the calling PE SYNOPSIS C/C++: #include <intrinsics.h> int _my_pe (void); Fortran: I= MY_PE () STANDARDS C/C++ extension Fortran extension 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 On IRIX systems, this function is supported as part of the Message Passing Toolkit, and it is supported as an external function. MY_PE is an inquiry function. The name of this intrinsic cannot be passed as an argument. SEE ALSO sysconf(2)