mirror of
https://github.com/RustyRaptor/parallel-programming.git
synced 2026-12-05 00:25:16 -07:00
README
usage
- Open your terminal and navigate to the directory containing the Makefile.
- To compile the program, use the command:
make - To run the program across multiple nodes, use the command:
make run - To clean up the compiled files after you're done, use the command:
make clean
using the python script to setup hosts
- Open your terminal and navigate to the directory containing the
setup_remotes.pyscript. - Ensure you have the
paramikolibrary installed. If not, install it using pip:pip install paramiko - Run the script with the following command:
python setup_remotes.py <hostsfile> <your-username> <your-password>
using the other python script to check if the hosts have mpi
- it will output the hosts that have it to a new file
python check_mpicc host_file username password output_file- this also depends on
paramiko