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@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@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@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@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.vandervl...@surfsara.nl | www.surfsara.nl |

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to