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 <r...@open-mpi.org
<mailto:r...@open-mpi.org>> wrote:
On Apr 13, 2015, at 5:47 PM, XingFENG <xingf...@cse.unsw.edu.au
<mailto: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
Link to this post:
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
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 <mailto: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 <mailto: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 <mailto: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 <mailto: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/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 <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
Link to this post:
http://www.open-mpi.org/community/lists/users/2015/04/26707.php
_______________________________________________
users mailing list
us...@open-mpi.org <mailto: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/26708.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/26709.php