allenvox / mpi-inverse-matrix

MPI C++ program to find inverse matrix using Gaussian method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ MPI Inverse Matrix program

❗ Make sure you have a working MPI builder & executer (check by running mpicxx & mpiexec in terminal) ❗

Build: make
Run: mpiexec bin/main <N>

(remember that matrix' size is N x N)

Notes

Biggest issue (unsolved): The program is only working successfully with matrix size that is a multiple of the number of processes

Examples:
if you have 2 processes, you can calculate inverse of a matrix for only even N
if you have 4 processes, you can successfully run program only with N that is divisible by 4
... and so on

About

MPI C++ program to find inverse matrix using Gaussian method

License:Apache License 2.0


Languages

Language:C++ 77.7%Language:Python 18.4%Language:Makefile 3.3%Language:Shell 0.6%