<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 11/19/18 4:51 PM, Mahmood Naderan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADa2P2VZ=F54UCRyjsx-Qu_xxrxHDmBJygWmfm6mfX-4=54SGg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div style="font-family:tahoma,sans-serif"
class="gmail_default">With and without --x11, I am not able
to see xclock on a compute node.</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CADa2P2VZ=F54UCRyjsx-Qu_xxrxHDmBJygWmfm6mfX-4=54SGg@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif">[mahmood@rocks7 ~]$
srun --x11 --nodelist=compute-0-3 -n 1 -c 6 --mem=8G -A y8
-p RUBY xclock<br>
srun: error: Cannot forward to local display. Can only use
X11 forwarding with network displays.<br>
[mahmood@rocks7 ~]$ srun --nodelist=compute-0-3 -n 1 -c 6
--mem=8G -A y8 -p RUBY xclock<br>
Error: Can't open display: :1<br>
srun: error: compute-0-3: task 0: Exited with exit code 1<br>
[mahmood@rocks7 ~]$ <br>
[mahmood@rocks7 ~]$ rocks run host compute-0-3 "yum list
libssh2-devel"<br>
Warning: untrusted X11 forwarding setup failed: xauth key
data not generated<br>
Loaded plugins: fastestmirror<br>
Loading mirror speeds from cached hostfile<br>
Installed Packages<br>
libssh2-devel.x86_64
1.4.3-10.el7_2.1 @Rocks-7.0<br>
Available Packages<br>
libssh2-devel.i686
1.4.3-10.el7_2.1 Rocks-7.0 <br>
[mahmood@rocks7 ~]$ rocks run host compute-0-3 "yum list
xorg-x11-apps"<br>
Warning: untrusted X11 forwarding setup failed: xauth key
data not generated<br>
Loaded plugins: fastestmirror<br>
Loading mirror speeds from cached hostfile<br>
Installed Packages<br>
xorg-x11-apps.x86_64
7.7-7.el7 @Rocks-7.0<br>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>and do you have in ~/.ssh/ and an ssh key named "id_rsa" and is
passwordless ?</p>
<p><br>
</p>
<p>you should see in /var/log/slurm/slurmd.conf (on compute node)
some errors at the time of your job.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CADa2P2VZ=F54UCRyjsx-Qu_xxrxHDmBJygWmfm6mfX-4=54SGg@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif">The ssh config seems
to be right</div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
<br clear="all">
</div>
<div>
<div dir="ltr" class="m_-5093278184690919800gmail_signature">
<div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>
Mahmood</font><br>
<br>
<br>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Nov 19, 2018 at 3:27 PM Chris Samuel <<a
href="mailto:chris@csamuel.org" target="_blank"
moz-do-not-send="true">chris@csamuel.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">On Sunday,
18 November 2018 4:24:08 AM AEDT Mahmood Naderan wrote:<br>
<br>
> >What does this command say?<br>
> ><br>
> >scontrol show config | fgrep PrologFlags<br>
> <br>
> [root@rocks7 ~]# scontrol show config | fgrep
PrologFlags<br>
> PrologFlags = Alloc,Contain,X11<br>
> <br>
> That means x11 has been compiled in the code (while
Werner created the<br>
> roll).<br>
<br>
No, that means that you've got the PrologFlags set in your
slurm.conf, I'm <br>
afriad it doesn't mean Slurm is compiled with X11 support.<br>
<br>
> >Check your slurmd logs on the compute node. What
errors are there?<br>
> <br>
> In one terminal, I run the following command<br>
> <br>
> [mahmood@rocks7 ~]$ srun --nodelist=compute-0-5 -n 1 -c 6
--mem=8G -A y8 -p<br>
> RUBY xclock<br>
> Error: Can't open display :1<br>
> srun: error: compute-0-5: task 0: Exited with exit code 1<br>
<br>
You forgot the --x11 flag to srun!<br>
<br>
Can you try again with that flag please?<br>
<br>
All the best,<br>
Chris<br>
-- <br>
Chris Samuel : <a href="http://www.csamuel.org/"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.csamuel.org/</a>
: Melbourne, VIC<br>
<br>
<br>
<br>
<br>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
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
</pre>
</body>
</html>