Changes between Version 2 and Version 3 of MPICH2_Install


Ignore:
Timestamp:
Mar 6, 2008, 11:56:25 AM (16 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MPICH2_Install

    v2 v3  
    5252root@client-01:~/mpich2-1.0.7rc1# make install
    5353}}}
     54
     55 * '''Step 3''' : Check if the Installation is Successful
     56  * Try these commands to see if the mpich2 have been installed correctly.
     57{{{
     58root@client-01:~/mpich2-1.0.7rc1# which mpd
     59/usr/local/bin/mpd
     60root@client-01:~/mpich2-1.0.7rc1# which mpicc
     61/usr/local/bin/mpicc
     62root@client-01:~/mpich2-1.0.7rc1# which mpiexec
     63/usr/local/bin/mpiexec
     64root@client-01:~/mpich2-1.0.7rc1# which mpirun
     65/usr/local/bin/mpirun
     66}}}
     67  * If there is nothing showed on the screen when enter ''which xxxx'', you probably need to set your environment variables.
     68{{{
     69root@client-01:~/mpich2-1.0.7rc1# export PATH="$PATH:/opt/mpich2/bin"
     70}}}
     71
     72 * '''Step 4''' : Add New Configuration Files
     73  * Add ''mpd.host file'', you could put it anywhere in your system.
     74{{{
     75root@client-01:~/mpich2-1.0.7rc1# touch mpd.hosts
     76root@client-01:~/mpich2-1.0.7rc1# cat > mpd.hosts << "EOF"
     77> client-01
     78> client-02
     79> client-03
     80> EOF
     81}}}
     82  * Check if the content in mpd.hosts is correct.
     83{{{
     84root@client-01:~/mpich2-1.0.7rc1# cat mpd.hosts
     85client-01
     86client-02
     87client-03
     88}}}
     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.
     92{{{
     93root@client-01:~/mpich2-1.0.7rc1# touch /etc/mpd.conf
     94root@client-01:~/mpich2-1.0.7rc1# cat > /etc/mpd.conf << "EOF"
     95> secretword=this_is_password
     96> EOF
     97}}}
     98  * Change the file properties to 600 for security consideration.
     99{{{
     100root@client-01:~/mpich2-1.0.7rc1# chmod 600 /etc/mpd.conf
     101}}}
     102
     103
    54104----