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
> http://blogs.cisco.com/performance/tree-based-launch-in-open-mpi-part-2
>
>
> > On May 3, 2015, at 8:52 PM, XingFENG  wrote:
> >
> > 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 seems that daemon process
> is disabled because I could not find processes orted and sshd  any more. Is
> rsh used instead here?
> >
> >
> >
> > On Mon, May 4, 2015 at 12:54 AM, Ralph Castain  wrote:
> >
> >> 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? I have searched on the
> Internet but nothing related is found.
> >
> > If you add —mca plm_rsh_no_tree_spawn 1 to your cmd line, you’ll
> probably be okay. The rsh launch is typically done in a tree topology, and
> so you get ssh from one backend node to another. If you don’t have
> password-less ssh from every machine to each other machine, then you can
> get the behavior you describe.
> >
> > Adding that parameter will cause all the ssh commands to come directly
> from mpirun.
> >
> >
> >>
> >>
> >> On Sun, May 3, 2015 at 10:03 PM, XingFENG 
> wrote:
> >> 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.
> >>
> >> But when I tried on other machines with the two accounts, openmpi stuck
> at the very beginning. There is no error information. It seems openmpi
> falls in some infinite loop. Any help would be greatly appreciated.
> >>
> >> On Wed, Apr 15, 2015 at 6:04 AM, Jeff Squyres (jsquyres) <
> jsquy...@cisco.com> wrote:
> >> 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, 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. Could you give a sample of specifying username in hostfile,
> please?
> >> >
> >> > you just provide the host name as “username@host”
> >> >
> >> >>   Another problem is do you also specify password in hostfile?
> >> >
> >> >
> >> > Good heavens, no! It has to be password-less ssh. Frankly, I doubt
> this will work as I suspect ssh isn’t going to let you do it.
> >> >
> >> >
> >> >>
> >> >> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain 
> wrote:
> >> >>
> >> >>> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault <
> maxime.boissonnea...@calculquebec.ca> wrote:
> >> >>>
> >> >>> Le 2015-04-13 09:54, Ralph Castain a écrit :
> >> > On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault <
> maxime.boissonnea...@calculquebec.ca> 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 scheduler will allow
> this.
> >>  I’m assuming he just plans to run the entire job as the other
> user. Essentially, it would be the same as if his friend ran the job for
> him.
> >> >>> From this comment :
> >> >>>
> >> >>> 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 account and thus
> have access to another 4 machines but I am not sure whether it works.
> >> >>>
> >> >>> I assumed that he wants to run the job under _both_ accounts at the
> same time.
> >> >>
> >> >> I honestly don’t know if that would work. We do provide a way in the
> hostfile for someone to specify the username for a remote host, but you’d
> have to get the ssh system to accept it. Assuming the other username also
> has your host in its authorized keys, then I suppose it might work - I’ve
> never tried it myself.
> >> >>
> >> >>
> >> >>>
> >> >>>
> >> > My recommendation would be to contact 

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:
> 
> 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 seems that daemon process is 
> disabled because I could not find processes orted and sshd  any more. Is rsh 
> used instead here?
>  
> 
> 
> On Mon, May 4, 2015 at 12:54 AM, Ralph Castain  wrote:
> 
>> 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? I have searched on the 
>> Internet but nothing related is found.
> 
> If you add —mca plm_rsh_no_tree_spawn 1 to your cmd line, you’ll probably be 
> okay. The rsh launch is typically done in a tree topology, and so you get ssh 
> from one backend node to another. If you don’t have password-less ssh from 
> every machine to each other machine, then you can get the behavior you 
> describe.
> 
> Adding that parameter will cause all the ssh commands to come directly from 
> mpirun.
> 
> 
>> 
>> 
>> On Sun, May 3, 2015 at 10:03 PM, XingFENG  wrote:
>> 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. 
>> 
>> But when I tried on other machines with the two accounts, openmpi stuck at 
>> the very beginning. There is no error information. It seems openmpi falls in 
>> some infinite loop. Any help would be greatly appreciated.
>> 
>> On Wed, Apr 15, 2015 at 6:04 AM, Jeff Squyres (jsquyres) 
>>  wrote:
>> 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, 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. Could you give a sample of specifying username in hostfile, please?
>> >
>> > you just provide the host name as “username@host”
>> >
>> >>   Another problem is do you also specify password in hostfile?
>> >
>> >
>> > Good heavens, no! It has to be password-less ssh. Frankly, I doubt this 
>> > will work as I suspect ssh isn’t going to let you do it.
>> >
>> >
>> >>
>> >> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain  wrote:
>> >>
>> >>> 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 
>> >  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 scheduler will allow this.
>>  I’m assuming he just plans to run the entire job as the other user. 
>>  Essentially, it would be the same as if his friend ran the job for him.
>> >>> From this comment :
>> >>>
>> >>> 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 account and thus 
>> >>> have access to another 4 machines but I am not sure whether it works.
>> >>>
>> >>> I assumed that he wants to run the job under _both_ accounts at the same 
>> >>> time.
>> >>
>> >> I honestly don’t know if that would work. We do provide a way in the 
>> >> hostfile for someone to specify the username for a remote host, but you’d 
>> >> have to get the ssh system to accept it. Assuming the other username also 
>> >> has your host in its authorized keys, then I suppose it might work - I’ve 
>> >> never tried it myself.
>> >>
>> >>
>> >>>
>> >>>
>> > My recommendation would be to contact your sysadmin and ask for an 
>> > exception instead of going through with this insanity (forgive the 
>> > judgement here).
>>  Agreed!
>> 
>> > Maxime
>> 

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 seems that daemon process is
disabled because I could not find processes orted and sshd  any more. Is
rsh used instead here?



