Closed shankerr closed 2 years ago
what is progress ...?
Ran in multiple PIs and worked. Very slow since I was not able to get Numba in the PIs and had to use the regular version, but it works just fine despite taking a long time. I was not sure if I should document the process, but then realized that running a script on multiple hosts is already detailed here https://github.com/cloudmesh/cloudmesh-mpi/blob/main/doc/chapters/report-mpi.md#running-mpi-on-multiple-computers
please put runtime into documenation so that others know how long it will take
Added a paragraph documenting execution on multiple hosts with PI cluster. Can be found right before the numba section here: https://github.com/cloudmesh/cloudmesh-mpi/blob/main/doc/chapters/report-mpi.md#numba
Is the parallel use case documented?
I added this blurb about the parallel use case. It is at the end of the section. (Not sure why the link will not work even for me) I am copying it here:
"Additionally, we can run this program on multiple hosts. For instance, you can use a machinefile or rankfile to execute the program on a PI cluster. Be advised, however, that we do not use numba on RaspberryOS, hence the execution of the program can take a relatively long time. For a reference, running `mpiexec -n 7 --machinefile machinefile ... parallel_pi.py" on a PI cluster consisting of a manager PI4 and six PI3 workers took around 40 minutes."
That's all I did, since all the task said was "figure out how to run on multiple hosts." Would you like me to add a step-by-step documentation?
https://github.com/cloudmesh/cloudmesh-mpi/blob/main/doc/chapters/report-mpi.md#running-monte-carlo-on-multiple-hosts