LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   cluster setup in centos 5.2 using (mpich2) (https://www.linuxquestions.org/questions/linux-server-73/cluster-setup-in-centos-5-2-using-mpich2-711758/)

santosh.chini 03-15-2009 11:29 AM

cluster setup in centos 5.2 using (mpich2)
 
hello guys, this is 3rd thread related to same issue. but no one replied, now i am tring last chance to someone would help...

Actually i am design parallel computation using beowulf clustering concept, the software i am using 'mpich2'.i have 10 computer, for instance i trying for 2 computer, 1 mater(chipwarequantum) and other 2 node(node1). now i did whatever is available on net i tried those steps but its not working
but when i tried this it works

[santosh@chipwarequantum]$ mpirun -np 1 a.out
Process 0 of 1 on chipwarequantum
pi is approximately 3.1415926544231341, Error is 0.0000000008333410
wall clock time = 0.000618


[santosh@chipwarequantum]$ mpirun -np 2 a.out
p0_21125: (64.955735) Procgroup:
p0_21125: (64.955789) entry 0: chipwarequantum 0 0 /home/santosh/mpich-1.2.7p1/examples/basic/a.out santosh
p0_21125: (64.955804) entry 1: localhost.localdomain 1 1 /home/santosh/mpich-1.2.7p1/examples/basic/a.out santosh
p0_21125: p4_error: Could not gethostbyname for host chipwarequantum; may be invalid name
: 65



setting for this cluster

vi mpich-1.2.7p1/util/machines/machines.LINUX

# Change this file to contain the machines that you want to use
# to run MPI jobs on. The format is one host name per line, with either
# hostname
# or
# hostname:n
# where n is the number of processors in an SMP. The hostname should
# be the same as the result from the command "hostname"
chipwarequantum
santosh@node1




network setting
static ip address 190.160.10.10
subnet : 255.255.255.0
gateway: 190.160.10.1 (netgear router address)
__________________________________________________---
hostname : chipwarequantum
primary dns: 190.160.10.1
_________________________________________________----


please anybody help me in i waiting for long daysssssss ,,... :(






~
~
~
~
~
~
~
~
~


All times are GMT -5. The time now is 05:23 PM.