On Mon, May 4, 2015 at 12:54 AM, Ralph Castain  wrote:

>
> 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? I have searched on the
> Internet but nothing related is found.
>
>
> If you add —mca plm_rsh_no_tree_spawn 1 to your cmd line, you’ll probably
> be okay. The rsh launch is typically done in a tree topology, and so you
> get ssh from one backend node to another. If you don’t have password-less
> ssh from every machine to each other machine, then you can get the behavior
> you describe.
>
> Adding that parameter will cause all the ssh commands to come directly
> from mpirun.
>
>
>
>
> On Sun, May 3, 2015 at 10:03 PM, XingFENG 
> wrote:
>
>> 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.
>>
>> But when I tried on other machines with the two accounts, openmpi stuck
>> at the very beginning. There is no error information. It seems openmpi
>> falls in some infinite loop. Any help would be greatly appreciated.
>>
>> On Wed, Apr 15, 2015 at 6:04 AM, Jeff Squyres (jsquyres) <
>> jsquy...@cisco.com> wrote:
>>
>>> 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, 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. Could you give a sample of specifying username in hostfile,
>>> please?
>>> >
>>> > you just provide the host name as “username@host”
>>> >
>>> >>   Another problem is do you also specify password in hostfile?
>>> >
>>> >
>>> > Good heavens, no! It has to be password-less ssh. Frankly, I doubt
>>> this will work as I suspect ssh isn’t going to let you do it.
>>> >
>>> >
>>> >>
>>> >> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain 
>>> wrote:
>>> >>
>>> >>> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault <
>>> maxime.boissonnea...@calculquebec.ca> wrote:
>>> >>>
>>> >>> Le 2015-04-13 09:54, Ralph Castain a écrit :
>>> > On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault <
>>> maxime.boissonnea...@calculquebec.ca> 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 scheduler will allow
>>> this.
>>>  I’m assuming he just plans to run the entire job as the other user.
>>> Essentially, it would be the same as if his friend ran the job for him.
>>> >>> From this comment :
>>> >>>
>>> >>> 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 account and thus
>>> have access to another 4 machines but I am not sure whether it works.
>>> >>>
>>> >>> I assumed that he wants to run the job under _both_ accounts at the
>>> same time.
>>> >>
>>> >> I honestly don’t know if that would work. We do provide a way in the
>>> hostfile for someone to specify the username for a remote host, but you’d
>>> have to get the ssh system to accept it. Assuming the other username also
>>> has your host in its authorized keys, then I suppose it might work - I’ve
>>> never tried it myself.
>>> >>
>>> >>
>>> >>>
>>> >>>
>>> > My recommendation would be to contact your sysadmin and ask for an
>>> exception instead of going through with this insanity (forgive the
>>> judgement here).
>>>  Agreed!
>>> 
>>> > Maxime
>>> >
>>> > Le 2015-04-13 09:47, Ralph Castain a écrit :
>>> >> 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 

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? I have searched on the 
> Internet but nothing related is found.

