Discussion:
[OMPI users] mpirun --map-by-node
Mahesh Nanavalla
2016-11-04 11:28:34 UTC
Permalink
Hi all,

I am using openmpi-1.10.3,using quad core processor(node).

I am running 3 processes on three nodes(provided by hostfile) each node
process is limited by --map-by-node as below

****@OpenWrt:~# /usr/bin/mpirun --allow-run-as-root -np 3 --hostfile
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node*







****@OpenWrt:~# cat myhostfile ***@10.73.145.1:1
<http://***@10.73.145.1:1>***@10.74.25.1:1
<http://***@10.74.25.1:1>***@10.74.46.1:1
<http://***@10.74.46.1:1>Problem is 3 process running on one node.it
<http://node.it>'s not mapping one process by node.is there any library
used to run like above.if yes please tell me that .Kindly help me where am
doing wrong...Thanks&Regards,Mahesh N*
r***@open-mpi.org
2016-11-04 11:30:57 UTC
Permalink
you mistyped the option - it is “--map-by node”. Note the space between “by” and “node” - you had typed it with a “-“ instead of a “space”
Post by Mahesh Nanavalla
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node process is limited by --map-by-node as below
Problem is 3 process running on one node.it <http://node.it/>'s not mapping one process by node.
is there any library used to run like above.if yes please tell me that .
Kindly help me where am doing wrong...
Thanks&Regards,
Mahesh N
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Mahesh Nanavalla
2016-11-04 11:44:13 UTC
Permalink
Thanks for reply,

But,with space also not running on one process one each node

***@OpenWrt:~# /usr/bin/mpirun --allow-run-as-root -np 3 --hostfile
myhostfile /usr/bin/openmpiWiFiBulb --map-by node

And

