Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Can you set the gid of the processes created by mpirun?
From: Ed Blosch (eblosch_at_[hidden])
Date: 2011-09-07 22:04:27


Typically it is something like 'qsub -W group_list=groupB <other options>
myjob.sh'. Ultimately myjob.sh runs with gid groupB on some host in the
cluster. When that script reaches the mpirun command, then mpirun and the
processes started on the same host all run with gid groupB, but any of the
spawned processes that start on other hosts run with the user's default
group, say groupA.

It did occur to me that the launching technique might have some ability to
influence this behavior as you indicated. I don't know what launcher is
being used in our cases, I guess it's rsh/ssh.

-----Original Message-----
From: users-bounces_at_[hidden] [mailto:users-bounces_at_[hidden]] On
Behalf Of Reuti
Sent: Wednesday, September 07, 2011 12:24 PM
To: Open MPI Users
Subject: Re: [OMPI users] Can you set the gid of the processes created by
mpirun?

Hi,

you mean you change the group id of the user before you submit the job? In
GridEngine you can specify whether the actual group id should be used for
the job, or the default login id.

Having a tight integration, also the slave processes will run with the same
group id.

-- Reuti

> Ed
>
> From: Ralph Castain [mailto:rhc_at_[hidden]]
> Sent: Wednesday, September 07, 2011 8:53 AM
> To: Open MPI Users
> Subject: Re: [OMPI users] Can you set the gid of the processes created by
mpirun?
>
> On Sep 7, 2011, at 7:38 AM, Blosch, Edwin L wrote:
>
>
> The mpirun command is invoked when the user's group is 'set group' to
group 650. When the rank 0 process creates files, they have group ownership
650. But the user's login group is group 1040. The child processes that get
started on other nodes run with group 1040, and the files they create have
group ownership 1040.
>
> Is there a way to tell mpirun to start the child processes with the same
uid and gid as the rank 0 process?
>
> I'm afraid not - never came up before. Could be done, but probably not
right away. What version are you using?
>
>
>
> Thanks
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

_______________________________________________
users mailing list
users_at_[hidden]
http://www.open-mpi.org/mailman/listinfo.cgi/users