Cmake error: couldn't find tileiras_executable

DRIVE OS Version: 7.0.3

Issue Description: CMake configuring of samples fails, see log:

********** boot blob image CHAIN C ended **********

root@7.0.3.0-0010-linux-nsr:/drive/drive-foundation# cd ..

root@7.0.3.0-0010-linux-nsr:/drive# cd cuda-samples/

root@7.0.3.0-0010-linux-nsr:/drive/cuda-samples# cd b

bash: cd: b: No such file or directory

root@7.0.3.0-0010-linux-nsr:/drive/cuda-samples# cd build/

root@7.0.3.0-0010-linux-nsr:/drive/cuda-samples/build# ls

root@7.0.3.0-0010-linux-nsr:/drive/cuda-samples/build# cmake .. -DBUILD_TEGRA=True \

-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc \

-DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/toolchain-aarch64-linux.cmake \

-DTARGET_FS=/drive/temp \

-DCMAKE_LIBRARY_PATH=/drive/temp/usr/local/cuda-12.8/thor/lib64/ \

-DCMAKE_INCLUDE_PATH=/drive/temp/usr/local/cuda-12.8/thor/include/

-- The C compiler identification is GNU 13.3.0

-- The CXX compiler identification is GNU 13.3.0

-- The CUDA compiler identification is NVIDIA 12.8.93

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Detecting CUDA compiler ABI info

-- Detecting CUDA compiler ABI info - done

-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped

-- Detecting CUDA compile features

-- Detecting CUDA compile features - done

-- Found CUDAToolkit: /usr/local/cuda/targets/aarch64-linux/include (found version “12.8.93”)

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success

-- Found Threads: TRUE

CMake Warning at /usr/share/cmake-3.28/Modules/FindCUDAToolkit.cmake:1161 (message):

Could not find librt library, needed by CUDA::cudart_static

Call Stack (most recent call first):

CMakeLists.txt:5 (find_package)

-- CUDA Samples installation configured:

-- Architecture: aarch64

-- OS: linux

-- Build Type: release

-- Install Prefix: /drive/cuda-samples/build/bin

-- Install Directory: /drive/cuda-samples/build/bin/aarch64/linux/release

-- Found OpenMP_CXX: -fopenmp (found version “4.5”)

-- Found OpenMP: TRUE (found version “4.5”) found components: CXX

-- Found OpenMP_C: -fopenmp (found version “4.5”)

-- Found OpenMP: TRUE (found version “4.5”)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘simpleCUDA2GL’

-- Will not build sample simpleIPC - not supported on aarch64

-- Could NOT find MPI_C (missing: MPI_mpi_LIBRARY MPI_C_HEADER_DIR MPI_C_WORKS)

-- Could NOT find MPI_CXX (missing: MPI_mpi_cxx_LIBRARY MPI_mpi_LIBRARY MPI_CXX_HEADER_DIR MPI_CXX_WORKS)

-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)

-- MPI not found - will not build sample ‘simpleMPI’

-- Will not build sample simpleP2P - not supported on aarch64

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘simpleTexture3D’

-- Will not build sample systemWideAtomics - not supported on aarch64

-- Will not build sample vectorAddMMAP - not supported on aarch64

-- Will not build sample topologyQuery - not supported on aarch64

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- EGL not found - will not build sample ‘EGLStream_CUDA_CrossGPU’

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- EGL not found - will not build sample ‘EGLStream_CUDA_Interop’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘FunctionPointers’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘boxFilter’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘imageDenoising’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘particles’

-- Will not build sample streamOrderedAllocationIPC - not supported on aarch64

-- Will not build sample streamPriorities - not supported on aarch64

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘bindlessTexture’

-- Could NOT find FreeImage (missing: FreeImage_LIBRARY FreeImage_INCLUDE_DIR)

-- FreeImage not found - will not build sample ‘FilterBorderControlNPP’

-- Could NOT find FreeImage (missing: FreeImage_LIBRARY FreeImage_INCLUDE_DIR)

-- FreeImage not found - will not build sample ‘boxFilterNPP’

-- Could NOT find FreeImage (missing: FreeImage_LIBRARY FreeImage_INCLUDE_DIR)

-- FreeImage not found - will not build sample ‘cannyEdgeDetectorNPP’

-- CPM: Adding package CCCL@3.3.3 (v3.3.3)

-- Finding CCCL components: Thrust;CUB;libcudacxx

-- Found CUB: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/cub/cub-config.cmake (found suitable version “3.3.3.0”, minimum required is “3.3.3.0”)

-- libcudacxx: - Assuming CUDA host compiler is the same as CXX compiler.

-- libcudacxx: Set libcudacxx_MISMATCHED_HOST_COMPILER=TRUE to disable this.

-- Found libcudacxx: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/libcudacxx/libcudacxx-config.cmake (found suitable exact version “3.3.3.0”)

-- Found Thrust: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/thrust/thrust-config.cmake (found suitable exact version “3.3.3.0”)

-- Found CCCL: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/cccl/cccl-config.cmake (found version “3.3.3.0”)

-- Found libcudacxx: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/libcudacxx/libcudacxx-config.cmake (found version “3.3.3.0”)

-- Found CUB: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/cub/cub-config.cmake (found version “3.3.3.0”)

-- Found Thrust: /drive/cuda-samples/build/_deps/cccl-src/lib/cmake/thrust/thrust-config.cmake (found version “3.3.3.0”)

-- Could NOT find NVSCI (missing: NVSCIBUF_LIBRARY NVSCISYNC_LIBRARY NVSCIBUF_INCLUDE_DIR NVSCISYNC_INCLUDE_DIR)

-- NvSCI not found - will not build sample ‘cudaNvSci’

-- Could NOT find FreeImage (missing: FreeImage_LIBRARY FreeImage_INCLUDE_DIR)

-- FreeImage not found - will not build sample ‘freeImageInteropNPP’

-- Could NOT find FreeImage (missing: FreeImage_LIBRARY FreeImage_INCLUDE_DIR)

-- FreeImage not found - will not build sample ‘histEqualizationNPP’

-- CPM: Adding package dlpack@1.3 (v1.3)

-- Populating dlpack

-- Configuring done (0.0s)

-- Generating done (0.0s)

-- Build files have been written to: /drive/cuda-samples/build/_deps/dlpack-subbuild

[ 11%] Creating directories for ‘dlpack-populate’

[ 22%] Performing download step (git clone) for ‘dlpack-populate’

Cloning into ‘dlpack-src’


HEAD is now at 84d107b Update exchange API to be capsule following new convention (#180)

[ 33%] Performing update step for ‘dlpack-populate’

[ 44%] No patch step for ‘dlpack-populate’

[ 55%] No configure step for ‘dlpack-populate’

[ 66%] No build step for ‘dlpack-populate’

[ 77%] No install step for ‘dlpack-populate’

[ 88%] No test step for ‘dlpack-populate’

[100%] Completed ‘dlpack-populate’

[100%] Built target dlpack-populate

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘oceanFFT’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘randomFog’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘Mandelbrot’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘SobelFilter’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘bicubicTexture’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘bilateralFilter’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘fluidsGL’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘marchingCubes’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘nbody’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘postProcessGL’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘recursiveGaussian’

-- Sample ‘simpleD3D11’ is Windows-only - skipping

-- Sample ‘simpleD3D11Texture’ is Windows-only - skipping

-- Sample ‘simpleD3D12’ is Windows-only - skipping

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘simpleGL’

-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version “”)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Looking for GLFW/glfw3.h

-- Looking for GLFW/glfw3.h - not found

-- Vulkan not found - will not build sample ‘simpleVulkan’

-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version “”)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Vulkan not found - will not build sample ‘simpleVulkanMMAP’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘smokeParticles’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘volumeFiltering’

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘volumeRender’

-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version “”)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- Vulkan not found - will not build sample ‘vulkanImageCUDA’

-- Using CUDA_HOME: /usr/local/cuda

-- Using CUDA_LIB: /usr/local/cuda/targets/aarch64-linux/lib/stubs/libcuda.so

-- Using LIBNVVM_HOME: LIBNVVM_HOME-NOTFOUND

-- Using libnvvm header: NVVM_H-NOTFOUND

-- Using libnvvm header path:

-- Using libnvvm library: NVVM_LIB-NOTFOUND

-- Using rpath:

-- Skipping the build of the cuda-c-linking sample.

-- Could NOT find NVSCI (missing: NVSCIBUF_LIBRARY NVSCISYNC_LIBRARY NVSCIBUF_INCLUDE_DIR NVSCISYNC_INCLUDE_DIR)

-- NvSCI not found - will not build sample ‘cudaNvSciNvMedia’

-- Could NOT find NVSCI (missing: NVSCIBUF_LIBRARY NVSCISYNC_LIBRARY NVSCIBUF_INCLUDE_DIR NVSCISYNC_INCLUDE_DIR)

-- NvSCI not found - will not build sample ‘cudaNvSciBufMultiplanar’

-- CUDLA not found - will not build sample ‘cuDLAErrorReporting’

-- CUDLA not found - will not build sample ‘cuDLAHybridMode’

-- CUDLA not found - will not build sample ‘cuDLALayerwiseStatsHybrid’

-- Could NOT find NVSCI (missing: NVSCIBUF_LIBRARY NVSCISYNC_LIBRARY NVSCIBUF_INCLUDE_DIR NVSCISYNC_INCLUDE_DIR)

-- CUDLA not found - will not build sample ‘cuDLALayerwiseStatsStandalone’

-- Could NOT find NVSCI (missing: NVSCIBUF_LIBRARY NVSCISYNC_LIBRARY NVSCIBUF_INCLUDE_DIR NVSCISYNC_INCLUDE_DIR)

-- CUDLA not found - will not build sample ‘cuDLAStandaloneMode’

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘EGLSync_CUDAEvent_Interop’

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘fluidsGLES’

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘nbody_opengles’

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘simpleGLES’

-- Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)

-- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)

-- OpenGL not found - will not build sample ‘simpleGLES_EGLOutput’

CMake Error at cpp/9_CUDA_Tile/tileMatmulAutotuner/CMakeLists.txt:10 (find_program):

Could not find TILEIRAS_EXECUTABLE using the following names: tileiras

-- Configuring incomplete, errors occurred!

Dear @kevin.kolesiak ,
Could you please try pulling the CUDA 12.8 sample and check. Noticed CUDA tile sample is not part of CUDA 12.8 (cuda-samples/Samples at v12.8 · NVIDIA/cuda-samples · GitHub)

Could you please provide any update for this topic?

my projects at work shifted priorities, when I have some free time I will give an update regarding the mods solution.

Ok. We have released DOS 7.2.5 with CUDA 13.x.
Consider upgrading to latest release .