mgonline
Posts: 5
Joined: Tue Mar 06, 2018 5:35 pm

Connecting two raspberry

Fri Mar 09, 2018 9:56 pm

Goodmorning guys... I have a problem with my two raspberry that i have connected.

I downloaded mpich that i have compiled and installed without problems and all work like a charm.

I have correctly set all the parameters to use ssh but when i go to launch the pyton test the connection between two raspberry i get this results:
Image

Can anyone help me?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Connecting two raspberry

Fri Mar 09, 2018 10:49 pm

Have you stored the public keys (made with ssh-keygen) in ~/.ssh/authorized_keys on each node of your cluster?

ssh-copy-id pi@node1
Run for each ID on each node to copy to all other nodes will do that.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mgonline
Posts: 5
Joined: Tue Mar 06, 2018 5:35 pm

Re: Connecting two raspberry

Sat Mar 10, 2018 6:45 pm

TY bro the problem was that I had not stored the access key even on the raspberry master.

Now... My cluster work and i tested the system with small python script like hello world or similar.

But if i want use mpich for run compiled programs?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Connecting two raspberry

Sat Mar 10, 2018 7:44 pm

At least one of Dr. Google's results at: https://www.google.co.uk/search?q=mpich+raspberry should explain that for you. My playtime with mpich didn't get much further than running a script (stored on a shared drive) on about four of my Raspberries.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”