PVM Matrix Multiplication Example

This directory contains the following files: The code does the following: mm_master.c is the administrator for matrix multiplication
a * b=c, where the matrix a is stored in mm_master.c, and the matrix b is defined in mm_slave.c. mm_master.c send rows of matrix a to mm_slave.c, which multiplies it by a column of matrix b and returns an entry for the matrix c.

To run this example, copy the above files into your $HOME/pvm3 subdirectory. Then type

aimk mm_master mm_slave

Once compiled & linked successfully, the code is ready to run using pvm or xpvm.

http://math.arizona.edu/~swig/documentation/pvm/matrix_mult/index.php
Last modified: Fri, 14 Dec 2007 15:50:52 -0700
E-mail: swig@math.arizona.edu
Valid XHTML 1.0! Valid CSS!