Re: [OMPI users] mpirun works with cmd line call , but not with app context file arg
On 16 October 2016 at 14:50, Gilles Gouaillardet wrote: > 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". > 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. > > Cheers, > > Gilles > > > On Sunday, October 16, 2016, MM wrote: >> >> 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". >> ___ >> users mailing list >> users@lists.open-mpi.org >> https://rfd.newmexicoconsortium.org/mailman/listinfo/users > > > ___ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
Re: [OMPI users] mpirun works with cmd line call , but not with app context file arg
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 On Sunday, October 16, 2016, MM wrote: > 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". > ___ > users mailing list > users@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/users > ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users
[OMPI users] mpirun works with cmd line call , but not with app context file arg
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". ___ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users