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

Kevin Klues commented on MESOS-5717:
------------------------------------

We noticed this error in the documentation and are fixing it now:
{noformat}
  if (devicesIsolator == tokens.end()) {
    return Error("The 'cgroups/devices' isolator must be enabled in"
                 " order to use the gpu/devices isolator");
  }
{noformat}

The error message should read "The 'cgroups/devices' isolator must be enabled 
in order to use the gpu/nvidia isolator".

We also noticed an inconsistency in the documentation for the `--isolator` 
flag.  This fix has already been committed:
{noformat}
commit a2fd5f38e02c86c1020b0ae243915358e37d2b2b
Author: Benjamin Mahler <bmah...@apache.org>
Date:   Mon Jun 27 18:59:21 2016 -0700

    Removed stale flag references to the GPU isolator.

{nofromat}

Hopefully this clears things up.

> 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
>            Assignee: Kevin Klues
>              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