Abdullah Umut Hamzaoğulları
Bora Toprak Temir
-
Dependencies:
- Ensure Python 3.x is installed on your system.
- Required libraries include
mpi4py
. Install them using:pip install mpi4py
-
Compilation:
- No compilation is required as the project is implemented in Python.
-
Execution:
- To run the main script, use the following command:
Replace
mpiexec -n [P] python main.py <input.txt> <output.txt>
[P]
with the number of processes you wish to use.
- To run the main script, use the following command:
-
Testing:
- Ensure the input file is correctly formatted and placed in the appropriate directory.
- Outputs will be saved in the specified output file.
- There are no known issues in the current implementation.
- The grid size
$N$ is divisible by$\sqrt{P - 1}$ , where$P$ is the total number of processes. - The input file format is valid and adheres to the specifications provided in the project description.
- The execution environment has sufficient computational resources to handle the simulation.
main.py
: The main program file containing the implementation.- Input File: Should be formatted as specified in the project description.
- Output File: Contains the final results of the simulation.
- The program uses MPI for parallel computation. Ensure
mpiexec
is installed and configured in your environment. - The communication model avoids deadlocks and ensures proper synchronization between processes.