Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

allenvox/mpi-inverse-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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