LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: halilibrahimcakir_at_[hidden]
Date: 2012-02-02 14:53:24


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