[slurm-users] About x11 support

Olivier Sallou olivier.sallou at irisa.fr
Tue Nov 20 00:41:50 MST 2018


On 11/19/18 4:51 PM, Mahmood Naderan wrote:
> With and without --x11, I am not able to see xclock on a compute node.


>
> [mahmood at rocks7 ~]$ srun --x11 --nodelist=compute-0-3 -n 1 -c 6
> --mem=8G -A y8 -p RUBY xclock
> srun: error: Cannot forward to local display. Can only use X11
> forwarding with network displays.
> [mahmood at rocks7 ~]$ srun  --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A
> y8 -p RUBY xclock
> Error: Can't open display: :1
> srun: error: compute-0-3: task 0: Exited with exit code 1
> [mahmood at rocks7 ~]$
> [mahmood at rocks7 ~]$ rocks run host compute-0-3 "yum list libssh2-devel"
> Warning: untrusted X11 forwarding setup failed: xauth key data not
> generated
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> Installed Packages
> libssh2-devel.x86_64                 1.4.3-10.el7_2.1                
> @Rocks-7.0
> Available Packages
> libssh2-devel.i686                   1.4.3-10.el7_2.1                
> Rocks-7.0
> [mahmood at rocks7 ~]$ rocks run host compute-0-3 "yum list xorg-x11-apps"
> Warning: untrusted X11 forwarding setup failed: xauth key data not
> generated
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> Installed Packages
> xorg-x11-apps.x86_64                    7.7-7.el7                    
> @Rocks-7.0


and do you have in ~/.ssh/ and an ssh key named "id_rsa" and is
passwordless ?


you should see in /var/log/slurm/slurmd.conf (on compute node) some
errors at the time of your job.




>
>
> The ssh config seems to be right
>
>
>
> Regards,
> Mahmood
>
>
>
>
> On Mon, Nov 19, 2018 at 3:27 PM Chris Samuel <chris at csamuel.org
> <mailto:chris at csamuel.org>> wrote:
>
>     On Sunday, 18 November 2018 4:24:08 AM AEDT Mahmood Naderan wrote:
>
>     >  >What does this command say?
>     > >
>     > >scontrol show config | fgrep PrologFlags
>     >
>     > [root at rocks7 ~]#  scontrol show config | fgrep PrologFlags
>     > PrologFlags             = Alloc,Contain,X11
>     >
>     > That means x11 has been compiled in the code (while Werner
>     created the
>     > roll).
>
>     No, that means that you've got the PrologFlags set in your
>     slurm.conf, I'm
>     afriad it doesn't mean Slurm is compiled with X11 support.
>
>     > >Check your slurmd logs on the compute node.  What errors are there?
>     >
>     > In one terminal, I run the following command
>     >
>     > [mahmood at rocks7 ~]$ srun --nodelist=compute-0-5 -n 1 -c 6
>     --mem=8G -A y8 -p
>     > RUBY xclock
>     > Error: Can't open display :1
>     > srun: error: compute-0-5: task 0: Exited with exit code 1
>
>     You forgot the --x11 flag to srun!
>
>     Can you try again with that flag please?
>
>     All the best,
>     Chris
>     -- 
>      Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>
>
>
>
-- 
Olivier Sallou
Univ Rennes, Inria, CNRS, IRISA
Irisa, Campus de Beaulieu
F-35042 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181120/25f79db4/attachment.html>


More information about the slurm-users mailing list