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.
- Extract the package
gunzip zxvf ompi-X.Y.Z.tar.gz
- Configure the package (see below for advanced configuration options)
- Compile and install the package
make make install
- Make sure
‹install-dir›/binis in your PATH
For information about the configure script, see INSTALL in the bundled documentation.
ompicc [options] files.c
ompicc -o executable file1.c file2.c
- 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.