Hallo Dennis, it could be that you have to add "--pty" in your command line. srun --x11=all --pty xclock
Regards, Danny Am 28.01.2015 um 07:10 schrieb Dennis Zheleznyak:
Re: [slurm-dev] Unable to use Spank-X11 plugin Anyone ?On Jan 24, 2015 7:37 PM, "Dennis Zheleznyak" <[email protected] <mailto:[email protected]>> wrote:Hi all, I downloaded the source file, built the RPM and installed it. Afterwards, I created a file named plugstack.conf and added the following line: * include /etc/slurm/plugstack.conf.d/* Then I create a file named run that contains the following content: * #!/bin/bash * srun --x11=all xclock I gave the file +x permissions using chmod and sent it to slurm using: * sbatch -w node1 run The output file says Error: can't open display localhost:10.0. However, when I run the command srun -w node1 --x11=all xclock, everything seems to be working fine and I mange to get the xclock GUI as it also says xclock (on node1). Am I doing something wrong? Thank you, Dennis.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Danny Rotscher Azubi Technische Universitaet Dresden Center for Information Services and High Performance Computing Distributed and Data Intensive Computing 01062 Dresden Tel.: +49 351 463-35853 Fax : +49 351 463-37773 E-Mail: [email protected] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
smime.p7s
Description: S/MIME Cryptographic Signature
