akifislam / PP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallel Processing & Distributed System

Akif Islam
Department of CSE, University of Rajshahi,
Email: iamakifislam@gmail.com

Matrix Multiplication with MPI

For two matrices, A (400x500) and B (500x300), the multiplication operation performed 500 times. The below is the result of execution time by using various processors.

1 Processor --> 89.54 seconds

mpiexec -np 1 ./MPI_Matrix_Multiplication 500 400 500 300

4 Processors --> 27.62 seconds

mpiexec -np 4 ./MPI_Matrix_Multiplication 500 400 500 300

10 Processors --> 16.58 seconds

mpiexec -np 10 ./MPI_Matrix_Multiplication 500 400 500 300

About


Languages

Language:C++ 52.6%Language:C 40.7%Language:Python 6.7%