<hjin@nas.nasa.gov>
The Shared-Memory Parallelization Library (SMPlib) is designed
for parallel processing on a shared memory machine.
The concept was derived from MLPlib [1] developed by James Taft,
but with extended functionality and syntax.
The SMPlib routines are implemented with the standard Unix fork,
mmap and flock (or more efficient atomic operation if available).
The Application Programming Interface (API) of the library has been defined
for both C and Fortran and is compatible with 32-bit and 64-bit
hardware architectures.
An overview of SMPlib and its comparison with other programming paradigms
is given in [2].
This document summarizes the SMPlib v2.5 API.
A pdf version of this document is available
(here, 98KB).