Quick Start

  1. Installation
    ./configure --prefix=/your/oshmpi/inst/path CC=/path/to/mpicc
    make
    make install
    
  2. 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
    
  3. 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.