Transferring the code
The next step is to transfer your codes from the main PC to the master Pi2 or Pi3, after which you will again compile and run the codes, much like you did earlier. But before we proceed, you need to ascertain the IP address of the master Pi2 or Pi3. Go ahead and enter the ifconfig
command, in the Pi terminal window (see the following screenshot):
IP address
Note
The author's Pi2 IP address is 192.168.0.9
(see the second line of the displayed text). The MAC address is b8:27:eb:81:e5:7d
(see the first line of the displayed text), and the net mask address is 255.255.255.0
. Write down these numbers, as they will be needed later when ...
Get Build Supercomputers with Raspberry Pi 3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.