[
https://issues.apache.org/jira/browse/MESOS-5717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352224#comment-15352224
]
Kevin Klues commented on MESOS-5717:
------------------------------------
The documentation for using GPUs is not committed yet (we will have it
committed by the time the 1.0 release comes out). There has been no release
with GPU support yet, so the documentation is lagging behind a bit.
For what you want to do, the quick answer is:
{noformat}
./bin/mesos-agent.sh --master=127.0.0.1:5050 --work_dir=/var/lib/mesos/agent
--isolation=cgroups/devices,gpu/nvidia
{noformat}
If the error message you are seeing is wrong, or the help output is wrong when
describing the --isolation flag. Please file a separate ticket to report these.
Thanks.
> 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)