Re: [OMPI users] Running mpi with different account

2015-05-04 Thread XingFENG
Thanks very much, Jeff. On Mon, May 4, 2015 at 11:32 PM, Jeff Squyres (jsquyres) wrote: > See these blog entries for information about Open MPI's tree-based > launching: > > http://blogs.cisco.com/performance/tree-based-launch-in-open-mpi >

Re: [OMPI users] Running mpi with different account

2015-05-04 Thread Jeff Squyres (jsquyres)
See these blog entries for information about Open MPI's tree-based launching: http://blogs.cisco.com/performance/tree-based-launch-in-open-mpi http://blogs.cisco.com/performance/tree-based-launch-in-open-mpi-part-2 > On May 3, 2015, at 8:52 PM, XingFENG wrote: > >

Re: [OMPI users] Running mpi with different account

2015-05-03 Thread XingFENG
Thanks very much Ralph. It works fine now. Just some more questions to make it clearer. 1. Your respond confuses me. Especially for this one, *The rsh launch is typically done in a tree topology, and so you get ssh from one backend node to another.* 2. By adding -mca plm_rsh_no_tree_spawn 1, it

Re: [OMPI users] Running mpi with different account

2015-05-03 Thread Ralph Castain
> On May 3, 2015, at 5:54 AM, XingFENG wrote: > > By changing the order of hosts, the program now can run on 6 machines with 2 > accounts. > > But it is very weird. Why the order of hosts would matter? Could any one > refer something about how openmpi work, please?

Re: [OMPI users] Running mpi with different account

2015-05-03 Thread XingFENG
By changing the order of hosts, the program now can run on 6 machines with 2 accounts. But it is very weird. Why the order of hosts would matter? Could any one refer something about how openmpi work, please? I have searched on the Internet but nothing related is found. On Sun, May 3, 2015 at

Re: [OMPI users] Running mpi with different account

2015-05-03 Thread XingFENG
I got some problems while running MPI programs with different account. I have done the following things. 1. I have set password-less connection between these machines. 2. I have specified user names in host file. 3. I have successfully run the program on two machines with two different accounts.

Re: [OMPI users] Running mpi with different account

2015-04-14 Thread Jeff Squyres (jsquyres)
You can also specify per-machine usernames in $HOME/.ssh/config. See ssh_config(5). > On Apr 13, 2015, at 9:19 PM, Ralph Castain wrote: > > >> On Apr 13, 2015, at 5:47 PM, XingFENG wrote: >> >> Thanks for all who joined the discussion. >> Yes,

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Gilles Gouaillardet
Xing, an other approach is to use ompi-server and Publish_name / Lookup_name : run ompi-server and pass the uri to two jobs (one per user) then you will have to "merge" the two jobs. this is obviously a bit more effort, but this is a cleaner approach imho. while sharing accounts is generally

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread XingFENG
Thanks very much for your reply. I would report later if I succeed. On Tue, Apr 14, 2015 at 11:19 AM, Ralph Castain wrote: > > On Apr 13, 2015, at 5:47 PM, XingFENG wrote: > > Thanks for all who joined the discussion. > Yes, I meant to run the job

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Ralph Castain
> On Apr 13, 2015, at 5:47 PM, XingFENG wrote: > > Thanks for all who joined the discussion. > Yes, I meant to run the job under both accounts at the same time. > > Hi, Ralph, > > I have searched about specifying username in hostfile and got no related > page.

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Ralph Castain
> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault > wrote: > > Le 2015-04-13 09:54, Ralph Castain a écrit : >>> On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault >>> >>

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Maxime Boissonneault
Le 2015-04-13 09:54, Ralph Castain a écrit : On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault wrote: Just out of curiosity... how will OpenMPI start processes under different accounts ? Through SSH while specifying different user names ? I am assuming

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Ralph Castain
> On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault > wrote: > > Just out of curiosity... how will OpenMPI start processes under different > accounts ? Through SSH while specifying different user names ? > I am assuming that no resource manager or

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Maxime Boissonneault
Just out of curiosity... how will OpenMPI start processes under different accounts ? Through SSH while specifying different user names ? I am assuming that no resource manager or scheduler will allow this. My recommendation would be to contact your sysadmin and ask for an exception instead of

Re: [OMPI users] Running mpi with different account

2015-04-13 Thread Ralph Castain
Let’s hope you sys admin doesn’t find out about it - they tend to take a dim view of sharing accounts! So long as the path and library path are set correctly, we won’t care. > On Apr 12, 2015, at 10:33 PM, XingFENG wrote: > > Hi all, > > I am wondering if it is

[OMPI users] Running mpi with different account

2015-04-13 Thread XingFENG
Hi all, I am wondering if it is possible that MPI programs can be run on machines with different account? I am doing experiments with some MPI programs on a cluster. My problem is that my account is limited to use 4 machines (I need more machines to process data). I can borrow my friend's