your "hostfile" must include the names of the nodes like this:
node1
node2
...
and the ip address's of these nodes are included in /etc/hosts file:
10.0.1.1 node1
10.0.1.2 node2
...
finally, modify your command:
shell$ mpirun -np 4 -h hostfile my_parallel_application
----- Ãzgün İleti -----Kimden : spicy.sravan_at_gmail.comKime : "General LAM/MPI mailing list" <lam_at_[hidden]>Gönderme tarihi : 02 Åubat 2012 PerÅembe 15:57Konu : Re: LAM: Some questions regarding Linux and LAM/MPICan u PLEASE answer this specific question ..setting the following variables will do ?? PATH: LD_LIBRARY_PATHlike LAM/MPI has lamboot -hostfile command to boot the cluster  having IPs mentioned in hostfilehow do i do it on openMPI If i run shell$ mpirun -np 4 my_parallel_applicationhow will it run on 4 processors without knowing their IPs ...  (i am using ssh )  Thank youSravan Kumar.
Halil İbrahim ÃAKIR
Dumlupınar Ãniversitesi Bilgisayar MühendisliÄi
http://cakirhal.blogspot.com
|