[GE users] Is there a way to run prolog scripts (as root) in all machines involved in the Parallel task?

reuti reuti at staff.uni-marburg.de
Thu Mar 11 17:41:19 GMT 2010


Am 11.03.2010 um 18:03 schrieb goncalo:

> I'm trying to configure a HPC cluster with infiniband using SGE.
> I'm trying to run several openmpi instances in several machines,
> starting them via ssh. However I have the following problem:
> - I want to restrict the user application to be able to ssh only to  
> the
> machines declared in PE_HOSTFILE.

why do you want to do so? Open MPI is tighly integrated into SGE as  
long as you compile it --with-sge in the configure step. SGE would  
disallow a `qrsh -inherit ...` to a machine not in the granted list  
of machines. Whether it uses -builtin-, rsh, ssh or tight-ssh as  
startup method doesn't matter.

> I though I could do that with the ssh
> and pam module, adding with some kind of root prolog script the  
> user to
> /etc/ssh/allow.pamlist. However, I do not seem to find a way to run  
> that
> root prolog script in all machines involved in the Parallel task, but
> only in the first machine...

No, it's an RFE:


In the prolog you can use a loop across the list of machines to do it  
on your own though.

-- Reuti

> Is there an easy way to do this
> Thanks in Advance
> Cheers
> Goncalo
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do? 
> dsForumId=38&dsMessageId=248036
> To unsubscribe from this discussion, e-mail: [users- 
> unsubscribe at gridengine.sunsource.net].


To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list