Quick Start
-
Installation
./configure --prefix=/your/oshmpi/inst/path CC=/path/to/mpicc make make install
-
Compile an OpenSHMEM Program
/your/oshmpi/inst/path/bin/oshcc -o test test.c
Or
/your/oshmpi/inst/path/bin/oshc++ -o test test.cpp
-
Execution
Example: running OpenSHMEM program with 2 PEs using mpiexec.
/path/to/mpiexec -np 2 ./test
For more information about the mpiexec command, please check the MPI library’s documentation.