I see - I'll try to devise a patch for you shortly.

On Sep 7, 2011, at 10:58 AM, Blosch, Edwin L wrote:

> Ralph,
>  
> Thanks for the reply.   I’m using 1.4.2.
>  
> We have a job queueing system with a prioritization scheme where the 
> priorities of jobs are in part a function of the group id.  This is why, for 
> us, it is common that the initial mpirun command executes with a group other 
> than the user’s default group.   We also have some applications where each 
> process writes data to disk, and the resulting collection of output files has 
> mixed group permissions.  This creates problems --- mostly just inconvenience 
> --- but I could imagine some security-conscious folks might be more concerned 
> about it.   Also, if it’s relevant, the OpenMPI we are using is built without 
> support for the job-queueing system (our preference for various reasons).
>  
> Ed
>  
> From: Ralph Castain [mailto:r...@open-mpi.org] 
> 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
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>  
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to