https://raspberrytips.com/raspberry-pi-cluster/
I can get my command to work when using nodesips that are set for my pi's nodes that are on my wifi network, but I cannot get it to work when i use the ip addresses for the ethernet switch i have them all connected to.
Here my command works because my nodesips file has the wifi ip addresses.
Code: Select all
$/opt/mpi/bin/mpiexec -f nodesips -n 3 python test.py
Hello from lzonepi4b1
Hello from lzonepi3bp1
Hello from lzonepi4b2
Code: Select all
$/opt/mpi/bin/mpiexec -f nodesips -n 3 python test.py
Hello from lzonepi4b1
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Host key verification failed.
Hello from lzonepi4b2
Code: Select all
$ ping 192.168.0.203
PING 192.168.0.203 (192.168.0.203) 56(84) bytes of data.
64 bytes from 192.168.0.203: icmp_seq=1 ttl=64 time=0.347 ms
64 bytes from 192.168.0.203: icmp_seq=2 ttl=64 time=0.285 ms
64 bytes from 192.168.0.203: icmp_seq=3 ttl=64 time=0.324 ms
64 bytes from 192.168.0.203: icmp_seq=4 ttl=64 time=0.292 ms
Thanks in advance.