아치 리눅스: bash: rocminfo: 명령을 찾을 수 없습니다

아치 리눅스: bash: rocminfo: 명령을 찾을 수 없습니다

새롭고 업데이트된 아치 리눅스를 설치했습니다. AMD Radeon 7900 XTX가 있습니다. 안정적인 확산을 실행하고 다음 패키지를 설치하려고 합니다.

local/comgr 6.0.0-1
    Compiler support library for ROCm LLVM
local/hip-runtime-amd 6.0.0-1
    Heterogeneous Interface for Portability ROCm
local/hipblas 6.0.0-1
    ROCm BLAS marshalling library
local/hsa-rocr 6.0.0-2
    HSA Runtime API and runtime for ROCm
local/magma-hip 2.7.2-3
    Matrix Algebra on GPU and Multicore Architectures (with ROCm/HIP)
local/python-pytorch-rocm 2.2.0-2
    Tensors and Dynamic neural networks in Python with strong GPU acceleration (with ROCm)
local/python-torchvision-rocm 0.16.2-1
    Datasets, transforms, and models specific to computer vision (with ROCM support)
local/python-torchvision-rocm-debug 0.16.2-1
    Detached debugging symbols for python-torchvision-rocm
local/rccl 6.0.0-1
    ROCm Communication Collectives Library
local/rocalution 6.0.0-2
    Next generation library for iterative sparse solvers for ROCm platform
local/rocblas 6.0.0-1
    Next generation BLAS implementation for ROCm platform
local/rocfft 6.0.0-1
    Next generation FFT implementation for ROCm
local/rocm-clang-ocl 6.0.0-1
    OpenCL compilation with clang compiler
local/rocm-cmake 6.0.0-1
    CMake modules for common build tasks needed for the ROCm software stack
local/rocm-core 6.0.0-2
    AMD ROCm core package (version files)
local/rocm-dbgapi 6.0.0-1
    Support library necessary for a debugger of AMD's GPUs
local/rocm-device-libs 6.0.0-1
    ROCm Device Libraries
local/rocm-hip-libraries 6.0.0-1
    Develop certain applications using HIP and libraries for AMD platforms
local/rocm-hip-runtime 6.0.0-1
    Packages to run HIP applications on the AMD platform
local/rocm-hip-sdk 6.0.0-1
    Develop applications using HIP and libraries for AMD platforms
local/rocm-language-runtime 6.0.0-1
    ROCm runtime
local/rocm-llvm 6.0.0-2
    Radeon Open Compute - LLVM toolchain (llvm, clang, lld)
local/rocm-opencl-runtime 6.0.0-1
    OpenCL implementation for AMD
local/rocm-opencl-sdk 6.0.0-1
    Develop OpenCL-based applications for AMD platforms
local/rocm-smi-lib 6.0.0-1
    ROCm System Management Interface Library
local/rocminfo 6.0.0-1
    ROCm Application for Reporting System Info
local/rocrand 6.0.0-1
    Pseudo-random and quasi-random number generator on ROCm
local/rocsolver 6.0.0-1
    Subset of LAPACK functionality on the ROCm platform
local/rocsparse 6.0.0-1
    BLAS for sparse computation on top of ROCm
local/rocthrust 6.0.0-1
    Port of the Thrust parallel algorithm library atop HIP/ROCm
local/roctracer 6.0.0-1
    ROCm tracer library for performance tracing
local/tensorflow-amd-git 2.13-1
    Library for scalable machine learning (with ROCm)

eocminfo그러나 rocm이 작동하는지 확인하기 위해 실행하면 다음 오류가 발생합니다.

me@archlinux ~> rocminfo
fish: Unknown command: rocminfo

이 문제를 어떻게 해결할 수 있나요? PATH 변수에 추가 항목을 추가해야 합니까?
당신의 도움에 감사드립니다

답변1

rocminfo에 있습니다 opt/rocm/bin/. 파일 목록을 확인하면 알 수 있습니다.https://archlinux.org/packages/extra/x86_64/rocminfo/"패키지 내용물" 제목 아래:

 Package Contents

    opt/
    opt/rocm/
    opt/rocm/bin/
    opt/rocm/bin/rocm_agent_enumerator
    opt/rocm/bin/rocminfo

pacman -Ql rocminfo아니면 rocminfo 설치 후 사용하세요.

/opt/rocminfo/bin따라서 직감이 정확하므로 PATH에 추가해야 합니다 .

관련 정보