|
This section takes you through the steps of compiling and linking in C++. Currently only the GNU Compiler
Collection versions 2.95 and above for Linux are supported.
This section shows you how to compile csWMPI C++ applications using gcc:
- Include the file: mpi.h
- Link with the libraries csWMPI
In order to link with the csWMPI library add the following switch:
-lcsWMPI
Example:
gcc -o myapp myapp.cpp -lcsWMPI
|