|
MPIWhat is MPI?MPI(Message Passing Interface) is a thread-safe standard library (for C or Fortran) that allow your application's multiple processes to communicate. It is good for parallel machines, especially those with distributed memory, such as the AlphaServer ES40s in use at the ASCC, which each have 4 processors.
Do I need to use MPI?Only if you need to coordinate a program running as multiple processes on one of the Alphaserver ES40s (such as Taurus, Aries, etc).
You need to use the appropriate include files and libraries in your make process in
order to compile MPI programs.
To compile C programs, follow these steps:
Include the header file in all of your source code files that use MPI functions:
include <mpi.h>
This include file is installed in the standard location under /usr/include and
does not need additional compiler directives.
To make, you must include the library with -lmpi in your link command, e.g.
Internal Links
External Links |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||