Re: [slurm-users] Building SLURM with X11 support
Hi all, I managed to solve the issue...xauth was missing from the compute nodes! I increased the debug level in the slurmd logging and finally figured it out. Thanks again for your help, Thekla On 28/5/21 2:15 μ.μ., Marcus Boden wrote: Hi Thekla, these are all the installed packages with x11 in the name: libX11 libX11-common libX11-devel xorg-x11-apps xorg-x11-drv-intel xorg-x11-fonts-Type1 xorg-x11-font-utils xorg-x11-proto-devel xorg-x11-server-common xorg-x11-server-utils xorg-x11-server-Xorg xorg-x11-utils xorg-x11-xauth xorg-x11-xbitmaps xorg-x11-xinit xorg-x11-xkb-utils Hope that help! Marcus On 28.05.21 13:01, Thekla Loizou wrote: Dear Marcus, Thanks a lot once again for the reply. Would it be easy for you to tell me which X development libraries you have on your system? I cannot find something in the configure script.. Thanks, Thekla On 28/5/21 12:56 μ.μ., Marcus Boden wrote: I have the same in our config.log and the x11 forwarding works fine. No other lines around it (about some failing checks or something), just this: [...] configure:22134: WARNING: unable to locate rrdtool installation configure:22176: support for ucx disabled configure:22296: checking whether Slurm internal X11 support is enabled configure:22311: result: configure:22350: checking for check >= 0.9.8 [...] Best, Marcus On 28.05.21 09:26, Bjørn-Helge Mevik wrote: Thekla Loizou writes: Also, when compiling SLURM in the config.log I get: configure:22291: checking whether Slurm internal X11 support is enabled configure:22306: result: The result is empty. I read that X11 is build by default so I don't expect a special flag to be given during compilation time right? My guess is that some X development library is missing. Perhaps look in the configure script for how this test was done (typically it will try to compile something with those devel libraries, and fail). Then see which package contains that library, install it and try again.
Re: [slurm-users] Building SLURM with X11 support
I have the same in our config.log and the x11 forwarding works fine. No other lines around it (about some failing checks or something), just this: [...] configure:22134: WARNING: unable to locate rrdtool installation configure:22176: support for ucx disabled configure:22296: checking whether Slurm internal X11 support is enabled configure:22311: result: configure:22350: checking for check >= 0.9.8 [...] Best, Marcus On 28.05.21 09:26, Bjørn-Helge Mevik wrote: Thekla Loizou writes: Also, when compiling SLURM in the config.log I get: configure:22291: checking whether Slurm internal X11 support is enabled configure:22306: result: The result is empty. I read that X11 is build by default so I don't expect a special flag to be given during compilation time right? My guess is that some X development library is missing. Perhaps look in the configure script for how this test was done (typically it will try to compile something with those devel libraries, and fail). Then see which package contains that library, install it and try again. -- Marcus Vincent Boden, M.Sc. Arbeitsgruppe eScience, HPC-Team Tel.: +49 (0)551 201-2191, E-Mail: mbo...@gwdg.de - Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Am Faßberg 11, 37077 Göttingen, URL: https://www.gwdg.de Support: Tel.: +49 551 201-1523, URL: https://www.gwdg.de/support Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: g...@gwdg.de Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 Zertifiziert nach ISO 9001 - smime.p7s Description: S/MIME Cryptographic Signature
Re: [slurm-users] Building SLURM with X11 support
Thekla Loizou writes: > Also, when compiling SLURM in the config.log I get: > > configure:22291: checking whether Slurm internal X11 support is enabled > configure:22306: result: > > The result is empty. I read that X11 is build by default so I don't > expect a special flag to be given during compilation time right? My guess is that some X development library is missing. Perhaps look in the configure script for how this test was done (typically it will try to compile something with those devel libraries, and fail). Then see which package contains that library, install it and try again. -- B/H signature.asc Description: PGP signature
Re: [slurm-users] Building SLURM with X11 support
Thank you both for your replies. Our OS is CentOS 7.7. We have the dependencies installed and also the PrologFlags=X11 in the slurm.conf. Perhaps I am missing some X11 packages? But X11 is working outside SLURM. When getting interactive access on a node basically I get: salloc -N1 --x11 salloc: Granted job allocation 4694 salloc: Waiting for resource configuration salloc: Job allocation 4694 has been revoked. Also, when compiling SLURM in the config.log I get: configure:22291: checking whether Slurm internal X11 support is enabled configure:22306: result: The result is empty. I read that X11 is build by default so I don't expect a special flag to be given during compilation time right? Thanks, Thekla On 27/5/21 3:23 μ.μ., Ole Holm Nielsen wrote: On 5/27/21 2:07 PM, Thekla Loizou wrote: I am trying to use X11 forwarding in SLURM with no success. We are installing SLURM using RPMs that we generate with the command "rpmbuild -ta slurm*.tar.bz2" as per the documentation. I am currently working with SLURM version 20.11.7-1. What I am missing when it comes to build SLURM with X11 enabled? Which flags and packages are required? What is your OS? Do you have X11 installed? Did you install all Slurm prerequisites? For CentOS 7 it is: yum install rpm-build gcc openssl openssl-devel libssh2-devel pam-devel numactl numactl-devel hwloc hwloc-devel lua lua-devel readline-devel rrdtool-devel ncurses-devel gtk2-devel libssh2-devel libibmad libibumad perl-Switch perl-ExtUtils-MakeMaker see https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#install-prerequisites I hope this helps. /Ole
Re: [slurm-users] Building SLURM with X11 support
Hi Thekla, it is build in by default since... some time. You need to activate it by adding PrologFlags=X11 to your slurm.conf (see here: https://slurm.schedmd.com/slurm.conf.html#OPT_PrologFlags) Best, Marcus On 27.05.21 14:07, Thekla Loizou wrote: Dear all, I am trying to use X11 forwarding in SLURM with no success. We are installing SLURM using RPMs that we generate with the command "rpmbuild -ta slurm*.tar.bz2" as per the documentation. I am currently working with SLURM version 20.11.7-1. What I am missing when it comes to build SLURM with X11 enabled? Which flags and packages are required? Regards, Thekla -- Marcus Vincent Boden, M.Sc. Arbeitsgruppe eScience, HPC-Team Tel.: +49 (0)551 201-2191, E-Mail: mbo...@gwdg.de - Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Am Faßberg 11, 37077 Göttingen, URL: https://www.gwdg.de Support: Tel.: +49 551 201-1523, URL: https://www.gwdg.de/support Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: g...@gwdg.de Geschäftsführer: Prof. Dr. Ramin Yahyapour Aufsichtsratsvorsitzender: Prof. Dr. Norbert Lossau Sitz der Gesellschaft: Göttingen Registergericht: Göttingen, Handelsregister-Nr. B 598 Zertifiziert nach ISO 9001 - smime.p7s Description: S/MIME Cryptographic Signature
Re: [slurm-users] Building SLURM with X11 support
On 5/27/21 2:07 PM, Thekla Loizou wrote: I am trying to use X11 forwarding in SLURM with no success. We are installing SLURM using RPMs that we generate with the command "rpmbuild -ta slurm*.tar.bz2" as per the documentation. I am currently working with SLURM version 20.11.7-1. What I am missing when it comes to build SLURM with X11 enabled? Which flags and packages are required? What is your OS? Do you have X11 installed? Did you install all Slurm prerequisites? For CentOS 7 it is: yum install rpm-build gcc openssl openssl-devel libssh2-devel pam-devel numactl numactl-devel hwloc hwloc-devel lua lua-devel readline-devel rrdtool-devel ncurses-devel gtk2-devel libssh2-devel libibmad libibumad perl-Switch perl-ExtUtils-MakeMaker see https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#install-prerequisites I hope this helps. /Ole
[slurm-users] Building SLURM with X11 support
Dear all, I am trying to use X11 forwarding in SLURM with no success. We are installing SLURM using RPMs that we generate with the command "rpmbuild -ta slurm*.tar.bz2" as per the documentation. I am currently working with SLURM version 20.11.7-1. What I am missing when it comes to build SLURM with X11 enabled? Which flags and packages are required? Regards, Thekla