Проблема установки HIP

Я пытаюсь установить HIP на машину с Ubuntu 16.04 и следую инструкциям здесь: https://github.com/ROCm-Developer-Tools/HIP/blob/master/INSTALL.md. Идея состоит в том, чтобы наконец скомпилировать на AMD GPU, поэтому я смотрю на опцию AMD-hcc и, если я перейду к установке ROCm ( https://rocm.github.io/install.html):

1.Когда apt-get,

sudo apt-get update
sudo apt-get install rocm

посылка rocm не существует, поэтому я устанавливаю rocm-amdgpu-pro вместо этого, но на следующем шаге, где говорится, что ROCm является ядром по умолчанию, я даже не вижу его в списке ядер в графическом интерфейсе Grub Customizer.

2. С ням (днф),

remote                                                   | 2.9 kB 

    00:00     
remote/primary_db                                        |  20 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rocm.x86_64 0:1.6.148-1 will be installed
--> Processing Dependency: kernel = 4.11.0_kfd_compute_rocm_rel_1.6_148-2 for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: linux-firmware for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: rocm-dev for package: rocm-1.6.148-1.x86_64
--> Running transaction check
---> Package kernel.x86_64 0:4.11.0_kfd_compute_rocm_rel_1.6_148-2 will be installed
--> Processing Dependency: /bin/sh for package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64
--> Processing Dependency: /bin/sh for package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64
---> Package linux-firmware.noarch 0:201708151409-1 will be installed
---> Package rocm.x86_64 0:1.6.148-1 will be installed
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
---> Package rocm-dev.x86_64 0:1.6.148-1 will be installed
--> Processing Dependency: hsa-rocr-dev for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: rocm-device-libs for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: cxlactivitylogger for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hsakmt-roct-dev for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hip_hcc for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: rocm-utils for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: rocm-profiler for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: rocm-smi for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hip_samples for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hcc for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hip_doc for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hip_base for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: hsa-ext-rocr-dev for package: rocm-dev-1.6.148-1.x86_64
--> Running transaction check
---> Package cxlactivitylogger.x86_64 0:5.1.6400-g55e7ec6 will be installed
---> Package hcc.x86_64 0:1.0.17312-1 will be installed
--> Processing Dependency: findutils for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: /bin/sh for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: file for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: /bin/sh for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: pth for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: libunwind for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: elfutils-libelf for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: pciutils-libs for package: hcc-1.0.17312-1.x86_64
---> Package hip_base.x86_64 0:1.2.17305-1 will be installed
--> Processing Dependency: perl >= 5.0 for package: hip_base-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_base-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_base-1.2.17305-1.x86_64
---> Package hip_doc.x86_64 0:1.2.17305-1 will be installed
--> Processing Dependency: /bin/sh for package: hip_doc-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_doc-1.2.17305-1.x86_64
---> Package hip_hcc.x86_64 0:1.2.17305-1 will be installed
--> Processing Dependency: /bin/sh for package: hip_hcc-1.2.17305-1.x86_64
--> Processing Dependency: libstdc++-static for package: hip_hcc-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_hcc-1.2.17305-1.x86_64
---> Package hip_samples.x86_64 0:1.2.17305-1 will be installed
--> Processing Dependency: /bin/sh for package: hip_samples-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_samples-1.2.17305-1.x86_64
---> Package hsa-ext-rocr-dev.x86_64 0:1.1.6_35_g624bb41-1 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.5)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.2.5)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.11)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.2.5)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.9)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libgcc_s.so.1(GCC_3.0)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.2.5)(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libgcc_s.so.1()(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libpthread.so.0()(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libstdc++.so.6()(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: libm.so.6()(64bit) for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
---> Package hsa-rocr-dev.x86_64 0:1.1.6_35_g624bb41-1 will be installed
--> Processing Dependency: /bin/sh for package: hsa-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-rocr-dev-1.1.6_35_g624bb41-1.x86_64
---> Package hsakmt-roct-dev.x86_64 0:1.0.6_14_g25a9bc2-1 will be installed
--> Processing Dependency: /bin/sh for package: hsakmt-roct-dev-1.0.6_14_g25a9bc2-1.x86_64
--> Processing Dependency: /bin/sh for package: hsakmt-roct-dev-1.0.6_14_g25a9bc2-1.x86_64
---> Package kernel.x86_64 0:4.11.0_kfd_compute_rocm_rel_1.6_148-2 will be installed
--> Processing Dependency: /bin/sh for package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64
--> Processing Dependency: /bin/sh for package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64
---> Package rocm.x86_64 0:1.6.148-1 will be installed
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
---> Package rocm-dev.x86_64 0:1.6.148-1 will be installed
--> Processing Dependency: /bin/sh for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-dev-1.6.148-1.x86_64
---> Package rocm-device-libs.x86_64 0:0.0.1-1 will be installed
--> Processing Dependency: /bin/sh for package: rocm-device-libs-0.0.1-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-device-libs-0.0.1-1.x86_64
---> Package rocm-profiler.x86_64 0:5.1.6400-g2d94434 will be installed
--> Processing Dependency: /bin/sh for package: rocm-profiler-5.1.6400-g2d94434.x86_64
--> Processing Dependency: /bin/sh for package: rocm-profiler-5.1.6400-g2d94434.x86_64
---> Package rocm-smi.x86_64 0:1.0.0_25_gbdb99b4-1 will be installed
--> Processing Dependency: /usr/bin/python3 for package: rocm-smi-1.0.0_25_gbdb99b4-1.x86_64
---> Package rocm-utils.x86_64 0:1.0.0-1 will be installed
--> Processing Dependency: /bin/sh for package: rocm-utils-1.0.0-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-utils-1.0.0-1.x86_64
--> Processing Dependency: /usr/bin/python3 for package: rocm-smi-1.0.0_25_gbdb99b4-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-profiler-5.1.6400-g2d94434.x86_64
--> Processing Dependency: /bin/sh for package: rocm-profiler-5.1.6400-g2d94434.x86_64
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_doc-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_doc-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-device-libs-0.0.1-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-device-libs-0.0.1-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_hcc-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_hcc-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64
--> Processing Dependency: /bin/sh for package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64
--> Processing Dependency: /bin/sh for package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64
--> Processing Dependency: /bin/sh for package: hip_samples-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_samples-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hsakmt-roct-dev-1.0.6_14_g25a9bc2-1.x86_64
--> Processing Dependency: /bin/sh for package: hsakmt-roct-dev-1.0.6_14_g25a9bc2-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_base-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: hip_base-1.2.17305-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-dev-1.6.148-1.x86_64
--> Processing Dependency: /bin/sh for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: /bin/sh for package: hcc-1.0.17312-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-utils-1.0.0-1.x86_64
--> Processing Dependency: /bin/sh for package: rocm-utils-1.0.0-1.x86_64
--> Finished Dependency Resolution
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libgcc_s.so.1(GCC_3.0)(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libpthread.so.0()(64bit)
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: elfutils-libelf
Error: Package: hsakmt-roct-dev-1.0.6_14_g25a9bc2-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: pth
Error: Package: hip_base-1.2.17305-1.x86_64 (remote)
           Requires: perl >= 5.0
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: file
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libgcc_s.so.1()(64bit)
Error: Package: hip_hcc-1.2.17305-1.x86_64 (remote)
           Requires: libstdc++-static
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libm.so.6(GLIBC_2.2.5)(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(GLIBCXX_3.4.5)(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libm.so.6()(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
Error: Package: hip_samples-1.2.17305-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: rocm-1.6.148-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: findutils
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(CXXABI_1.3)(64bit)
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: pciutils-libs
Error: Package: rocm-device-libs-0.0.1-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: rocm-smi-1.0.0_25_gbdb99b4-1.x86_64 (remote)
           Requires: /usr/bin/python3
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libc.so.6(GLIBC_2.2.5)(64bit)
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libpthread.so.0(GLIBC_2.2.5)(64bit)
Error: Package: hsa-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hip_doc-1.2.17305-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: rocm-utils-1.0.0-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hip_hcc-1.2.17305-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hip_base-1.2.17305-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: kernel-4.11.0_kfd_compute_rocm_rel_1.6_148-2.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hcc-1.0.17312-1.x86_64 (remote)
           Requires: libunwind
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)
Error: Package: rocm-profiler-5.1.6400-g2d94434.x86_64 (remote)
           Requires: /bin/sh
Error: Package: rocm-dev-1.6.148-1.x86_64 (remote)
           Requires: /bin/sh
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
Error: Package: hsa-ext-rocr-dev-1.1.6_35_g624bb41-1.x86_64 (remote)
           Requires: libstdc++.so.6()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Я получаю кучу проблем с зависимостями, и я могу --skip-broken их, но я не уверен, что это правильно. В любом случае, я не вижу /opt/rocm создано.

Может кто-нибудь, пожалуйста, укажите мне в правильном направлении?

0 ответов

Другие вопросы по тегам