이 블로그 검색

2017년 12월 10일 일요일

IBM Minsky (S822LC for HPC) 에서 nvidia-docker 설치 - Ubuntu

ppc64le 환경에서 nvidia-docker 를 설치할때마다 nvidia-docker 가 update 되고 방법이 틀려졌음.
http://hwengineer.blogspot.kr/2017/02/minsky-ubuntu-1604-xenial-ppc64le.html
https://hwengineer.blogspot.kr/2017/10/ppc64le-nvidia-docker-201710.html


2017년 12월 10일 현재 nvidia-docker 를 설치하기 위해서는 다음 사이트를 참고하였음.
https://developer.ibm.com/linuxonpower/docker-on-power/
https://nvidia.github.io/nvidia-docker/


nvidia-docker 가 설치될 환경은
-.ubuntu 16.04
-.CUDA 8.0 + cudnn 6.0.21
먼저 docker engine 설치
test_svr@ubuntu:~$
test_svr@ubuntu:~$ sudo vi /etc/apt/sources.list.d/xenial-docker.list
deb http://ftp.unicamp.br/pub/ppc64el/ubuntu/16_04/docker-17.06.0-ce-ppc64el/ xenial main
test_svr@ubuntu:~$ sudo apt-get update
test_svr@ubuntu:~$ sudo apt-get install docker-ce

test_svr@ubuntu:~$ dpkg -l |grep -i docker
ii  docker                                  1.5-1                                      ppc64el      System tray for KDE3/GNOME2 docklet applications
ii  docker-ce                               17.06.0~ce-0~ubuntu                        ppc64el      Docker: the open-source application container engine



docker engine 이 설치되었으면 nvidia-docker 설치
test_svr@ubuntu:~$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
> sudo apt-key add -
OK
test_svr@ubuntu:~$ curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu16.04/ppc64el/nvidia-docker.list | \
>   sudo tee /etc/apt/sources.list.d/nvidia-docker.list
deb https://nvidia.github.io/nvidia-docker/ubuntu16.04/ppc64el /
test_svr@ubuntu:~$ sudo apt-get update
Get:1 file:/var/cuda-repo-8-0-local-ga2v2 InRelease
Ign:1 file:/var/cuda-repo-8-0-local-ga2v2 InRelease
Get:2 file:/var/nvidia-driver-local-repo-tr6 InRelease
Ign:2 file:/var/nvidia-driver-local-repo-tr6 InRelease
Get:3 file:/var/cuda-repo-8-0-local-ga2v2 Release [574 B]
Get:4 file:/var/nvidia-driver-local-repo-tr6 Release [574 B]
Get:3 file:/var/cuda-repo-8-0-local-ga2v2 Release [574 B]
Get:4 file:/var/nvidia-driver-local-repo-tr6 Release [574 B]
Get:7 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [102 kB]
Hit:8 http://kr.ports.ubuntu.com/ubuntu-ports xenial InRelease
Get:9 https://nvidia.github.io/nvidia-docker/ubuntu16.04/ppc64el InRelease [1,098 B]
Get:10 http://kr.ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [102 kB]
Get:11 https://nvidia.github.io/nvidia-docker/ubuntu16.04/ppc64el Packages [704 B]
Ign:12 http://ftp.unicamp.br/pub/ppc64el/ubuntu/16_04/docker-17.06.0-ce-ppc64el xenial InRelease
Get:13 http://kr.ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [102 kB]
Hit:14 http://ftp.unicamp.br/pub/ppc64el/ubuntu/16_04/docker-17.06.0-ce-ppc64el xenial Release
Ign:15 http://ftp.unicamp.br/pub/ppc64el/ubuntu/16_04/docker-17.06.0-ce-ppc64el xenial Release.gpg
Fetched 308 kB in 2s (111 kB/s)
Reading package lists... Done
W: The repository 'http://ftp.unicamp.br/pub/ppc64el/ubuntu/16_04/docker-17.06.0-ce-ppc64el xenial Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

test_svr@ubuntu:~$ sudo apt-get install -y nvidia-docker
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following NEW packages will be installed:
 nvidia-docker
 0 upgraded, 1 newly installed, 0 to remove and 84 not upgraded.
 Need to get 2,267 kB of archives.
 After this operation, 16.0 MB of additional disk space will be used.
 Get:1 https://nvidia.github.io/nvidia-docker/ubuntu16.04/ppc64el nvidia-docker 1.0.1-1 [2,267 kB]
 Fetched 2,267 kB in 2s (964 kB/s)
 Selecting previously unselected package nvidia-docker.
 (Reading database ... 122052 files and directories currently installed.)
 Preparing to unpack .../nvidia-docker_1.0.1-1_ppc64el.deb ...
 Unpacking nvidia-docker (1.0.1-1) ...
 Processing triggers for ureadahead (0.100.0-19) ...
 ureadahead will be reprofiled on next reboot
 Setting up nvidia-docker (1.0.1-1) ...
 Configuring user
 Setting up permissions
 Processing triggers for ureadahead (0.100.0-19) ...
test_svr@ubuntu:~$

댓글 없음:

댓글 쓰기