Changes between Initial Version and Version 1 of MPICH2_Install


Ignore:
Timestamp:
Mar 6, 2008, 10:08:55 AM (16 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MPICH2_Install

    v1 v1  
     1== Intall mpich2 ==
     2=== 1. Testbed Introduction ===
     3 * VMware Workstation 5.0
     4 * Create three nodes, client-01 ~ client-03, all with 5GB HD and 128MB memory.
     5 * The OS on these 3 nodes is Ubuntu-7.10-server
     6 * hostname and IP are:
     7  * client-01 192.168.180.131
     8  * client-02 192.168.180.132
     9  * client-03 192.168.180.133
     10=== 2. Getting Start to intall mpich2 ===
     11 * '''Step 1''' : Modify /etc/hosts
     12  * Assume that we got 3 machines in our testbed, now we have to edit /etc/hosts on each node.[[BR]]
     13    Here is the example of client-01. So does the other two nodes.
     14{{{
     15root@client-01:~# cat > /etc/hosts << "EOF"
     16> 127.0.0.1 localhost
     17> 192.168.180.131 client-01
     18> 192.168.180.132 client-02
     19> 192.168.180.133 client-03
     20> EOF
     21root@client-01:~# cat /etc/hosts
     22127.0.0.1 localhost
     23192.168.180.131 client-01
     24192.168.180.132 client-02
     25192.168.180.133 client-03
     26}}}
     27  * Notice that if there is __127.0.0.1 client-01__ in /etc/hosts, it must be deleted.
     28
     29 * '''Step 2''' : Download and Install mpich2
     30  * We use mpcich2-1.0.7rc1 for example.
     31{{{
     32root@client-01:~# wget http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/mpich2-1.0.7rc1.tar.gz
     33root@client-01:~# sudo tar -zxvf mpich2-1.0.7rc1.tar.gz
     34cd mpich2-1.0.7rc1/
     35}}}
     36  * You could choose the install location as you wish, but all the nodes must have the same install location!! [[BR]]
     37    We use ''/opt/mpich2'' here for example.
     38{{{
     39root@client-01:~/mpich2-1.0.7rc1# ./configure preifx=/opt/mpich2
     40}}}
     41   * If there are errors when configuring mpich2, you may need some packages or libraries such as c/c++ compiler.[[BR]]
     42     Try this :
     43{{{
     44root@client-01:~/mpich2-1.0.7rc1# apt-get install build-essential
     45}}}
     46  * compile and install
     47{{{
     48root@client-01:~/mpich2-1.0.7rc1# make
     49root@client-01:~/mpich2-1.0.7rc1# make install
     50}}}
     51----