Changes between Version 3 and Version 4 of MPICH2_Install


Ignore:
Timestamp:
Mar 6, 2008, 4:29:49 PM (16 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MPICH2_Install

    v3 v4  
    7171
    7272 * '''Step 4''' : Add New Configuration Files
    73   * Add ''mpd.host file'', you could put it anywhere in your system.
     73  * Add ''mpd.host file'' on all the other nodes, you could put it anywhere in your system.
    7474{{{
    7575root@client-01:~/mpich2-1.0.7rc1# touch mpd.hosts
     
    8787client-03
    8888}}}
    89   * Add ''/etc/mpd.conf'', there is only one line in it.
    90    Notice that all the nodes must have the same password.
    91    We use "this_is_password" for example here.
     89  * Add ''/etc/mpd.conf'' on everynode, there is just one line.[[BR]]
     90   Notice that all the nodes must have the same password.[[BR]]
     91   We use "this_is_password" for example here.[[BR]]
    9292{{{
    9393root@client-01:~/mpich2-1.0.7rc1# touch /etc/mpd.conf
     
    100100root@client-01:~/mpich2-1.0.7rc1# chmod 600 /etc/mpd.conf
    101101}}}
    102 
     102 * '''Step 5''' : Modify SSH Connections
     103  * At first, you need to check if ssh have been installed on your machines.[[BR]]
     104    If not, you could try ''apt-get install ssh'' to install ssh.[[BR]]
     105    All nodes need to install ssh.[[BR]]
     106  * Second, now we are going to establish ssh connections between all nodes without entering password.[[BR]]
     107    Issue the following commands on '''ALL''' the other nodes.
     108{{{
     109root@client-01:~/mpich2-1.0.7rc1# ssh-keygen -t dsa
     110Generating public/private dsa key pair.
     111Enter file in which to save the key (/root/.ssh/id_dsa):
     112Created directory '/root/.ssh'.
     113Enter passphrase (empty for no passphrase):
     114Enter same passphrase again:
     115Your identification has been saved in /root/.ssh/id_dsa.
     116Your public key has been saved in /root/.ssh/id_dsa.pub.
     117The key fingerprint is:
     118d7:ad:ce:0f:e2:d8:16:3d:92:10:b8:b3:7f:7b:68:d9 root@client-01
     119root@client-01:~/mpich2-1.0.7rc1#
     120}}}
     121  * Just press enter when the system promoting the messages.
     122  * Copy id_dsa.pub and overwrite to ./authorized_keys
     123{{{
     124root@client-01:~/mpich2-1.0.7rc1# cd /root/.ssh/
     125root@client-01:~/.ssh# cp ./id_dsa.pub ./authorized_keys
     126}}}
     127  * Copy all files under /root/.ssh/ and overwrite the same directory on all nodes.
     128  * Establish ssh connections to all other nodes from node1(client-01).[[BR]]
     129    While connecting to the other nodes first time, you need to enter 'yes'.[[BR]]
     130    Since you will be automatically login as root to all the other nodes without typing any password.[[BR]]
     131    If any error occurs, just remove /root/.ssh/known_hosts, and re-ssh.
    103132
    104133----