Hi,

> Am 22.03.2018 um 16:15 schrieb Leconte I2BC 
> <jerome.leco...@i2bc.paris-saclay.fr>:
> 
> Hello,
> 
>    Maybe it is simple ...
> 
>   My problem is the folowing
> 
>   My user must not connect to nodes with ssh ... but only with qrsh or qlogin
> 
> I've modified sshd_config to do that, but now mpi is not working !
> 
> What can I do to refuse ssh connexion on nodes  to my user  and to have 
> mpirun working ???

There us no need to have SSH enabled for such a setup.

a) Configure the /etc/ssh/sshd_config on all the nodes so that only admin staff 
can log in to a node. I created a group for this purpose "operator" for them 
and use "AllowGroups root operator" in the mentioned file.

b) To ease the login to the nodes, one can define hostbased authentication: 
https://arc.liv.ac.uk/SGE/howto/hostbased-ssh.html (but this is optional).

c) Be sure that the SGE startup of remote processes uses the "builtin" method:

$ qconf -sconf
#global:
...
qlogin_command               builtin
qlogin_daemon                builtin
rlogin_command               builtin
rlogin_daemon                builtin
rsh_command                  builtin
rsh_daemon                   builtin

https://arc.liv.ac.uk/SGE/htmlman/htmlman5/remote_startup.html

d) Compile Open MPI with the switch "--with-sge", while MPICH and Intel MPI 
(which is also related to MPICH) support this out of the box.

-- Reuti
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to