36 lines
1.6 KiB
Markdown
36 lines
1.6 KiB
Markdown
|
|
# MOC - MPI On Cell
|
|
|
|
|
|
The idea of this project is to implement a message passing library for work on the Cell BE.
|
|
The main idea behind such an implementation would be to help the programmer by adding an
|
|
layer of abstraction between the very low level libraries by IBM and give him the
|
|
possibility to work with an interface he is more familiar with. To achieve this we decided
|
|
to try to keep very closely to the standard provided by the Message Passing Interface (MPI),
|
|
so that programmers knowing how to write MPI programmers can easily work with our library.
|
|
Because of the very special nature of the Cell, it might not be possible to keep 100% true
|
|
to the standard, but we try to introduce changes only when absolutely necessary and of
|
|
great benefit, because of some specialties of the Cell's hardware.
|
|
|
|
For more information take a look into the documentation located in the directory 'document'.
|
|
|
|
|
|
|
|
## Basic Setup
|
|
|
|
To be able to compile this library at least Cell SDK 3.0 ( Cell SDK 3.1 would be better)
|
|
is needed. If the SDK is correctly installed, a simple 'make' should do the job (buildutils
|
|
provided by the Cell SDK is used).
|
|
If using Cell SDK 3.0 and the spu-timer-library is selected as time-source on the
|
|
SPU, the path to the header-files of the spu-timer-library has to be added. Just uncomment
|
|
the appropriate entry in src/spu/Makefile.
|
|
|
|
|
|
|
|
## Basic Usage
|
|
|
|
An application using this library has to add the moc_ppu-library and the spe2-library when
|
|
linking the PPU-executable.
|
|
To link the SPU-executable the moc_spu-library is needed and also the sputimer-library when
|
|
it is selected as time-source and Cell SDK 3.0 is used.
|