> On Apr 13, 2015, at 5:47 PM, XingFENG <xingf...@cse.unsw.edu.au> 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 <r...@open-mpi.org 
> <mailto:r...@open-mpi.org>> wrote:
> 
>> On Apr 13, 2015, at 6:56 AM, Maxime Boissonneault 
>> <maxime.boissonnea...@calculquebec.ca 
>> <mailto: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 
>>>> <mailto: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 <xingf...@cse.unsw.edu.au 
>>>>>> <mailto:xingf...@cse.unsw.edu.au>> 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 <tel:%28%2B61%29%20413%20857%20288>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> us...@open-mpi.org <mailto:us...@open-mpi.org>
>>>>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>>>>>> <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 
>>>>>> <http://www.open-mpi.org/community/lists/users/2015/04/26687.php>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> us...@open-mpi.org <mailto:us...@open-mpi.org>
>>>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>>>>> <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 
>>>>> <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 <mailto:us...@open-mpi.org>
>>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>>>> <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 
>>>> <http://www.open-mpi.org/community/lists/users/2015/04/26691.php>
>>> _______________________________________________
>>> users mailing list
>>> us...@open-mpi.org <mailto:us...@open-mpi.org>
>>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>>> <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 
>>> <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 <mailto:us...@open-mpi.org>
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
>> <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 
>> <http://www.open-mpi.org/community/lists/users/2015/04/26693.php>
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org <mailto:us...@open-mpi.org>
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users 
> <http://www.open-mpi.org/mailman/listinfo.cgi/users>
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/04/26694.php 
> <http://www.open-mpi.org/community/lists/users/2015/04/26694.php>
> 
> 
> 
> -- 
> 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/26707.php

Reply via email to