C programs that use the HPVM implementation of SHMEM should
#include <shmem.h>, and Fortran programs that use the HPVM
implementation of SHMEM should
include 'shmem.fh'. All programs
must be linked with `sma.lib' (Windows NT) or `libsma.a'
(Linux) and all the libraries listed in section Building and running FM programs. In addition, all programs must be linked with the
thread-safe version of the C or Fortran runtime libraries. The
`Makefile's included in the example directory show how this should
Before running an HPVM SHMEM program, the FM environment variables listed in section Building and running FM programs, must be set. Then, start the program on each node with the command-line arguments -np #-of-processes and -key some-key-name. Note that all processes that are part of the same run of a program must specify the same values for -np and -key. After all nodes are started, they will synchronize and the program will begin to execute.
Go to the first, previous, next, last section, table of contents.