If you add —mca plm_rsh_no_tree_spawn 1 to your cmd line, you’ll probably be 
okay. The rsh launch is typically done in a tree topology, and so you get ssh 
from one backend node to another. If you don’t have password-less ssh from 
every machine to each other machine, then you can get the behavior you describe.

Adding that parameter will cause all the ssh commands to come directly from 
mpirun.


> 
> 
> On Sun, May 3, 2015 at 10:03 PM, XingFENG  > wrote:
> 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. 
> 
> But when I tried on other machines with the two accounts, openmpi stuck at 
> the very beginning. There is no error information. It seems openmpi falls in 
> some infinite loop. Any help would be greatly appreciated.
> 
> On Wed, Apr 15, 2015 at 6:04 AM, Jeff Squyres (jsquyres)  > wrote:
> 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, 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. Could you give a sample of specifying username in hostfile, please?
> >
> > you just provide the host name as “username@host”
> >
> >>   Another problem is do you also specify password in hostfile?
> >
> >
> > Good heavens, no! It has to be password-less ssh. Frankly, I doubt this 
> > will work as I suspect ssh isn’t going to let you do it.
> >
> >
> >>
> >> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain  >> > wrote:
> >>
> >>> 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 
> >  > > 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 scheduler will allow this.
>  I’m assuming he just plans to run the entire job as the other user. 
>  Essentially, it would be the same as if his friend ran the job for him.
> >>> From this comment :
> >>>
> >>> 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 account and thus have 
> >>> access to another 4 machines but I am not sure whether it works.
> >>>
> >>> I assumed that he wants to run the job under _both_ accounts at the same 
> >>> time.
> >>
> >> I honestly don’t know if that would work. We do provide a way in the 
> >> hostfile for someone to specify the username for a remote host, but you’d 
> >> have to get the ssh system to accept it. Assuming the other username also 
> >> has your host in its authorized keys, then I suppose it might work - I’ve 
> >> never tried it myself.
> >>
> >>
> >>>
> >>>
> > My recommendation would be to contact your sysadmin and ask for an 
> > exception instead of going through with this insanity (forgive the 
> > judgement here).
>  Agreed!
> 
> > Maxime
> >
> > Le 2015-04-13 09:47, Ralph Castain a écrit :
> >> 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 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 

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 10:03 PM, XingFENG  wrote:

