How do I add nodes to my Rasperrby Pi?

Taylor B March 21, 2014
Whatsapp Pinterest

I’m trying to add nodes too my Raspberry Pi and I thought I did everything right but when I run a test:

$ mpiexec -f machinefile -n 2 ~/mpich_build/examples/cpi

I get a error:

ssh_askpass: exec{/usr/bin/ssh-askpass}: no such file or directory

I can ssh pi@ and log into it with the password I made so that seems to be working but the test fails and I don’t know why. Anyone know?

  1. Jeff F
    March 22, 2014 at 4:01 am

    You must pass the machinefile to both mpdboot and mpiexec.

    Also, when you do a ssh-keygen -t rsa, try not entering a passphrase at all. Lastly, ensure that you're compiling for the correct operating and architecture and that the file and directory is set with exec+read+write permissions.