Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Can you set the gid of the processes created by mpirun?
From: Blosch, Edwin L (edwin.l.blosch_at_[hidden])
Date: 2011-09-07 12:58:56


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).


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?

users mailing list