kwlii
Posts: 12
Joined: Wed May 31, 2017 10:31 pm

Cluster setup working over wlan0 but not eth0

Sun Jul 26, 2020 4:07 am

I followed the instructions for setting up a cluster at the following site.

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
But I get the following results from the eithernet switch ip addresses which i set in the managed switch i am using 192.168.0.* versus the wifi router addresses which is 192.168.1.*

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
Seems like my 3rd node which is a pi 3b+ isn't connected to the switch, but I can ping it, and the other 2 work. Perhaps something wrong with the ether net socket because I see the yellow light, but no green light like is see on my 4b's

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
If it is the ethernet socket, "no green light", where might i find a troubleshooting spot for that?

Thanks in advance.

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Cluster setup working over wlan0 but not eth0

Sun Jul 26, 2020 8:31 am

kwlii wrote:
Sun Jul 26, 2020 4:07 am
If it is the ethernet socket, "no green light", where might i find a troubleshooting spot for that?
You won't because that is normal when a 3B+ is connected at 1000Mb/s
Unreadable squiggle

kwlii
Posts: 12
Joined: Wed May 31, 2017 10:31 pm

Re: Cluster setup working over wlan0 but not eth0

Sun Jul 26, 2020 12:52 pm

I read that 3b+ could only use 100 mb, so I need to set the port on the switch. I am trying to figure out how to do that now on my GS105E.
Thanks

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Cluster setup working over wlan0 but not eth0

Sun Jul 26, 2020 1:32 pm

You'll only get a maximum throughput of about 400Mb/s on a Pi 3B+ due to the limitations of the USB2 bus, but it will connect at a link speed of 1000Mb/s.

I use GS108 and GS116 switches and have no problems with them.
Unreadable squiggle

Return to “Troubleshooting”