Message Passing Interface using Microsoft MPI and mpi4py library.
Please read project description for detailed information.
-
Install Python and add its executable to the PATH.
-
Install MPI from microsoft and add its executable to the PATH.
-
Libraries:
- Install numpy with pip install numpy
- Install mpi4py with pip install mpi4py
-
Command:
-
execute the following command in the same directory with code files and your input file
-
mpiexec -n 1 python master.py input.txt output.txt
-
-
note that you may need to change the name of the input.txt based on your file name.