Well, you asked for two processes, and your hostfile indicates that we can run two procs on each machine. So we put those two procs on the first machine, leaving nothing for the second machine to do.
If you want the procs on different machines, then add -bynode to the cmd line. This will put one proc on each node, and cycle around all the nodes until all procs are placed.
On Oct 18, 2011, at 9:16 PM, ganalekshmi guruparan wrote:
> We are running an application on two PowerPC nodes using MPI.Dropbear is being used for SSH connection between two nodes.But when mpirun is given from one node it is not being reflected on the other node.SSH is working and password verifcation and acknowledgment from the other node is correct.But the program runs only on one node.What could be the solution?
> The command given was
> mpirun -np 2 -hostfile /myhostfile ./app
> <ip1> slots=2
> <ip2> slots=2
> Please help
> users mailing list