[mpich-discuss] mpdboot

Michael Ahlmann mahlmann at ucdavis.edu
Thu Apr 3 00:08:39 CDT 2008


Hisham,
   Have you confirmed that you can ssh into all nodes without the use of 
a password?  If not, try...

ssh rania

   If it prompts you for a password, you are not quite ready to start 
running parallel jobs.  You must use the following (on your head node)...

ssh-keygen -t dsa

  When prompted for a password, leave it blank.  Then take the public 
key and add it to the list of authorized keys on your second node 
(rania).  This can be done using an scp to copy the file id_dsa.pub from 
your head node (should be in your home directory under .ssh) to your 
home directory on the compute node.  Then on your compute node...

touch .ssh/authorized_keys
cat id_dsa.pub >> .ssh/authorized_keys
chmod 400 .ssh/authorized_keys

Hope this helps,

-Michael


Hisham Adel wrote:
> Hi
>
> I am using MPICH2 on two nodes.
> when I write in the terminal
>
> "hisham at hisham:~> mpdboot -n 2 -f mpd.hosts".
>
> to run mpd on all nodes it ask me for password....
> when i enter my password it don't accept it also when i enter the 
> password of the other node it dont accept it...
> where mpd.hosts contains "rania"."rania" is the other node.
>
> what is the problem ?
>
> hisham at hisham:~> mpdboot -n 2 -f mpd.hosts
> Password:
> Password:
> Password:
> mpdboot_hisham (handle_mpd_output 399): from mpd on rania, invalid 
> port info:
>
>
>
>
>
>
> Hisham Adel Hassan
>
> ------------------------------------------------------------------------
> You rock. That's why Blockbuster's offering you one month of 
> Blockbuster Total Access 
> <http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com>, 
> No Cost. 




More information about the mpich-discuss mailing list