[slurm-users] About x11 support

Chris Samuel chris at csamuel.org
Mon Nov 19 04:53:37 MST 2018


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






More information about the slurm-users mailing list