If use like this it,s working fine(running one process on each node)
*/***@OpenWrt:~#/usr/bin/mpirun --allow-run-as-root -np 3 --host
***@10.74.25.1 <***@10.74.25.1>,***@10.74.46.1
<***@10.74.46.1>,***@10.73.145.1 <***@10.73.145.1>
/usr/bin/openmpiWiFiBulb *

*But,i want use hostfile only..*
*kindly help me.....*
Post by r***@open-mpi.org
you mistyped the option - it is “--map-by node”. Note the space between
“by” and “node” - you had typed it with a “-“ instead of a “space”
On Nov 4, 2016, at 4:28 AM, Mahesh Nanavalla <
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node
process is limited by --map-by-node as below
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node*
<http://node.it/>'s not mapping one process by node.is there any library
used to run like above.if yes please tell me that .Kindly help me where am
doing wrong...Thanks&Regards,Mahesh N*
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
r***@open-mpi.org
2016-11-04 11:55:10 UTC
Permalink
My apologies - the problem is that you list the option _after_ your executable name, and so we think it is an argument for your executable. You need to list the option _before_ your executable on the cmd line
Post by Mahesh Nanavalla
Thanks for reply,
But,with space also not running on one process one each node
And
If use like this it,s working fine(running one process on each node)
But,i want use hostfile only..
kindly help me.....
you mistyped the option - it is “--map-by node”. Note the space between “by” and “node” - you had typed it with a “-“ instead of a “space”
Post by Mahesh Nanavalla
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node process is limited by --map-by-node as below
Problem is 3 process running on one node.it <http://node.it/>'s not mapping one process by node.
is there any library used to run like above.if yes please tell me that .
Kindly help me where am doing wrong...
Thanks&Regards,
Mahesh N
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users <https://rfd.newmexicoconsortium.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users <https://rfd.newmexicoconsortium.org/mailman/listinfo/users>
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Mahesh Nanavalla
2016-11-04 12:39:05 UTC
Permalink
s...........

Thanks for responding me.
i have solved that as below by limiting* slots in hostfile*

***@OpenWrt:~# cat myhostfile
***@10.73.145.1 slots=1
***@10.74.25.1 slots=1
***@10.74.46.1 slots=1


I want the difference between the *slots* limiting in myhostfile and
runnig *--map-by
node.*

*I am awaiting for your reply.*
Post by r***@open-mpi.org
My apologies - the problem is that you list the option _after_ your
executable name, and so we think it is an argument for your executable. You
need to list the option _before_ your executable on the cmd line
On Nov 4, 2016, at 4:44 AM, Mahesh Nanavalla <
Thanks for reply,
But,with space also not running on one process one each node
myhostfile /usr/bin/openmpiWiFiBulb --map-by node
And
If use like this it,s working fine(running one process on each node)
/usr/bin/openmpiWiFiBulb *
*But,i want use hostfile only..*
*kindly help me.....*
Post by r***@open-mpi.org
you mistyped the option - it is “--map-by node”. Note the space between
“by” and “node” - you had typed it with a “-“ instead of a “space”
On Nov 4, 2016, at 4:28 AM, Mahesh Nanavalla <
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node
process is limited by --map-by-node as below
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node*
<http://node.it/>'s not mapping one process by node.is there any library
used to run like above.if yes please tell me that .Kindly help me where am
doing wrong...Thanks&Regards,Mahesh N*
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Bennet Fauber
2016-11-04 12:57:25 UTC
Permalink
Mahesh,

Depending what you are trying to accomplish, might using the mpirun option

-pernode -o- --pernode

work for you? That requests that only one process be spawned per
available node.

We generally use this for hybrid codes, where the single process will
spawn threads to the remaining processors.

Just a thought, -- bennet





On Fri, Nov 4, 2016 at 8:39 AM, Mahesh Nanavalla
Post by Mahesh Nanavalla
s...........
Thanks for responding me.
i have solved that as below by limiting slots in hostfile
I want the difference between the slots limiting in myhostfile and runnig
--map-by node.
I am awaiting for your reply.
Post by r***@open-mpi.org
My apologies - the problem is that you list the option _after_ your
executable name, and so we think it is an argument for your executable. You
need to list the option _before_ your executable on the cmd line
On Nov 4, 2016, at 4:44 AM, Mahesh Nanavalla
Thanks for reply,
But,with space also not running on one process one each node
myhostfile /usr/bin/openmpiWiFiBulb --map-by node
And
If use like this it,s working fine(running one process on each node)
But,i want use hostfile only..
kindly help me.....
you mistyped the option - it is “--map-by node”. Note the space between
“by” and “node” - you had typed it with a “-“ instead of a “space”
On Nov 4, 2016, at 4:28 AM, Mahesh Nanavalla
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node
process is limited by --map-by-node as below
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node
Problem is 3 process running on one node.it's not mapping one process by
node.
is there any library used to run like above.if yes please tell me that .
Kindly help me where am doing wrong...
Thanks&Regards,
Mahesh N
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Jeff Squyres (jsquyres)
2016-11-04 13:52:02 UTC
Permalink
In your case, using slots or --npernode or --map-by node will result in the same distribution of processes because you're only launching 1 process per node (a.k.a. "1ppn").

They have more pronounced differences when you're launching more than 1ppn.

Let's take a step back: you should know that Open MPI uses 3 phases to plan out how it will launch your MPI job:

1. Mapping: where each process will go
2. Ordering: after mapping, how each process will be numbered (this translates to rank ordering MPI_COMM_WORLD)
3. Binding: binding processes to processors

#3 is not pertinent to this conversation, so I'll leave it out of my discussion below.

We're mostly talking about #1 here. Let's look at each of the three options mentioned in this thread individually. In each of the items below, I assume you are using *just* that option, and *neither of the other 2 options*:

1. slots: this tells Open MPI the maximum number of processes that can be placed on a server before it is considered to be "oversubscribed" (and Open MPI won't let you oversubscribe by default).

So when you say "slots=1", you're basically telling Open MPI to launch 1 process per node and then to move on to the next node. If you said "slots=3", then Open MPI would launch up to 3 processes per node before moving on to the next (until the total np processes were launched).

*** Be aware that we have changed the hostfile default value of slots (i.e., what number of slots to use if it is not specified in the hostfile) in different versions of Open MPI. When using hostfiles, in most cases, you'll see either a default value of 1 or the total number of cores on the node.

2. --map-by node: in this case, Open MPI will map out processes round robin by *node* instead of its default by *core*. Hence, even if you had "slots=3" and -np 9, Open MPI would first put a process on node A, then put a process on node B, then a process on node C, and then loop back to putting a 2nd process on node A, ...etc.

3. --npernode: in this case, you're telling Open MPI how many processes to put on each node before moving on to the next node. E.g., if you "mpirun -np 9 ..." (and assuming you have >=3 slots per node), Open MPI will put 3 processes on each node before moving on to the next node.

With the default MPI_COMM_WORLD rank ordering, the practical difference in these three options is:

Case 1:

$ cat hostfile
a slots=3
b slots=3
c slots=3
$ mpirun --hostfile hostfile -np 9 my_mpi_executable

In this case, you'll end up with MCW ranks 0-2 on a, 3-5 on b, and 6-8 on c.

Case 2:

# Setting an arbitrarily large number of slots per host just to be explicitly clear for this example
$ cat hostfile
a slots=20
b slots=20
c slots=20
$ mpirun --hostfile hostfile -np 9 --map-by node my_mpi_executable

In this case, you'll end up with MCW ranks 0,3,6 on a, 1,4,7 on b, and 2,5,8 on c.

Case 3:

# Setting an arbitrarily large number of slots per host just to be explicitly clear for this example
$ cat hostfile
a slots=20
b slots=20
c slots=20
$ mpirun --hostfile hostfile -np 9 --npernode 3 my_mpi_executable

In this case, you'll end up with the same distribution / rank ordering as case #1, but you'll still have 17 more slots you could have used.

There are lots of variations on this, too, because these mpirun options (and many others) can be used in conjunction with each other. But that gets pretty esoteric pretty quickly; most users don't have a need for such complexity.
Post by Bennet Fauber
Mahesh,
Depending what you are trying to accomplish, might using the mpirun option
-pernode -o- --pernode
work for you? That requests that only one process be spawned per
available node.
We generally use this for hybrid codes, where the single process will
spawn threads to the remaining processors.
Just a thought, -- bennet
On Fri, Nov 4, 2016 at 8:39 AM, Mahesh Nanavalla
Post by Mahesh Nanavalla
s...........
Thanks for responding me.
i have solved that as below by limiting slots in hostfile
I want the difference between the slots limiting in myhostfile and runnig
--map-by node.
I am awaiting for your reply.
Post by r***@open-mpi.org
My apologies - the problem is that you list the option _after_ your
executable name, and so we think it is an argument for your executable. You
need to list the option _before_ your executable on the cmd line
On Nov 4, 2016, at 4:44 AM, Mahesh Nanavalla
Thanks for reply,
But,with space also not running on one process one each node
myhostfile /usr/bin/openmpiWiFiBulb --map-by node
And
If use like this it,s working fine(running one process on each node)
But,i want use hostfile only..
kindly help me.....
you mistyped the option - it is “--map-by node”. Note the space between
“by” and “node” - you had typed it with a “-“ instead of a “space”
On Nov 4, 2016, at 4:28 AM, Mahesh Nanavalla
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node
process is limited by --map-by-node as below
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node
Problem is 3 process running on one node.it's not mapping one process by
node.
is there any library used to run like above.if yes please tell me that .
Kindly help me where am doing wrong...
Thanks&Regards,
Mahesh N
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
r***@open-mpi.org
2016-11-04 14:54:00 UTC
Permalink
All true - but I reiterate. The source of the problem is that the "--map-by node” on the cmd line must come *before* your application. Otherwise, none of these suggestions will help.
Post by Jeff Squyres (jsquyres)
In your case, using slots or --npernode or --map-by node will result in the same distribution of processes because you're only launching 1 process per node (a.k.a. "1ppn").
They have more pronounced differences when you're launching more than 1ppn.
1. Mapping: where each process will go
2. Ordering: after mapping, how each process will be numbered (this translates to rank ordering MPI_COMM_WORLD)
3. Binding: binding processes to processors
#3 is not pertinent to this conversation, so I'll leave it out of my discussion below.
1. slots: this tells Open MPI the maximum number of processes that can be placed on a server before it is considered to be "oversubscribed" (and Open MPI won't let you oversubscribe by default).
So when you say "slots=1", you're basically telling Open MPI to launch 1 process per node and then to move on to the next node. If you said "slots=3", then Open MPI would launch up to 3 processes per node before moving on to the next (until the total np processes were launched).
*** Be aware that we have changed the hostfile default value of slots (i.e., what number of slots to use if it is not specified in the hostfile) in different versions of Open MPI. When using hostfiles, in most cases, you'll see either a default value of 1 or the total number of cores on the node.
2. --map-by node: in this case, Open MPI will map out processes round robin by *node* instead of its default by *core*. Hence, even if you had "slots=3" and -np 9, Open MPI would first put a process on node A, then put a process on node B, then a process on node C, and then loop back to putting a 2nd process on node A, ...etc.
3. --npernode: in this case, you're telling Open MPI how many processes to put on each node before moving on to the next node. E.g., if you "mpirun -np 9 ..." (and assuming you have >=3 slots per node), Open MPI will put 3 processes on each node before moving on to the next node.
$ cat hostfile
a slots=3
b slots=3
c slots=3
$ mpirun --hostfile hostfile -np 9 my_mpi_executable
In this case, you'll end up with MCW ranks 0-2 on a, 3-5 on b, and 6-8 on c.
# Setting an arbitrarily large number of slots per host just to be explicitly clear for this example
$ cat hostfile
a slots=20
b slots=20
c slots=20
$ mpirun --hostfile hostfile -np 9 --map-by node my_mpi_executable
In this case, you'll end up with MCW ranks 0,3,6 on a, 1,4,7 on b, and 2,5,8 on c.
# Setting an arbitrarily large number of slots per host just to be explicitly clear for this example
$ cat hostfile
a slots=20
b slots=20
c slots=20
$ mpirun --hostfile hostfile -np 9 --npernode 3 my_mpi_executable
In this case, you'll end up with the same distribution / rank ordering as case #1, but you'll still have 17 more slots you could have used.
There are lots of variations on this, too, because these mpirun options (and many others) can be used in conjunction with each other. But that gets pretty esoteric pretty quickly; most users don't have a need for such complexity.
Post by Bennet Fauber
Mahesh,
Depending what you are trying to accomplish, might using the mpirun option
-pernode -o- --pernode
work for you? That requests that only one process be spawned per
available node.
We generally use this for hybrid codes, where the single process will
spawn threads to the remaining processors.
Just a thought, -- bennet
On Fri, Nov 4, 2016 at 8:39 AM, Mahesh Nanavalla
Post by Mahesh Nanavalla
s...........
Thanks for responding me.
i have solved that as below by limiting slots in hostfile
I want the difference between the slots limiting in myhostfile and runnig
--map-by node.
I am awaiting for your reply.
Post by r***@open-mpi.org
My apologies - the problem is that you list the option _after_ your
executable name, and so we think it is an argument for your executable. You
need to list the option _before_ your executable on the cmd line
On Nov 4, 2016, at 4:44 AM, Mahesh Nanavalla
Thanks for reply,
But,with space also not running on one process one each node
myhostfile /usr/bin/openmpiWiFiBulb --map-by node
And
If use like this it,s working fine(running one process on each node)
But,i want use hostfile only..
kindly help me.....
you mistyped the option - it is “--map-by node”. Note the space between
“by” and “node” - you had typed it with a “-“ instead of a “space”
On Nov 4, 2016, at 4:28 AM, Mahesh Nanavalla
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each node
process is limited by --map-by-node as below
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node
Problem is 3 process running on one node.it's not mapping one process by
node.
is there any library used to run like above.if yes please tell me that .
Kindly help me where am doing wrong...
Thanks&Regards,
Mahesh N
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Mahesh Nanavalla
2016-11-10 04:56:36 UTC
Permalink
k..Thank you all.

That has solved.
Post by r***@open-mpi.org
All true - but I reiterate. The source of the problem is that the
"--map-by node” on the cmd line must come *before* your application.
Otherwise, none of these suggestions will help.
Post by Jeff Squyres (jsquyres)
In your case, using slots or --npernode or --map-by node will result in
the same distribution of processes because you're only launching 1 process
per node (a.k.a. "1ppn").
Post by Jeff Squyres (jsquyres)
They have more pronounced differences when you're launching more than
1ppn.
Post by Jeff Squyres (jsquyres)
Let's take a step back: you should know that Open MPI uses 3 phases to
1. Mapping: where each process will go
2. Ordering: after mapping, how each process will be numbered (this
translates to rank ordering MPI_COMM_WORLD)
Post by Jeff Squyres (jsquyres)
3. Binding: binding processes to processors
#3 is not pertinent to this conversation, so I'll leave it out of my
discussion below.
Post by Jeff Squyres (jsquyres)
We're mostly talking about #1 here. Let's look at each of the three
options mentioned in this thread individually. In each of the items below,
I assume you are using *just* that option, and *neither of the other 2
Post by Jeff Squyres (jsquyres)
1. slots: this tells Open MPI the maximum number of processes that can
be placed on a server before it is considered to be "oversubscribed" (and
Open MPI won't let you oversubscribe by default).
Post by Jeff Squyres (jsquyres)
So when you say "slots=1", you're basically telling Open MPI to launch 1
process per node and then to move on to the next node. If you said
"slots=3", then Open MPI would launch up to 3 processes per node before
moving on to the next (until the total np processes were launched).
Post by Jeff Squyres (jsquyres)
*** Be aware that we have changed the hostfile default value of slots
(i.e., what number of slots to use if it is not specified in the hostfile)
in different versions of Open MPI. When using hostfiles, in most cases,
you'll see either a default value of 1 or the total number of cores on the
node.
Post by Jeff Squyres (jsquyres)
2. --map-by node: in this case, Open MPI will map out processes round
robin by *node* instead of its default by *core*. Hence, even if you had
"slots=3" and -np 9, Open MPI would first put a process on node A, then put
a process on node B, then a process on node C, and then loop back to
putting a 2nd process on node A, ...etc.
Post by Jeff Squyres (jsquyres)
3. --npernode: in this case, you're telling Open MPI how many processes
to put on each node before moving on to the next node. E.g., if you
"mpirun -np 9 ..." (and assuming you have >=3 slots per node), Open MPI
will put 3 processes on each node before moving on to the next node.
Post by Jeff Squyres (jsquyres)
With the default MPI_COMM_WORLD rank ordering, the practical difference
$ cat hostfile
a slots=3
b slots=3
c slots=3
$ mpirun --hostfile hostfile -np 9 my_mpi_executable
In this case, you'll end up with MCW ranks 0-2 on a, 3-5 on b, and 6-8
on c.
Post by Jeff Squyres (jsquyres)
# Setting an arbitrarily large number of slots per host just to be
explicitly clear for this example
Post by Jeff Squyres (jsquyres)
$ cat hostfile
a slots=20
b slots=20
c slots=20
$ mpirun --hostfile hostfile -np 9 --map-by node my_mpi_executable
In this case, you'll end up with MCW ranks 0,3,6 on a, 1,4,7 on b, and
2,5,8 on c.
Post by Jeff Squyres (jsquyres)
# Setting an arbitrarily large number of slots per host just to be
explicitly clear for this example
Post by Jeff Squyres (jsquyres)
$ cat hostfile
a slots=20
b slots=20
c slots=20
$ mpirun --hostfile hostfile -np 9 --npernode 3 my_mpi_executable
In this case, you'll end up with the same distribution / rank ordering
as case #1, but you'll still have 17 more slots you could have used.
Post by Jeff Squyres (jsquyres)
There are lots of variations on this, too, because these mpirun options
(and many others) can be used in conjunction with each other. But that
gets pretty esoteric pretty quickly; most users don't have a need for such
complexity.
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Mahesh,
Depending what you are trying to accomplish, might using the mpirun
option
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
-pernode -o- --pernode
work for you? That requests that only one process be spawned per
available node.
We generally use this for hybrid codes, where the single process will
spawn threads to the remaining processors.
Just a thought, -- bennet
On Fri, Nov 4, 2016 at 8:39 AM, Mahesh Nanavalla
Post by Mahesh Nanavalla
s...........
Thanks for responding me.
i have solved that as below by limiting slots in hostfile
I want the difference between the slots limiting in myhostfile and
runnig
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
--map-by node.
I am awaiting for your reply.
Post by r***@open-mpi.org
My apologies - the problem is that you list the option _after_ your
executable name, and so we think it is an argument for your
executable. You
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
Post by r***@open-mpi.org
need to list the option _before_ your executable on the cmd line
On Nov 4, 2016, at 4:44 AM, Mahesh Nanavalla
Thanks for reply,
But,with space also not running on one process one each node
myhostfile /usr/bin/openmpiWiFiBulb --map-by node
And
If use like this it,s working fine(running one process on each node)
/usr/bin/openmpiWiFiBulb
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
Post by r***@open-mpi.org
But,i want use hostfile only..
kindly help me.....
Post by r***@open-mpi.org
you mistyped the option - it is “--map-by node”. Note the space
between
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
Post by r***@open-mpi.org
Post by r***@open-mpi.org
“by” and “node” - you had typed it with a “-“ instead of a “space”
On Nov 4, 2016, at 4:28 AM, Mahesh Nanavalla
Hi all,
I am using openmpi-1.10.3,using quad core processor(node).
I am running 3 processes on three nodes(provided by hostfile) each
node
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
Post by r***@open-mpi.org
Post by r***@open-mpi.org
process is limited by --map-by-node as below
myhostfile /usr/bin/openmpiWiFiBulb --map-by-node
Problem is 3 process running on one node.it's not mapping one
process by
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
Post by r***@open-mpi.org
Post by r***@open-mpi.org
node.
is there any library used to run like above.if yes please tell me
that .
Post by Jeff Squyres (jsquyres)
Post by Bennet Fauber
Post by Mahesh Nanavalla
Post by r***@open-mpi.org
Post by r***@open-mpi.org
Kindly help me where am doing wrong...
Thanks&Regards,
Mahesh N
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
For corporate legal information go to: http://www.cisco.com/web/
about/doing_business/legal/cri/
Post by Jeff Squyres (jsquyres)
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Loading...