Re: [OMPI users] Machinefile option in opempi-1.3.2

2009-06-20 Thread Rajesh Sudarsan
Thanks Ralph. It worked. Regards, Rajesh On Sat, Jun 20, 2009 at 10:28 AM, Ralph Castain wrote: > Ah, yes - that is definitely true. What you need to use is the "seq" (for > "sequential") mapper. Do the following on your cmd line: > --hostfile hostfile -mca rmaps seq > This will cause OMPI to map

Re: [OMPI users] Machinefile option in opempi-1.3.2

2009-06-20 Thread Ralph Castain
Ah, yes - that is definitely true. What you need to use is the "seq" (for "sequential") mapper. Do the following on your cmd line: --hostfile hostfile -mca rmaps seq This will cause OMPI to map the process ranks according to the order in the hostfile. You need to specify one line for each node/ran

Re: [OMPI users] Machinefile option in opempi-1.3.2

2009-06-20 Thread Rajesh Sudarsan
Hi Ralph, Thanks for the reply. The default mapper does round-robin assignment as long as I do not specify the machinefile in the following format: n1 n2 n2 n1where, n1 and n2 are two nodes in the cluster and I use two slots within each node. I have pasted the output and the display map fo

Re: [OMPI users] Machinefile option in opempi-1.3.2

2009-06-19 Thread Ralph Castain
If you do "man orte_hosts", you'll see a full explanation of how the various machinefile options work. The default mapper doesn't do any type of sorting - it is a round-robin mapper that just works its way through the provided nodes. We don't reorder them in any way. However, it does depend on the

[OMPI users] Machinefile option in opempi-1.3.2

2009-06-19 Thread Rajesh Sudarsan
Hi, I tested a simple hello world program on 5 nodes each with dual quad-core processors. I noticed that openmpi does not always follow the order of the processors indicated in the machinefile. Depending upon the number of processors requested, openmpi does some type of sorting to find the best no