> 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.
>
> But when I tried on other machines with the two accounts, openmpi stuck at
> the very beginning. There is no error information. It seems openmpi falls
> in some infinite loop. Any help would be greatly appreciated.
>
> On Wed, Apr 15, 2015 at 6:04 AM, Jeff Squyres (jsquyres) <
> jsquy...@cisco.com> wrote:
>
>> 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, 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. Could you give a sample of specifying username in hostfile,
>> please?
>> >
>> > you just provide the host name as “username@host”
>> >
>> >>   Another problem is do you also specify password in hostfile?
>> >
>> >
>> > Good heavens, no! It has to be password-less ssh. Frankly, I doubt this
>> will work as I suspect ssh isn’t going to let you do it.
>> >
>> >
>> >>
>> >> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain 
>> wrote:
>> >>
>> >>> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault <
>> maxime.boissonnea...@calculquebec.ca> wrote:
>> >>>
>> >>> Le 2015-04-13 09:54, Ralph Castain a écrit :
>> > On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault <
>> maxime.boissonnea...@calculquebec.ca> 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 scheduler will allow this.
>>  I’m assuming he just plans to run the entire job as the other user.
>> Essentially, it would be the same as if his friend ran the job for him.
>> >>> From this comment :
>> >>>
>> >>> 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 account and thus
>> have access to another 4 machines but I am not sure whether it works.
>> >>>
>> >>> I assumed that he wants to run the job under _both_ accounts at the
>> same time.
>> >>
>> >> I honestly don’t know if that would work. We do provide a way in the
>> hostfile for someone to specify the username for a remote host, but you’d
>> have to get the ssh system to accept it. Assuming the other username also
>> has your host in its authorized keys, then I suppose it might work - I’ve
>> never tried it myself.
>> >>
>> >>
>> >>>
>> >>>
>> > My recommendation would be to contact your sysadmin and ask for an
>> exception instead of going through with this insanity (forgive the
>> judgement here).
>>  Agreed!
>> 
>> > Maxime
>> >
>> > Le 2015-04-13 09:47, Ralph Castain a écrit :
>> >> 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 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 account and thus have
>> access to another 4 machines but I am not sure whether it works.
>> >>>
>> >>>  --
>> >>> Best Regards.
>> >>> ---
>> >>> Xing FENG
>> >>> PhD Candidate
>> >>> Database Research Group
>> >>>
>> >>> School of Computer Science and Engineering
>> >>> University of New South Wales
>> >>> NSW 2052, Sydney
>> >>>
>> >>> Phone: (+61) 413 857 288
>> >>> ___
>> >>> users mailing list
>> >>> us...@open-mpi.org
>> >>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> >>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26687.php
>> >> 

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.

But when I tried on other machines with the two accounts, openmpi stuck at
the very beginning. There is no error information. It seems openmpi falls
in some infinite loop. Any help would be greatly appreciated.

On Wed, Apr 15, 2015 at 6:04 AM, Jeff Squyres (jsquyres)  wrote:

> 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, 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. Could you give a sample of specifying username in hostfile,
> please?
> >
> > you just provide the host name as “username@host”
> >
> >>   Another problem is do you also specify password in hostfile?
> >
> >
> > Good heavens, no! It has to be password-less ssh. Frankly, I doubt this
> will work as I suspect ssh isn’t going to let you do it.
> >
> >
> >>
> >> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain 
> wrote:
> >>
> >>> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault <
> maxime.boissonnea...@calculquebec.ca> wrote:
> >>>
> >>> Le 2015-04-13 09:54, Ralph Castain a écrit :
> > On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault <
> maxime.boissonnea...@calculquebec.ca> 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 scheduler will allow this.
>  I’m assuming he just plans to run the entire job as the other user.
> Essentially, it would be the same as if his friend ran the job for him.
> >>> From this comment :
> >>>
> >>> 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 account and thus
> have access to another 4 machines but I am not sure whether it works.
> >>>
> >>> I assumed that he wants to run the job under _both_ accounts at the
> same time.
> >>
> >> I honestly don’t know if that would work. We do provide a way in the
> hostfile for someone to specify the username for a remote host, but you’d
> have to get the ssh system to accept it. Assuming the other username also
> has your host in its authorized keys, then I suppose it might work - I’ve
> never tried it myself.
> >>
> >>
> >>>
> >>>
> > My recommendation would be to contact your sysadmin and ask for an
> exception instead of going through with this insanity (forgive the
> judgement here).
>  Agreed!
> 
> > Maxime
> >
> > Le 2015-04-13 09:47, Ralph Castain a écrit :
> >> 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 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 account and thus have
> access to another 4 machines but I am not sure whether it works.
> >>>
> >>>  --
> >>> Best Regards.
> >>> ---
> >>> Xing FENG
> >>> PhD Candidate
> >>> Database Research Group
> >>>
> >>> School of Computer Science and Engineering
> >>> University of New South Wales
> >>> NSW 2052, Sydney
> >>>
> >>> Phone: (+61) 413 857 288
> >>> ___
> >>> users mailing list
> >>> us...@open-mpi.org
> >>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> >>> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/04/26687.php
> >> ___
> >> users mailing list
> >> us...@open-mpi.org
> >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> >> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/04/26690.php
> >
> > --
> > -
> > Maxime Boissonneault
> > Analyste de calcul - Calcul Québec, Université Laval
> > Ph. D. en physique
> >
> > 

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, 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. Could you give a sample of specifying username in hostfile, please?
> 
> you just provide the host name as “username@host”
> 
>>   Another problem is do you also specify password in hostfile?
> 
> 
> Good heavens, no! It has to be password-less ssh. Frankly, I doubt this will 
> work as I suspect ssh isn’t going to let you do it.
> 
> 
>> 
>> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain  wrote:
>> 
>>> 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 
>  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 scheduler will allow this.
 I’m assuming he just plans to run the entire job as the other user. 
 Essentially, it would be the same as if his friend ran the job for him.
