Re: [slurm-users] gres with docker problem

2019-01-07 Thread Chris Samuel
On 7/1/19 6:11 am, Marcus Wagner wrote: But that means, the docker container runs outside the cgroup of the slurm job. Thus there exists no restriction to the container, so it can use all resources! [...] If this is the case, in my opinion docker cannot be used on shared systems but only

Re: [slurm-users] gres with docker problem

2019-01-07 Thread Marcus Wagner
fering this. -Original Message- *From:* "Chris Samuel" *To:* ; *Cc:* *Sent:* 2019-01-07 (월) 11:59:09 *Subject:* Re: [slurm-users] gres with docker problem On 4/1/19 5:48 am, Marcin Stolarek wrote: > I think that the main reason is the lack of access to some /dev "fil

Re: [slurm-users] gres with docker problem

2019-01-06 Thread Chris Samuel
On 6/1/19 8:26 pm, 허웅 wrote: I could find out the reason. That's really good that you not only figured it out but posted the solution too! -- Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA

Re: [slurm-users] gres with docker problem

2019-01-06 Thread 허웅
iginal Message- From: "Chris Samuel" To: ; Cc: Sent: 2019-01-07 (월) 11:59:09 Subject: Re: [slurm-users] gres with docker problem On 4/1/19 5:48 am, Marcin Stolarek wrote: > I think that the main reason is the lack of access to some /dev "files" > in your docker

Re: [slurm-users] gres with docker problem

2019-01-06 Thread Chris Samuel
On 4/1/19 5:48 am, Marcin Stolarek wrote: I think that the main reason is the lack of access to some /dev "files" in your docker container. For singularity nvidia plugin is required, maybe there is something similar for docker... That's unlikely, the problem isn't that nvidia-smi isn't workin

Re: [slurm-users] gres with docker problem

2019-01-04 Thread Marcin Stolarek
Hi Chris. > > > > Thank you so much for your response. > > > > I'll try it! > > > > Happy New Year. > > > > -Original Message- > *From:* "Chris Samuel" > *To:* ; > *Cc:* > *Sent:* 2019-01-02 (수) 13:42:13 > *Subject:* Re:

Re: [slurm-users] gres with docker problem

2019-01-01 Thread 허웅
Hi Chris. Thank you so much for your response. I'll try it! Happy New Year. -Original Message- From: "Chris Samuel" To: ; Cc: Sent: 2019-01-02 (수) 13:42:13 Subject: Re: [slurm-users] gres with docker problem On 1/1/19 8:21 pm, 허웅 wrote: > here is my cgroup.co

Re: [slurm-users] gres with docker problem

2019-01-01 Thread Chris Samuel
On 1/1/19 8:21 pm, 허웅 wrote: here is my cgroup.conf Thanks - so my guess is that you have Docker installed so it can run as root and it's overriding the cgroups that Slurm sets up. This is a reason why Docker tends to get frowned upon at HPC sites and alternatives like Shifter, CharlieClou

Re: [slurm-users] gres with docker problem

2019-01-01 Thread 허웅
here is my cgroup.conf CgroupAutomount=yes CgroupReleaseAgentDir="/etc/slurm/cgroup" ConstrainCores=yes ConstrainDevices=yes ConstrainRAMSpace=yes -Original Message- From: "Chris Samuel" To: ; Cc: Sent: 2019-01-02 (수) 13:17:52 Subject: Re: [slurm-users] gres

Re: [slurm-users] gres with docker problem

2019-01-01 Thread Chris Samuel
On 1/1/19 5:25 pm, 허웅 wrote: what's the problem? Are you using cgroups to constrain access to GPUs? -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC