<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;" bidimailui-charset-is-forced="true"
    bgcolor="#FFFFFF" text="#000000">
    Maybe you've got a mistake?<br>
    replace:<br>
    <pre wrap="">echo -e "optional\tx11.so" >> ./plugstack.conf</pre>
    with<br>
    <pre wrap="">echo -e "optional\x11.so" >> ./plugstack.conf</pre>
    <br>
    <br>
    <div class="moz-cite-prefix">On 15/05/2018 21:35, Mahmood Naderan
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADa2P2XnRM-E4ekiBAsdTXZZTcWvr6d=vK1zG6o=yYM7N76F8A@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,
I followed the steps described in [1]. However, srun still says --x11
is not a valid option. Should I restart slurm processes? That is not
mentioned in that document.


[root@rocks7 ~]# git clone <a class="moz-txt-link-freetext" href="https://github.com/hautreux/slurm-spank-x11">https://github.com/hautreux/slurm-spank-x11</a>
Cloning into 'slurm-spank-x11'...
remote: Counting objects: 28, done.
remote: Total 28 (delta 0), reused 0 (delta 0), pack-reused 28
Unpacking objects: 100% (28/28), done.
[root@rocks7 ~]# cd slurm-spank-x11/
[root@rocks7 slurm-spank-x11]# grep "define X11_" slurm-spank-x11.c
#define X11_LIBEXEC_PROG            "/usr/libexec/slurm-spank-x11"
[root@rocks7 slurm-spank-x11]# grep "define X11_LIBEXEC_PROG"
slurm-spank-x11-plug.c
#define X11_LIBEXEC_PROG         "/usr/libexec/slurm-spank-x11"
[root@rocks7 slurm-spank-x11]# gcc -g -o slurm-spank-x11 slurm-spank-x11.c
[root@rocks7 slurm-spank-x11]# gcc -g -shared -fPIC -o x11.so
slurm-spank-x11-plug.c
[root@rocks7 slurm-spank-x11]# install -m 755 slurm-spank-x11 /usr/libexec/
[root@rocks7 slurm-spank-x11]# install -m 755 x11.so /lib64/slurm/
[root@rocks7 slurm-spank-x11]# echo -e "optional\tx11.so" >> ./plugstack.conf
[root@rocks7 slurm-spank-x11]# ls -l /usr/libexec/slurm-spank-x11
-rwxr-xr-x 1 root root 22328 May 15 23:00 /usr/libexec/slurm-spank-x11
[root@rocks7 slurm-spank-x11]# ls -l /lib64/slurm/x11.so
-rwxr-xr-x 1 root root 39544 May 15 23:00 /lib64/slurm/x11.so
[root@rocks7 slurm-spank-x11]# srun --x11
srun: unrecognized option '--x11'
srun: unrecognized option '--x11'
Try "srun --help" for more information



Any idea?


[1] <a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/faq.html#x11">https://slurm.schedmd.com/faq.html#x11</a>

Regards,
Mahmood


</pre>
    </blockquote>
    <br>
  </body>
</html>