[ 
https://issues.apache.org/jira/browse/MESOS-5717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352181#comment-15352181
 ] 

Sunzhe commented on MESOS-5717:
-------------------------------

Yes, when starting agent: {{./bin/mesos-agent.sh --master=127.0.0.1:5050 
--work_dir=/var/lib/mesos/agent --isolation=gpu/nvidia}} , but appears {{Failed 
to create a containerizer: Could not create MesosContainerizer: Failed to 
create isolator 'gpu/nvidia': The 'cgroups/devices' isolator must be enabled in 
order to use the gpu/devices isolator}}, if i want to enable 
{{cgroups/devices}}, from explanation of the flag {{--isolation}}, i should 
{{configure with flag: `--enable-nvidia-gpu-support` to enable}}, but 
{{--enable-nvidia-gpu-support}} has been removed in Mesos-5630 and can enable 
this support for all bulds on Linux, That's right?

> Can't autodiscovery GPU resources without '--enable-nvidia-gpu-support' and 
> '--nvidia_gpu_devices' flags
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-5717
>                 URL: https://issues.apache.org/jira/browse/MESOS-5717
>             Project: Mesos
>          Issue Type: Bug
>         Environment: RHEL 7.2
>            Reporter: Sunzhe
>              Labels: gpu
>             Fix For: 1.0.0
>
>
> Prerequisite: In MESOS\-5257  "By default, with no '\-\-nvidia_gpu_devices' 
> flag or `gpus` resources flag, the new auto-discovery will simply enumerate 
> all of the GPUs on the system" and in MESOS\-5630 "removes this 
> flag(\-\-enable-nvidia-gpu-support) and enables this support for all builds 
> on Linux."
> So, I '../configure' without any flag, and start agent without 
> '\-\-resources' or '\-\-nvidia_gpu_devices' ,  but can not discovery GPU 
> resources, and I also start agent with '\-\-resources' and 
> '\-\-nvidia_gpu_devices' , it also does not work.
> I'm sure the NVIDIA GPUs on my machines are OK, because with 
> '\-\-enable-nvidia-gpu-support' when './configure' and with '\-\-resources', 
> '\-\-nvidia_gpu_devices' when starting agents it works well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to