
The MultiProcessor Simulator / Experimental Version 1.0

by Fe'lix E. Quevedo Stuva

Mesh Matrix Multiplication

This example uses the interprocess communication feature, simulating a Mesh 
network. The basic algorithm was taken from Alk [1989] page 179.

The host program setups by loading the processor program and sending the 
matrix dimension as messages. Then prepares data and sends the elements as
describe in the algorithm as messages of type 1 (horizontal) and type 2
(vertical). Finally it waits for the results at each processor.

The processor program after setup, waits for messages type 1 and 2. Once 
received it operates the multiplication. After the given number of 
operations, it sends to the host as a message of type 3.

The output attached shows the results of multiplying two matrices and
status of the processor after the execution.
