Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] EXTERNAL: Re: Can you set the gid of the processes created by mpirun?
From: Reuti (reuti_at_[hidden])
Date: 2011-09-14 12:01:23


Hi,

Am 14.09.2011 um 17:39 schrieb Blosch, Edwin L:

> Thanks, Ralph,
>
> I get the failure messages, unfortunately:
>
> setgid FAILED
> setgid FAILED
> setgid FAILED

N.B.: This would be a side effect of the tight integration to do it automatcially for all slave tasks.

-- Reuti

> I actually had attempted to call setgid from within the application previously, which looks similar to what you've done, but it failed. That was when I initiated the post to the mailing list. My conclusion, a guess really, was that Linux would not let me setgid from within my program because I was not root.
>
>
> -----Original Message-----
> From: users-bounces_at_[hidden] [mailto:users-bounces_at_[hidden]] On Behalf Of Ralph Castain
> Sent: Wednesday, September 14, 2011 8:15 AM
> To: Open MPI Users
> Subject: Re: [OMPI users] EXTERNAL: Re: Can you set the gid of the processes created by mpirun?
>
> The attached should set the gid of the remote daemons (and their children) to the gid of mpirun. No cmd line option or anything is required - it will just always do it.
>
> Would you mind giving it a try?
>
> Please let me know if/how it works.
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users