You are not logged in.
Hi, trying to build myself a Strata for local llm , i have older GPU gfx1012 ( Amd Radeon Pro W5500 ), installed rocm amd gpu f sdk package , tested with Aur package gfx1012-bin but having same issues. HIP root directory is missing.
hipconfig --rocmpath
Warning: HIP version file: "/opt/rocm/hiprand/share/hip/version" not found. Cannot give HIP version information.direcotry of hiprand
ls /opt/rocm/hiprand/
srcpacman -Ql hiprand
pacman -Ql hiprand
hiprand /opt/
hiprand /opt/rocm/
hiprand /opt/rocm/hiprand/
hiprand /opt/rocm/hiprand/src/
hiprand /opt/rocm/hiprand/src/fortran/
hiprand /opt/rocm/hiprand/src/fortran/hip_m.f90
hiprand /opt/rocm/hiprand/src/fortran/hiprand_m.f90
hiprand /opt/rocm/include/
hiprand /opt/rocm/include/hiprand/
hiprand /opt/rocm/include/hiprand/hiprand.h
hiprand /opt/rocm/include/hiprand/hiprand.hpp
hiprand /opt/rocm/include/hiprand/hiprand_kernel.h
hiprand /opt/rocm/include/hiprand/hiprand_kernel_nvcc.h
hiprand /opt/rocm/include/hiprand/hiprand_kernel_rocm.h
hiprand /opt/rocm/include/hiprand/hiprand_mtgp32_host.h
hiprand /opt/rocm/include/hiprand/hiprand_nvcc.h
hiprand /opt/rocm/include/hiprand/hiprand_rocm.h
hiprand /opt/rocm/include/hiprand/hiprand_version.h
hiprand /opt/rocm/lib/
hiprand /opt/rocm/lib/cmake/
hiprand /opt/rocm/lib/cmake/hiprand/
hiprand /opt/rocm/lib/cmake/hiprand/hiprand-config-version.cmake
hiprand /opt/rocm/lib/cmake/hiprand/hiprand-config.cmake
hiprand /opt/rocm/lib/cmake/hiprand/hiprand-fortran-config.cmake
hiprand /opt/rocm/lib/cmake/hiprand/hiprand-targets-none.cmake
hiprand /opt/rocm/lib/cmake/hiprand/hiprand-targets.cmake
hiprand /opt/rocm/lib/libhiprand.so
hiprand /opt/rocm/lib/libhiprand.so.1
hiprand /opt/rocm/lib/libhiprand.so.1.1
hiprand /opt/rocm/share/
hiprand /opt/rocm/share/doc/
hiprand /opt/rocm/share/doc/hiprand/
hiprand /opt/rocm/share/doc/hiprand/LICENSE.md
hiprand /usr/
hiprand /usr/share/
hiprand /usr/share/licenses/
hiprand /usr/share/licenses/hiprand/
hiprand /usr/share/licenses/hiprand/LICENSEhipconfig
hipconfig
Warning: HIP version file: "/opt/rocm/hiprand/share/hip/version" not found. Cannot give HIP version information.
Warning: HIP version file: "/opt/rocm/hiprand/share/hip/version" not found. Cannot give HIP version information.
HIP version:
==hipconfig
HIP_PATH :/opt/rocm/hiprand
ROCM_PATH :/opt/rocm
HIP_COMPILER :clang
HIP_PLATFORM :amd
HIP_RUNTIME :rocclr
CPP_CONFIG : -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm/hiprand/include -I/include
==hip-clang
HIP_CLANG_PATH :/opt/rocm/lib/llvm/bin
AMD clang version 22.0.0git (/srcdest/rocm-llvm f58b06dce1f9c15707c5f808fd002e18c2accf7e)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm/lib/llvm/bin
AMD LLVM version 22.0.0git
Optimized build.
Default target: x86_64-pc-linux-gnu
Host CPU: broadwell
Registered Targets:
amdgcn - AMD GCN GPUs
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
r600 - AMD GPUs HD2XXX-HD6XXX
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
hip-clang-cxxflags :
sh: line 1: /opt/rocm/hiprand/bin/hipcc: No such file or directory
hip-clang-ldflags :
sh: line 1: /opt/rocm/hiprand/bin/hipcc: No such file or directory
== Environment Variables
PATH =/home/pilietis/.pyenv/plugins/pyenv-virtualenv/shims:/home/pilietis/.pyenv/shims:/home/pilietis/.pyenv/bin:/home/pilietis/.pyenv/bin:/home/pilietis/.pyenv/bin:/home/pilietis/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/opt/rocm:/opt/rocm/bin
egrep: warning: egrep is obsolescent; using grep -E
HIP_PATH=/opt/rocm/hiprand
== Linux Kernel
Hostname :
sh: line 1: hostname: command not found
Linux AsusX99M 7.2.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 16 Oct 2026 00:28:58 +0000 x86_64 GNU/LinuxWhat did i missed or missing apart HIP directory
IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1; FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 256GB ECC; nVidia Titan V CEO; Intel Core Ultra 7 265K Gigabyte Z890M Gaming X Klevv 7200Mhz 32GB
Offline
You're missing more then just that folder .
sh: line 1: /opt/rocm/hiprand/bin/hipcc: No such file or directory
== Linux Kernel
Hostname :
sh: line 1: hostname: command not foundPlease post the output of
$ pacman -Qikk hiprand hip-runtime-amdDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
You're missing more then just that folder .
sh: line 1: /opt/rocm/hiprand/bin/hipcc: No such file or directory == Linux Kernel Hostname : sh: line 1: hostname: command not foundPlease post the output of
$ pacman -Qikk hiprand hip-runtime-amd
Output:
pacman -Qikk hiprand hip-runtime-amd
Name : hiprand
Version : 7.2.4-1
Description : rocRAND marshalling library
Architecture : x86_64
URL : [url]https://rocm.docs.amd.com/projects/hipRAND/en/latest/[/url]
Licenses : MIT
Groups : None
Provides : None
Depends On : glibc hip-runtime-amd libgcc rocm-core rocrand
Optional Deps : gcc-fortran: Use Fortran wrapper
Required By : rocm-hip-libraries rocm-hip-sdk
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 211,44 KiB
Packager : Torsten Keßler <tpkessler@archlinux.org>
Build Date : 2026 m. gegužės 31 d. 15:14:34
Install Date : 2026 m. spalio 27 d. 02:37:41
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
hiprand: 38 total files, 0 altered files
Name : hip-runtime-amd
Version : 7.2.4-1
Description : Heterogeneous Interface for Portability (AMD runtime)
Architecture : x86_64
URL : [url]https://rocm.docs.amd.com/projects/HIP/en/latest/[/url]
Licenses : MIT
Groups : None
Provides : hip=7.2.4
Depends On : rocm-core bash perl glibc libgcc numactl mesa comgr rocminfo rocm-llvm libelf
rocprofiler-register
Optional Deps : inetutils: Print hostname in hipconfig
cuda: Cross compile for nvidia
Required By : composable-kernel ggml-hip hipblas hipblaslt hipcub hipfft hiprand hipsolver hipsparse
miopen-hip rccl rocalution rocblas rocfft rocm-hip-runtime rocprim rocrand rocsolver
rocsparse rocthrust roctracer
Optional For : openmpi
Conflicts With : None
Replaces : hip
Installed Size : 31,62 MiB
Packager : Torsten Keßler <tpkessler@archlinux.org>
Build Date : 2026 m. gegužės 31 d. 11:26:29
Install Date : 2026 m. spalio 27 d. 02:51:57
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
hip-runtime-amd: 156 total files, 0 altered filesIBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1; FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 256GB ECC; nVidia Titan V CEO; Intel Core Ultra 7 265K Gigabyte Z890M Gaming X Klevv 7200Mhz 32GB
Offline
HIP_PATH :/opt/rocm/hiprand
ROCM_PATH :/opt/rocmThe HIP_PATH is wrong , it should point to /opt/rocm .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
HIP_PATH :/opt/rocm/hiprand ROCM_PATH :/opt/rocmThe HIP_PATH is wrong , it should point to /opt/rocm .
Interesting.
My bashrc file
cat .bashrc
#
# ~/.bashrc
#
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
export ROCM_PATH=/opt/rocm
export HIP_PATH=/opt/rocm
#export HSA_OVERRIDE_GFX_VERSION=10.1.2IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1; FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 256GB ECC; nVidia Titan V CEO; Intel Core Ultra 7 265K Gigabyte Z890M Gaming X Klevv 7200Mhz 32GB
Offline
I added one extra line
cat ~/.bashrc
#
# ~/.bashrc
#
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
export PATH=$PATH:/opt/rocm
export ROCM_PATH=/opt/rocm
export HIP_PATH=/opt/rocmIf i run hipconfig
hipconfig
HIP version: 7.2.53211-9999
==hipconfig
HIP_PATH :/opt/rocm
ROCM_PATH :/opt/rocm
HIP_COMPILER :clang
HIP_PLATFORM :amd
HIP_RUNTIME :rocclr
CPP_CONFIG : -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm/include -I/include
==hip-clang
HIP_CLANG_PATH :/opt/rocm/lib/llvm/bin
AMD clang version 22.0.0git (/srcdest/rocm-llvm f58b06dce1f9c15707c5f808fd002e18c2accf7e)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm/lib/llvm/bin
AMD LLVM version 22.0.0git
Optimized build.
Default target: x86_64-pc-linux-gnu
Host CPU: broadwell
Registered Targets:
amdgcn - AMD GCN GPUs
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
r600 - AMD GPUs HD2XXX-HD6XXX
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
hip-clang-cxxflags :
-O3
hip-clang-ldflags :
--driver-mode=g++ -O3 -Llib --hip-link
== Environment Variables
PATH =/home/pilietis/.pyenv/plugins/pyenv-virtualenv/shims:/home/pilietis/.pyenv/shims:/home/pilietis/.pyenv/bin:/home/pilietis/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/opt/rocm
egrep: warning: egrep is obsolescent; using grep -E
HIP_PATH=/opt/rocm
== Linux Kernel
Hostname :
sh: line 1: hostname: command not foundHIP_PATH shows the path /opt/rocm but same issues, HIP root directory not found.
if i run:
/opt/rocm[pilietis@AsusX99M build]$ hipconfig --rocmpath
/opt/rocm[pilietis@AsusX99M build]$ Last edited by Efka (Yesterday 16:26:39)
IBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1; FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 256GB ECC; nVidia Titan V CEO; Intel Core Ultra 7 265K Gigabyte Z890M Gaming X Klevv 7200Mhz 32GB
Offline
hipconfig output in #6 seems to find everything (except hostname) where it's supposed to be, what exact command complains about not finding which directory/file ?
The output of type hipconfig may also be helpful.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
hipconfig output in #6 seems to find everything (except hostname) where it's supposed to be, what exact command complains about not finding which directory/file ?
The output of type hipconfig may also be helpful.
Command i run to build it:
sudo cmake .. -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx1012This is complete output of that command:
sudo cmake .. -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx1012
[sudo] password for pilietis:
-- The CXX compiler identification is GNU 16.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at cmake/hip_backend.cmake:29 (message):
Strata HIP: gfx1012 builds, but it is not validated on a real card yet;
please report results
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
-- The HIP compiler identification is unknown
CMake Error at /usr/share/cmake/Modules/CMakeDetermineHIPCompiler.cmake:210 (message):
Failed to find HIP root directory.
Call Stack (most recent call first):
cmake/hip_backend.cmake:45 (enable_language)
CMakeLists.txt:116 (include)
-- Configuring incomplete, errors occurred!Command hipconfig output:
$ hipconfig
HIP version: 7.2.53211-9999
==hipconfig
HIP_PATH :/opt/rocm
ROCM_PATH :/opt/rocm
HIP_COMPILER :clang
HIP_PLATFORM :amd
HIP_RUNTIME :rocclr
CPP_CONFIG : -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm/include -I/include
==hip-clang
HIP_CLANG_PATH :/opt/rocm/lib/llvm/bin
AMD clang version 22.0.0git (/srcdest/rocm-llvm f58b06dce1f9c15707c5f808fd002e18c2accf7e)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /opt/rocm/lib/llvm/bin
AMD LLVM version 22.0.0git
Optimized build.
Default target: x86_64-pc-linux-gnu
Host CPU: broadwell
Registered Targets:
amdgcn - AMD GCN GPUs
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
r600 - AMD GPUs HD2XXX-HD6XXX
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
hip-clang-cxxflags :
-O3
hip-clang-ldflags :
--driver-mode=g++ -O3 -Llib --hip-link
== Environment Variables
PATH =/home/pilietis/.pyenv/plugins/pyenv-virtualenv/shims:/home/pilietis/.pyenv/shims:/home/pilietis/.pyenv/bin:/home/pilietis/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/opt/rocm
egrep: warning: egrep is obsolescent; using grep -E
HIP_PATH=/opt/rocm
== Linux Kernel
Hostname :
sh: line 1: hostname: command not found
Linux AsusX99M 7.2.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 16 Oct 2026 00:28:58 +0000 x86_64 GNU/LinuxIBM Lenovo ThinkPad T61 ; Lenovo ThinkPad X220; Lenovo ThinkPad T440p; Lenovo Thinkpad W520; Lenovo Thinkpad P71; ThinkPad X1 Yoga Gen1; FrankenPad T25
Asus Z10PE D-16 WS; 2x Intel Xeon E-5 2690V4; 256GB ECC; nVidia Titan V CEO; Intel Core Ultra 7 265K Gigabyte Z890M Gaming X Klevv 7200Mhz 32GB
Offline