Skip to content

writzx/mpi_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUNNING THE PROGRAM

mpiexec -n <total ranks> ./mpi_test <total rows> <total cols> [<input file>]

The <input file> is an optional argument. If it's omitted, the input is taken from stdin.

Example

mpiexec -n 10 ./mpi_test 300 200 input.txt

or

mpiexec -n 10 ./mpi_test 300 200

Example commands

GET ROW 23
get aggr 95
exit

About

A simple MPI program written in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published