>>> From this comment :
>>> 
>>> 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 account and thus have 
>>> access to another 4 machines but I am not sure whether it works.
>>> 
>>> I assumed that he wants to run the job under _both_ accounts at the same 
>>> time.
>> 
>> I honestly don’t know if that would work. We do provide a way in the 
>> hostfile for someone to specify the username for a remote host, but you’d 
>> have to get the ssh system to accept it. Assuming the other username also 
>> has your host in its authorized keys, then I suppose it might work - I’ve 
>> never tried it myself.
>> 
>> 
>>> 
>>> 
> My recommendation would be to contact your sysadmin and ask for an 
> exception instead of going through with this insanity (forgive the 
> judgement here).
 Agreed!
 
> Maxime
> 
> Le 2015-04-13 09:47, Ralph Castain a écrit :
>> 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 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 account and thus have access 
>>> to another 4 machines but I am not sure whether it works.
>>> 
>>>  --
>>> Best Regards.
>>> ---
>>> Xing FENG
>>> PhD Candidate
>>> Database Research Group
>>> 
>>> School of Computer Science and Engineering
>>> University of New South Wales
>>> NSW 2052, Sydney
>>> 
>>> Phone: (+61) 413 857 288
>>> ___
>>> users mailing list
>>> us...@open-mpi.org
>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>>> Link to this post: 
>>> http://www.open-mpi.org/community/lists/users/2015/04/26687.php
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/users/2015/04/26690.php
> 
> -- 
> -
> Maxime Boissonneault
> Analyste de calcul - Calcul Québec, Université Laval
> Ph. D. en physique
> 
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26691.php
 ___
 users mailing list
 us...@open-mpi.org
 Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
 Link to this post: 
 http://www.open-mpi.org/community/lists/users/2015/04/26692.php
>>> 
>>> 
>>> -- 
>>> -
>>> Maxime Boissonneault
>>> Analyste de calcul - Calcul Québec, Université Laval
>>> Ph. D. en physique

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 prohibited on most sites, this "job 
coupling"

approach might be seen as acceptable

regardless the method you use, keep in mind you might run into some more 
basic
unix issues : some files are written by one uid, some others are written 
by an other,

so you might end up in some permission issues.

my 0.02 US$

Cheers,

Gilles

On 4/14/2015 10:24 AM, XingFENG wrote:

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 under both accounts at the same time.

Hi, Ralph,

I have searched about specifying username in hostfile and got no
related page. Could you give a sample of specifying username in
hostfile, please?


you just provide the host name as “username@host”


Another problem is do you also specify password in hostfile?



