Here you can find short installation and usage guides, as well as some documents about OMPi internals. More documentation is provided within the source distribution, found in our download page.
Quick Installation Guide
- Extract the package
gunzip zxvf ompi-X.Y.Z.tar.gz
- Configure the package (see below for advanced configuration options)
./configure --prefix=‹install-dir›
- Compile and install the package
make make install
- Make sure
‹install-dir›/bin
is in your PATH
For information about the configure script, see INSTALL in the bundled documentation.
Quick Usage Guide
Usage: ompicc [options] files.c
Example:
ompicc -o executable file1.c file2.c
Basic options:
- all (g)cc flags
-k
: the generated (transformed) file is kept after compilation-K
: all intermediate generated files are kept after compilation-v
: be verbose (shows all steps of the translation process)--options
: show all available options (see below for some of them)
Don’t forget to consult the implementation-specific OpenMP behaviors which are bundled with the OMPi source code package.