Re: [slurm-users] Srun not setting DISPLAY with --x11 for one account

2020-01-27 Thread Simon Andrews
Thanks for the reply. I’m using 18.08. I’ve done some more digging and found that it’s not just one account but a load of newly created accounts which suffer from this problem. Older accounts are OK, but new ones don’t work. In the simplest case a completely new account fails. It contains th

Re: [slurm-users] Srun not setting DISPLAY with --x11 for one account

2020-01-27 Thread Simon Andrews
I’ve managed to track down the difference between the accounts which work and those which don’t – but I still don’t understand the mechanism. The accounts which work all had their home directories used on an older system. The ones which fail were only ever used on the new system. The relevant

[slurm-users] Using "curses" over an "srun" connection

2020-01-27 Thread Carl Ponder
I wrote a script that uses "screen" to create side-by-side windows that run co-operating processes and shows their outputs together. This looks fine when I run it remotely over an "ssh" connection. (Note that I don't need to use "ssh -X"). If I run it over an "srun" connection using forms like t

Re: [slurm-users] Srun not setting DISPLAY with --x11 for one account

2020-01-27 Thread Jeffrey T Frey
The Slurm-native X11 plugin demands you use ~/.ssh/id_rsa{,.pub} keys. It's hard-coded into the plugin: /* * Ideally these would be selected at run time. Unfortunately, * only ssh-rsa and ssh-dss are supported by libssh2 at this time, * and ssh-dss is deprecated. */ static char *hostkey_pri

Re: [slurm-users] Srun not setting DISPLAY with --x11 for one account

2020-01-27 Thread Simon Andrews
Ah! Thanks – that’s what I’d been missing. So the answer then is to either kludge the keys by making symlinks to the cluster and cluster.pub files warewulf makes (I tried this already and I know it works), or to update to the v19.x release and the new style x11 forwarding. Is the update to v19

Re: [slurm-users] Srun not setting DISPLAY with --x11 for one account

2020-01-27 Thread Jeffrey T Frey
> So the answer then is to either kludge the keys by making symlinks to the > cluster and cluster.pub files warewulf makes (I tried this already and I know > it works), or to update to the v19.x release and the new style x11 forwarding. Our answer was to create RSA keys for all users in their ~/

Re: [slurm-users] Srun not setting DISPLAY with --x11 for one account

2020-01-27 Thread Mark Hahn
it's worth noting that host-based trust has a lot of nice properties for this kind of intra-cluster authentication. and in particular, you don't need fragile and potentially dangerous keys sitting around. regards, mark hahn -- operator may differ from spokesperson. h...@mcmaster.c

[slurm-users] Print slurm cgroup parameters

2020-01-27 Thread Mahmood Naderan
Hi Is there any command to print current cgroup parameters or configurations that are used by Slurm? Regards, Mahmood

Re: [slurm-users] Virtual memory size requested by slurm

2020-01-27 Thread Mahmood Naderan
Excuse me, I see that "ulimit -a" shows unlimited virtual memory size when the user runs that on terminal. However, when he puts the command in sbatch script, the value is limited to about 40GB. [shams@hpc ~]$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) un

Re: [slurm-users] Virtual memory size requested by slurm

2020-01-27 Thread Wensheng Deng
Hi Mahmood, You may check here and see if it helps you: https://unix.stackexchange.com/questions/345595/how-to-set-ulimits-on-service-with-systemd On Mon, Jan 27, 2020 at 2:41 PM Mahmood Naderan wrote: > Excuse me, I see that "ulimit -a" shows unlimited virtual memory size when > the user runs

Re: [slurm-users] Virtual memory size requested by slurm

2020-01-27 Thread Mahmood Naderan
>You may check here and see if it helps you: >https://unix.stackexchange.com/questions/345595/how-to-set-ulimits-on-service-with-systemd I guess these settings are related to the system. As I said, outsid

Re: [slurm-users] Print slurm cgroup parameters

2020-01-27 Thread Ole Holm Nielsen
On 27-01-2020 20:35, Mahmood Naderan wrote: Hi Is there any command to print current cgroup parameters or configurations that are used by Slurm? This works for me: # scontrol show config | tail -22 Cgroup Support Configuration: AllowedDevicesFile = /etc/slurm/cgroup_allowed_devices_file

Re: [slurm-users] Question about slurm source code and libraries

2020-01-27 Thread dean.w.schulze
If you look at the languages supported for server (endpoint) generation there isn't an implementation in C or even C++. The client code generator has a cpprest implementation (C++). They may have included swagger in those slides just to help people understand what a REST endpoint is. For my p

Re: [slurm-users] Print slurm cgroup parameters

2020-01-27 Thread Mahmood Naderan
> scontrol show config | tail -22 Thank you. Regards, Mahmood

Re: [slurm-users] Virtual memory size requested by slurm

2020-01-27 Thread Mahmood Naderan
>This line is probably what is limiting you to around 40gb. >#SBATCH --mem=38GB Yes. If I change that value, the "ulimit -v" also changes. See below [shams@hpc ~]$ cat slurm_blast.sh | grep mem #SBATCH --mem=50GB [shams@hpc ~]$ cat my_blast.log virtual memory (kbytes, -v) 57671680 /var/