Good heavens, no! It has to be password-less ssh. Frankly, I doubt
this will work as I suspect ssh isn’t going to let you do it.




On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain > wrote:



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
> 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 scheduler will
allow this.

I’m assuming he just plans to run the entire job as the
other user. Essentially, it would be the same as if his
friend ran the job for him.

From this comment :

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 account and thus have access to another 4 machines
but I am not sure whether it works.

I assumed that he wants to run the job under _both_ accounts
at the same time.


I honestly don’t know if that would work. We do provide a way
in the hostfile for someone to specify the username for a
remote host, but you’d have to get the ssh system to accept
it. Assuming the other username also has your host in its
authorized keys, then I suppose it might work - I’ve never
tried it myself.






My recommendation would be to contact your sysadmin and
ask for an exception instead of going through with this
insanity (forgive the judgement here).

Agreed!


Maxime

Le 2015-04-13 09:47, Ralph Castain a écrit :

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 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 account and thus have access to
another 4 machines but I am not sure whether it works.

 --
Best Regards.
---
Xing FENG
PhD Candidate
Database Research Group

School of Computer Science and Engineering
University of New South Wales
NSW 2052, Sydney

Phone: (+61) 413 857 288 
___
users mailing list
us...@open-mpi.org 
Subscription:
http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2015/04/26687.php

___
users mailing list
us...@open-mpi.org 

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 under both accounts at the same time.
>
> Hi, Ralph,
>
> I have searched about specifying username in hostfile and got no related
> page. Could you give a sample of specifying username in hostfile, please?
>
>
> you just provide the host name as “username@host”
>
>   Another problem is do you also specify password in hostfile?
>
>
>
> Good heavens, no! It has to be password-less ssh. Frankly, I doubt this
> will work as I suspect ssh isn’t going to let you do it.
>
>
>
> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain  wrote:
>
>>
>> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault <
>> maxime.boissonnea...@calculquebec.ca> wrote:
>>
>> Le 2015-04-13 09:54, Ralph Castain a écrit :
>>
>> On Apr 13, 2015, at 6:52 AM, Maxime Boissonneault <
>> maxime.boissonnea...@calculquebec.ca> 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 scheduler will allow this.
>>
>> I’m assuming he just plans to run the entire job as the other user.
>> Essentially, it would be the same as if his friend ran the job for him.
>>
>> From this comment :
>>
>> 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 account and thus have
>> access to another 4 machines but I am not sure whether it works.
>>
>> I assumed that he wants to run the job under _both_ accounts at the same
>> time.
>>
>>
>> I honestly don’t know if that would work. We do provide a way in the
>> hostfile for someone to specify the username for a remote host, but you’d
>> have to get the ssh system to accept it. Assuming the other username also
>> has your host in its authorized keys, then I suppose it might work - I’ve
>> never tried it myself.
>>
>>
>>
>>
>> My recommendation would be to contact your sysadmin and ask for an
>> exception instead of going through with this insanity (forgive the
>> judgement here).
>>
>> Agreed!
>>
>> Maxime
>>
>> Le 2015-04-13 09:47, Ralph Castain a écrit :
>>
>> 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 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 account and thus have access to
>> another 4 machines but I am not sure whether it works.
>>
>>  --
>> Best Regards.
>> ---
>> Xing FENG
>> PhD Candidate
>> Database Research Group
>>
>> School of Computer Science and Engineering
>> University of New South Wales
>> NSW 2052, Sydney
>>
>> Phone: (+61) 413 857 288
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26687.php
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26690.php
>>
>>
>> --
>> -
>> Maxime Boissonneault
>> Analyste de calcul - Calcul Québec, Université Laval
>> Ph. D. en physique
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26691.php
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26692.php
>>
>>
>>
>> --
>> -
>> Maxime Boissonneault
>> Analyste de calcul - Calcul Québec, Université Laval
>> Ph. D. en physique
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26693.php
>>
>>
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> 

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. Could you give a sample of specifying username in hostfile, please?

