/Consensus-Problem-Using-MPI

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

Primary LanguageC++

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