On Friday, 23 November 2018 7:34:42 PM AEDT Mahmood Naderan wrote: > Now, the question is, why the following error happens when we now that x11 > support had been enabled during the compilation. > > [mahmood@rocks7 ~]$ srun --x11 --nodelist=compute-0-5 -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.
As explained elsewhere in this thread, it's a limitation in Slurm. I suspect if you do: echo $DISPLAY it will say something like :0 and Slurm doesn't allow that at present. All the best, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC