Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

failure running sudo make install #58

Closed
EvanZ opened this issue Mar 17, 2016 · 2 comments
Closed

failure running sudo make install #58

EvanZ opened this issue Mar 17, 2016 · 2 comments

Comments

@EvanZ
Copy link

EvanZ commented Mar 17, 2016

I'm running this on an EC2 instance.

make -C /home/ubuntu/nvidia-docker/tools install
make[1]: Entering directory `/home/ubuntu/nvidia-docker/tools'
flag provided but not defined: --build-arg
See 'docker build --help'.
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/ubuntu/nvidia-docker/tools'
make: *** [install] Error 2

Thu Mar 17 21:58:31 2016
+------------------------------------------------------+
| NVIDIA-SMI 352.79 Driver Version: 352.79 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GRID K520 Off | 0000:00:03.0 Off | N/A |
| N/A 28C P0 36W / 125W | 11MiB / 4095MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+

@3XX0
Copy link
Member

3XX0 commented Mar 17, 2016

nvidia-docker requires Docker 1.9.
See https://github.com/NVIDIA/nvidia-docker/wiki/Installation

Also, on EC2 you can leverage docker-machine:

$ docker-machine create --driver amazonec2 --amazonec2-instance-type g2.2xlarge ...
$ docker-machine ssh <host> # install the NVIDIA driver and nvidia-docker-plugin
$ eval `docker-machine env <host>`
$ ssh-add ~/.docker/machine/machines/<host>/id_rsa
$ NV_HOST="ssh://ubuntu@<ip>:" nvidia-docker run nvidia/cuda

@flx42
Copy link
Member

flx42 commented Mar 21, 2016

I think the problem was identified, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants