Skip to content

Repository files navigation

Compile with:
`make all`

Start standard FloodMax algorithm locally with:
`mpiexec -n <number_of_processes> ./FloodMax`
or on the cluster
`srun -n <number_of_processes> --mpi=pmi2 ./FloodMax`

Start the optimized FloodMax algorithm locally with:
`mpiexec -n <number_of_processes> ./OptFloodMax`
or on the cluster
`srun -n <number_of_processes> --mpi=pmi2 ./OptFloodMax`

For both algorithms, each process will output whether it is the leader or not.
Finally, the elected leader will output the total number of messages sent.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages