Re: [slurm-users] Submitting jobs from machines outside the cluster

2023-08-26 Thread mohammed shambakey
Hi May be slurm rest api be useful (https://slurm.schedmd.com/rest.html)? But I think you will need to generate a token to be able to communicate with the cluster. Regards On Sun, Aug 27, 2023, 8:20 AM Steven Swanson wrote: > Can I submit jobs with a computer/docker container that is not part

[slurm-users] Submitting jobs from machines outside the cluster

2023-08-26 Thread Steven Swanson
Can I submit jobs with a computer/docker container that is not part of the slurm cluster? I'm trying to set up slurm as the backend for a system with Jupyter Notebook-based front end. The jupyter notebooks are running in containers managed by Jupyter Hub, which is a mostly turnkey system for prov

Re: [slurm-users] sbatch does not work with Debian image

2023-08-26 Thread Williams, Jenny Avis
Two of likely several possibilities: The slurm master host name does not resolve. The rights on /etc/slurm are such that the user running the command cannot read /etc/slurm/slurm.conf Jenny Williams UNC Chapel Hill From: slurm-users On Behalf Of Sorin Draga Sent: Wednesday, March 15, 2023 4:13

[slurm-users] problem with AllowedSwapSpace

2023-08-26 Thread Charles Hedrick
With cgroup v2 allowedswapspace is implemented using memory.swap.max. In v1, it is memsw.max. This applies to the total of memory and swap. In v2, memory.swap.max is only swap. Slurm adds the job memory size to allowedswapspace. This is appropriate for v1, since the limit is on the sum. It is no

[slurm-users] cgroup swap limit cgroups v2

2023-08-26 Thread Charles Hedrick
It appears that when you set AllowedSwapSpace in cgroups.conf, this percent is added to the requested memory amount. So to set memoryswapmax to 0, you have to set AllowedSwapSpace to -100. Arithmetic is imprecise and parts seem to use signed float, so you can get unexpected results. I'm actually