In the following files: ./slurm-spank-x11.c ./slurm-spank-x11-plug.c
There is a hardcoded definition: #define X11_LIBEXEC_PROG "/usr/libexec/slurm-spank-x11" that can cause problems on distributions not using /usr/libexec directory. I have been fighting with the following error when launching an interactive job: srun: debug2: initialized job control port 46863 srun: debug: x11: interactive mode : executing /usr/lib/slurm-spank-x11 -t amdahl -i 3983.0 -cgw -s "ssh" -o "" 2>/dev/null & srun: error: x11: unable to connect node amdahl srun: debug2: spank: x11.so: local_user_init = 0 srun: debug: Entering slurm_step_launch When trying to execute /usr/lib/slurm-spank-x11 a "file not found" message was found. I tracked it and concluded that the problem was that libexec directory was not in my OpenSuSE distribution. Workarounds: 1. Modify the source code changing the define statment. 2. Create a symlink from /usr/lib to /usr/libexec I suppose that this variable could be defined in the spec file, but there are not commits since 2014 in github so I wanted to leave here the workarounds for if other people is using this plugin and have the same problem. Regards, Felip M *--Felip Moll Marquès* Computer Science Engineer E-Mail - [email protected] WebPage - http://lipix.ciutadella.es
