Thank you sir, MPICH2 was indeed installed successfully.
*When I compiled and ran a simple mpi program i got the following output
[root@vlsi112 ~]# mpiexec -n 4 /root/hello_world_mpi
Hello World from Node 0
Hello World from Node 1
Hello World from Node 2
Hello World from Node 3
*But when I tried to use two nodes (
[email protected] and
[email protected]) it gave the following errors
[root@vlsi112 ~]# mpiexec -n 8 -machinefile /root/machines_mpi /root/hello_world_mpi
Fatal error in MPI_Init: Other MPI error, error stack:
MPIR_Init_thread(392)..............:
MPID_Init(139).....................: channel initialization failed
MPIDI_CH3_Init(38).................:
MPID_nem_init(234).................:
MPID_nem_tcp_init(108).............:
MPID_nem_tcp_get_business_card(346):
MPID_nem_tcp_init(305).............: gethostbyname failed,
[email protected] (errno 1)
*I have configured such that I can ssh one node from other without password.
I have also updated /etc/hosts in both nodes to include the hostnames and domainnames of the two nodes.
I have allowed 41000 to 41023 ports in the firewall and configured mpi to use them.
the file /root/machines_mpi contains only this line:
[email protected]