Called at the beginning of a program to enable the use of IBM openshmem library.
#include <shmem.h> void shmem_init(void);
The function shmem_init initialises the Shmem library.
The shmem_init call must me made before any other Shmem library calls. The function shmem_init should only be called once for each process.
#include <shmem.h> int main(int argc, char *argv[]) { shmem_init(void); }
Subroutines: num_pes, my_pe