I see - I'll try to devise a patch for you shortly.
On Sep 7, 2011, at 10:58 AM, Blosch, Edwin L wrote:
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:firstname.lastname@example.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?