I made a clustercomputer for a school project. Only i am having some problems with making a code that uses all eight Raspberry pi's.
https://www.instructables.com/id/How-to-Make-a-Raspberry-Pi-SuperComputer/ This is the base i used to make it. running:
mpiexec -f machinefile -n 8 hostname
output: all the hostnames of the Pi's. the machinefile contains all the IP's of the Pi's. Running a program:
mpiexec -f machinefile -n 8 python test.py
output: It just runs the program seperatly on all Pi's.
How can i make a code or a command that makes the Pi's split the load of the program?
My goal is to have all 8 Pi's working together but not doing the same calculations and thereby speeding the proces up significantly.