Question: For the first project about distributed memory programming, you are going to implement a parallel Matrix - Vector Multiplication using MPI. We expect you to
For the first project about distributed memory programming, you are going to implement a parallel MatrixVector Multiplication using MPI.
We expect you to use Matrix Market Format for your matrices. The format is explained here.
There are several resources for finding test matrices. You can use SuiteSparse Matrix Collection recommended Matrix Market and any other resources.
You need to multiply a matrix A with a vector to obtain the result as vector Since we only have A matrices ready but don't have vectors, we will be using the first row of each Matrix as vector
& The Matrix must be read in by master processprocess and also the vector must be prepared by process as well.
After the computation is done the result must be printed to a text file by process Please print each entry of the vector to a separate line.
The algorithm is defined in lecture notes called "DistributedMemoryProgrammingWithMPIPart on pages and There are several other resources in internet that explain this algorithm.
You are also given Python implementation for testing purposes which can be found here together with some test matrices.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