you just provide the host name as “username@host”

>   Another problem is do you also specify password in hostfile?


Good heavens, no! It has to be password-less ssh. Frankly, I doubt this will 
work as I suspect ssh isn’t going to let you do it.


> 
> On Tue, Apr 14, 2015 at 12:05 AM, Ralph Castain  > wrote:
> 
>> 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 
 > 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 scheduler will allow this.
>>> I’m assuming he just plans to run the entire job as the other user. 
>>> Essentially, it would be the same as if his friend ran the job for him.
>> From this comment :
>> 
>> 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 account and thus have 
>> access to another 4 machines but I am not sure whether it works.
>> 
>> I assumed that he wants to run the job under _both_ accounts at the same 
>> time.
> 
> I honestly don’t know if that would work. We do provide a way in the hostfile 
> for someone to specify the username for a remote host, but you’d have to get 
> the ssh system to accept it. Assuming the other username also has your host 
> in its authorized keys, then I suppose it might work - I’ve never tried it 
> myself.
> 
> 
>> 
>> 
 My recommendation would be to contact your sysadmin and ask for an 
 exception instead of going through with this insanity (forgive the 
 judgement here).
>>> Agreed!
>>> 
 Maxime
 
 Le 2015-04-13 09:47, Ralph Castain a écrit :
> 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 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 account and thus have access to 
>> another 4 machines but I am not sure whether it works.
>> 
>>  --
>> Best Regards.
>> ---
>> Xing FENG
>> PhD Candidate
>> Database Research Group
>> 
>> School of Computer Science and Engineering
>> University of New South Wales
>> NSW 2052, Sydney
>> 
>> Phone: (+61) 413 857 288 
>> ___
>> users mailing list
>> us...@open-mpi.org 
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>> 
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/users/2015/04/26687.php 
>> 
> ___
> users mailing list
> us...@open-mpi.org 
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
> 
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26690.php 
> 
 
 -- 
 -
 Maxime Boissonneault
 Analyste de calcul - Calcul Québec, Université Laval
 Ph. D. en physique
 
 ___
 users mailing list
 us...@open-mpi.org 
 Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
 
 Link to this post: 
 http://www.open-mpi.org/community/lists/users/2015/04/26691.php 
 
>>> 

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 
>>> >> > 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 scheduler will allow this.
>> I’m assuming he just plans to run the entire job as the other user. 
>> Essentially, it would be the same as if his friend ran the job for him.
> From this comment :
> 
> 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 account and thus have 
> access to another 4 machines but I am not sure whether it works.
> 
> I assumed that he wants to run the job under _both_ accounts at the same time.

I honestly don’t know if that would work. We do provide a way in the hostfile 
for someone to specify the username for a remote host, but you’d have to get 
the ssh system to accept it. Assuming the other username also has your host in 
its authorized keys, then I suppose it might work - I’ve never tried it myself.


> 
> 
>>> My recommendation would be to contact your sysadmin and ask for an 
>>> exception instead of going through with this insanity (forgive the 
>>> judgement here).
>> Agreed!
>> 
>>> Maxime
>>> 
>>> Le 2015-04-13 09:47, Ralph Castain a écrit :
 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 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 account and thus have access to 
> another 4 machines but I am not sure whether it works.
> 
>  --
> Best Regards.
> ---
> Xing FENG
> PhD Candidate
> Database Research Group
> 
> School of Computer Science and Engineering
> University of New South Wales
> NSW 2052, Sydney
> 
> Phone: (+61) 413 857 288
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26687.php
 ___
 users mailing list
 us...@open-mpi.org
 Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
 Link to this post: 
 http://www.open-mpi.org/community/lists/users/2015/04/26690.php
