[slurm-users] About x11 support

Bas van der Vlies bas.vandervlies at surfsara.nl
Fri Nov 16 04:13:19 MST 2018


It is compile\d with `-x11` else you get an error message that the 
option is not supported.  As said it only supports RSA-keys (hardcoded 
in the src, libssh2 can handle more formats) and you must use short 
hostnames. Another thing is we had to set:
  * X11Parameters=local_xauthority

because we have autofs enabled home dirs.

regards


On 16/11/2018 08:28, Mahmood Naderan wrote:
>  >You can (apparently) still use the external plugin if you build Slurm 
> without
>  >its internal X11 support.
> 
> Is there any way to query slurm to see if the x11 module has been compiled?
> Currently, I am using the slurm roll on rocks 7. Previously, I was able 
> to use spank with slurm roll 17.
> 
> While, the spank rpm is now uninstalled, I tried the following cases:
> 
> 1)
> [mahmood at rocks7 ~]$ srun --nodelist=rocks7 -n 1 -c 6 --mem=8G -A y8 -p 
> RUBY xclock
> Warning: Missing charsets in String to FontSet conversion
> which shows the xclock
> 
> 2)
> [mahmood at rocks7 ~]$ srun --x11 --nodelist=rocks7 -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.
> 
> 
> 3)
> [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
> 
> 
> 4)
> [mahmood at 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.
> 
> 
> 
> Regards,
> Mahmood
> 

-- 
--
Bas van der Vlies
| Operations, Support & Development | SURFsara | Science Park 140 | 1098 
XG  Amsterdam
| T +31 (0) 20 800 1300  | bas.vandervlies at surfsara.nl | www.surfsara.nl |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3601 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181116/8384950b/attachment.bin>


More information about the slurm-users mailing list