An open API service indexing awesome lists of open source software.

https://github.com/sameetasadullah/consensus-problem-using-mpi

Program coded in C++ language to solve the consensus problem between multiple threads using MPI
https://github.com/sameetasadullah/consensus-problem-using-mpi

consensus-problem cpp linux mpi mpi-parallelization ubuntu

Last synced: 11 months ago
JSON representation

Program coded in C++ language to solve the consensus problem between multiple threads using MPI

Awesome Lists containing this project

README

          

Consensus Problem using MPI

### Description
Program coded in `C++ language` to solve the `Consensus Problem` between `Multiple Threads` using `MPI`.

### Manual
1) Use following command to `Compile the Code`:
```
mpic++ main.cpp -o main
```

2) Use following commands to `Execute the Code`. Here 5 represents total number of processes to create:
```
mpiexec -n 5 -f machinefile ./main
```

### Working Screenshot