>>> 
>>> -- 
>>> -
>>> Maxime Boissonneault
>>> Analyste de calcul - Calcul Québec, Université Laval
>>> Ph. D. en physique
>>> 
>>> ___
>>> users mailing list
>>> us...@open-mpi.org
>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>>> Link to this post: 
>>> http://www.open-mpi.org/community/lists/users/2015/04/26691.php
>> ___
>> users mailing list
>> us...@open-mpi.org 
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>> 
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/users/2015/04/26692.php 
>> 
> 
> 
> -- 
> -
> Maxime Boissonneault
> Analyste de calcul - Calcul Québec, Université Laval
> Ph. D. en physique
> 
> ___
> users mailing list
> us...@open-mpi.org 
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
> 
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26693.php 
> 


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 that no resource manager or scheduler will allow this.

I’m assuming he just plans to run the entire job as the other user. 
Essentially, it would be the same as if his friend ran the job for him.

From this comment :

 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 account and thus have 
access to another 4 machines but I am not sure whether it works.

I assumed that he wants to run the job under _both_ accounts at the same 
time.




My recommendation would be to contact your sysadmin and ask for an exception 
instead of going through with this insanity (forgive the judgement here).

Agreed!


Maxime

Le 2015-04-13 09:47, Ralph Castain a écrit :

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 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 account and thus have access to another 4 machines but 
I am not sure whether it works.

  --
Best Regards.
---
Xing FENG
PhD Candidate
Database Research Group

School of Computer Science and Engineering
University of New South Wales
NSW 2052, Sydney

Phone: (+61) 413 857 288
___
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2015/04/26687.php

___
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2015/04/26690.php


--
-
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Ph. D. en physique

___
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2015/04/26691.php

___
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2015/04/26692.php



--
-
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Ph. D. en physique



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 scheduler will allow this.

I’m assuming he just plans to run the entire job as the other user. 
Essentially, it would be the same as if his friend ran the job for him.

> 
> My recommendation would be to contact your sysadmin and ask for an exception 
> instead of going through with this insanity (forgive the judgement here).

Agreed!

> 
> Maxime
> 
> Le 2015-04-13 09:47, Ralph Castain a écrit :
>> 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 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 account and thus have access to 
>>> another 4 machines but I am not sure whether it works.
>>> 
>>>  -- 
>>> Best Regards.
>>> ---
>>> Xing FENG
>>> PhD Candidate
>>> Database Research Group
>>> 
>>> School of Computer Science and Engineering
>>> University of New South Wales
>>> NSW 2052, Sydney
>>> 
>>> Phone: (+61) 413 857 288
>>> ___
>>> users mailing list
>>> us...@open-mpi.org
>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>>> Link to this post: 
>>> http://www.open-mpi.org/community/lists/users/2015/04/26687.php
>> ___
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/users/2015/04/26690.php
> 
> 
> -- 
> -
> Maxime Boissonneault
> Analyste de calcul - Calcul Québec, Université Laval
> Ph. D. en physique
> 
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26691.php



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 going through with this insanity (forgive the 
judgement here).


Maxime

Le 2015-04-13 09:47, Ralph Castain a écrit :

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 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 account and thus have access to another 4 machines but 
I am not sure whether it works.

  
--

Best Regards.
---
Xing FENG
PhD Candidate
Database Research Group

School of Computer Science and Engineering
University of New South Wales
NSW 2052, Sydney

Phone: (+61) 413 857 288
___
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2015/04/26687.php

___
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2015/04/26690.php



--
-
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Ph. D. en physique



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 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 account and thus have access to another 4 
> machines but I am not sure whether it works.
> 
>  
> -- 
> Best Regards.
> ---
> Xing FENG
> PhD Candidate
> Database Research Group
> 
> School of Computer Science and Engineering
> University of New South Wales
> NSW 2052, Sydney
> 
> Phone: (+61) 413 857 288
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26687.php



[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 account and thus have access to
another 4 machines but I am not sure whether it works.


-- 
Best Regards.
---
Xing FENG
PhD Candidate
Database Research Group

School of Computer Science and Engineering
University of New South Wales
NSW 2052, Sydney

Phone: (+61) 413 857 288