Cray OpenSHMEMX
Cray OpenSHMEMX is a Remote Memory Access (RMA) library. It is a proprietary software implementation of the OpenSHMEM standards specification and released as part of the Cray Programming Environment software package. The Cray OpenSHMEMX software stack is available as a standard compliant software package on different architectures of HPE supercomputer systems. https://cpe.ext.hpe.com/docs/mpt/openshmemx/index.html
OpenSHMEMX example program:
/* OpenSHMEM hello world example */
#include <stdio.h>
#include <shmem.h>
int main(void)
{
shmem_init();
int me = shmem_my_pe();
int npes = shmem_n_pes();
printf("Hello World from PE #%d of %d\n", me, npes);
shmem_finalize();
return 0;
}
Compiling the OpenSHMEMX application:
module load cray-pmi
module load cray-dsmml
module load cray-openshmemx
cc -dynamic openshm.c
More information https://cray-openshmemx.readthedocs.io/en/latest