Discussion:
[OMPI users] mpirun works with cmd line call , but not with app context file arg
MM
2016-10-16 09:29:06 UTC
Permalink
Hi,

openmpi 1.10.3

this call:

mpirun --hostfile ~/.mpihosts -H localhost -np 1 prog1 : -H A.lan -np
4 prog2 : -H B.lan -np 4 prog2

works, yet this one:

mpirun --hostfile ~/.mpihosts --app ~/.mpiapp

doesn't. where ~/.mpiapp

-H localhost -np 1 prog1
-H A.lan -np 4 prog2
-H B.lan -np 4 prog2

it says

"There are not enough slots available in the system to satisfy the 4 slots
that were requested by the application:
prog2
Either request fewer slots for your application, or make more slots available
for use".
Gilles Gouaillardet
2016-10-16 13:50:30 UTC
Permalink
Out of curiosity, why do you specify both --hostfile and -H ?
Do you observe the same behavior without --hostfile ~/.mpihosts ?

Also, do you have at least 4 cores on both A.lan and B.lan ?

Cheers,

Gilles
Post by MM
Hi,
openmpi 1.10.3
mpirun --hostfile ~/.mpihosts -H localhost -np 1 prog1 : -H A.lan -np
4 prog2 : -H B.lan -np 4 prog2
mpirun --hostfile ~/.mpihosts --app ~/.mpiapp
doesn't. where ~/.mpiapp
-H localhost -np 1 prog1
-H A.lan -np 4 prog2
-H B.lan -np 4 prog2
it says
"There are not enough slots available in the system to satisfy the 4 slots
prog2
Either request fewer slots for your application, or make more slots available
for use".
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
MM
2016-10-16 20:28:24 UTC
Permalink
On 16 October 2016 at 14:50, Gilles Gouaillardet
Post by Gilles Gouaillardet
Out of curiosity, why do you specify both --hostfile and -H ?
Do you observe the same behavior without --hostfile ~/.mpihosts ?
When I specify only -H like so:

mpirun -H localhost -np 1 prog1 : -H A.lan -np 4 prog2 : -H B.lan -np 4 prog2

I get the same error:
"There are not enough slots available in the system to satisfy the 4 slots
that were requested by the application:
prog2
Either request fewer slots for your application, or make more slots
available for use".
Post by Gilles Gouaillardet
Also, do you have at least 4 cores on both A.lan and B.lan ?
Yes both A and B have exactly 4 cores each.
Post by Gilles Gouaillardet
Cheers,
Gilles
Post by MM
Hi,
openmpi 1.10.3
mpirun --hostfile ~/.mpihosts -H localhost -np 1 prog1 : -H A.lan -np
4 prog2 : -H B.lan -np 4 prog2
mpirun --hostfile ~/.mpihosts --app ~/.mpiapp
doesn't. where ~/.mpiapp
-H localhost -np 1 prog1
-H A.lan -np 4 prog2
-H B.lan -np 4 prog2
it says
"There are not enough slots available in the system to satisfy the 4 slots
prog2
Either request fewer slots for your application, or make more slots available
for use".
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Loading...