/mpi-inverse-matrix

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

Primary LanguageC++Apache License 2.0Apache-2.0

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