Re: [slurm-users] Fwd: Slurm/cgroups on a single head/compute node

2019-08-22 Thread Alex Chekholko
Hi David, I actually don't know much about cgroups, and I don't have a single-node cluster. Here are some cgroup-related settings from my regular Ubuntu 18.04 cluster, running SLURM 18.08.7 root@cb-admin:~# cat /etc/slurm/slurm.conf | grep -i cgr ProctrackType=proctrack/cgroup TaskPlugin=task/cg

Re: [slurm-users] Fwd: Slurm/cgroups on a single head/compute node

2019-08-22 Thread David da Silva Pires
Hi Alex. Thank you very much for taking you time to help me. Here are the versions of the listed software: Distro: Ubuntu Server 18.04 LTS Kernel: 4.15.0-59-generic x86_64 GNU/Linux systemd: 237-3ubuntu10.25 SLURM: 17.11.2-1build1 So, you guessed right, Alex. Do you think I should compile the

Re: [slurm-users] Dependencies with singleton and after

2019-08-22 Thread Brian Andrus
Hmm. I've actually never used singleton and merely chained dependencies. Maybe you can do that as a workaround: /*waitjob=$(sbatch --hold fakejob.sh |sed 's/Submitted batch job //')*//* *//*for i in {1..2}; do*//* *//*  echo Submitting $VAULT to run after ${waitjob}*//* *//*  waitjob=$(sbatch

Re: [slurm-users] Dependencies with singleton and after

2019-08-22 Thread Jarno van der Kolk
Hi Brian, Thanks for the suggestion. I tried it out, but I got the same result. $ sbatch --hold --dependency=singleton ./fakejob.sh Submitted batch job 26122715 $ sbatch --hold --dependency=singleton ./fakejob.sh Submitted batch job 26122716 $ sbatch --hold --dependency=singleton ./fakejob.sh

Re: [slurm-users] Dependencies with singleton and after

2019-08-22 Thread Jarno van der Kolk
> From: Kevin Buckley > Sent: August 22, 2019 3:33 AM > To: slurm-users@lists.schedmd.com > Cc: Jarno van der Kolk > Subject: Re: [slurm-users] Dependencies with singleton and after > > On 2019/08/22 04:51, Jarno van der Kolk wrote: > > Hi, > > > > I am helping a researcher who encountered an u

Re: [slurm-users] Dependencies with singleton and after

2019-08-22 Thread Kevin Buckley
On 2019/08/22 04:51, Jarno van der Kolk wrote: Hi, I am helping a researcher who encountered an unexpected behaviour with dependencies. He uses both "singleton" and "after". The minimal working example is as follows: $ sbatch --hold fakejob.sh Submitted batch job 25909273 $ sbatch --hold fakej