Time for our first cluster operation. From node1 (10.0.0.1),
issue the following command:
mpiexec -n 4 --host 10.0.0.1,10.0.0.2,10.0.0.2,10.0.0.4
hostname
>
We’re asking the master supervisor process, mpiexec, to start
four processes (-n 4), one on each host. If you’re not using four
hosts, or are using different IP addresses, you’ll need to change
this as needed. The command hostname just echoes the node’s name,
so if all is well, you’ll get a list of the four members of the
cluster. You’ve just done a bit of parallel computing!
2 Comments
So, the ethernet switch that the four Pis are connected to is not hardwired or connected in any manner to your exiting LAN, correct?
ReplyDeleteThe, the only way to talk to them from your remote computer on the LAN is through wireless, correct?
Note: Under the heading "Let's get together" the mpiexec command has the 10.0.0.2 address listed twice instead of 10.0.0.3.
I was unable to get any of the links under the heading "You'll need" to work.
ReplyDelete