cuMAC 24-3, how to set NVINFER and NVONNXPARSER

Hi there,

Just got cuBB 24-3, when I tried to build cuMAC following Getting Started with cuMAC - NVIDIA Docs,
on step
cmake … -DCMAKE_BUILD_TYPE=Debug
I got following errors:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NVINFER
linked by target “trtEngine” in directory /mnt/la-fs02/users/sli/AI/kwic/cuBB/cuBB_24.3/cuMAC/examples/trtEngine
linked by target “drlMcsSelection” in directory /mnt/la-fs02/users/sli/AI/kwic/cuBB/cuBB_24.3/cuMAC/examples/drlMcsSelection
linked by target “cumac” in directory /mnt/la-fs02/users/sli/AI/kwic/cuBB/cuBB_24.3/cuMAC/src
NVONNXPARSER
linked by target “trtEngine” in directory /mnt/la-fs02/users/sli/AI/kwic/cuBB/cuBB_24.3/cuMAC/examples/trtEngine
linked by target “drlMcsSelection” in directory /mnt/la-fs02/users/sli/AI/kwic/cuBB/cuBB_24.3/cuMAC/examples/drlMcsSelection
linked by target “cumac” in directory /mnt/la-fs02/users/sli/AI/kwic/cuBB/cuBB_24.3/cuMAC/src

Did not get these errors when I built cuBB 24-2, can you tell me how to set “NVINFER” and “NVONNXPARSER”

Thanks
Sheng

Hi @sheng.li ,

I followed the same steps on the 24-3 container and do not see this issue. Can you delete the build directory and try again?

Thank you.

:/opt/nvidia/cuBB/cuMAC/build$ cmake .. -DCMAKE_BUILD_TYPE=Debug
-- cuMAC is using toolchain /opt/nvidia/cuBB/cuMAC/../cuPHY/cmake/toolchains/devkit
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 12.3.0
-- The CUDA compiler identification is NVIDIA 12.6.77
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/gnu/bin/x86_64-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/local/gnu/bin/x86_64-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
-- Using GPU architectures 80-real;90-real
-- Found CUDAToolkit: /usr/local/cuda/include (found version "12.6.77")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/local/lib/libcrypto.so;/usr/lib/x86_64-linux-gnu/libcurl.so;/usr/lib/x86_64-linux-gnu/libpthread.a;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/local/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.7") found components: CXX
-- including nvlog
-- Setting NVIPC_FMTLOG_ENABLE ON
-- Found Python: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter
-- Module support is disabled.
-- Version: 9.1.0
-- Build type: Debug
-- CXX_STANDARD: 17
-- Performing Test has_std_17_flag
-- Performing Test has_std_17_flag - Success
-- Performing Test has_std_1z_flag
-- Performing Test has_std_1z_flag - Success
-- Required features: cxx_variadic_templates
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/nvidia/cuBB/cuMAC/build

@bkecicioglu , thanks for your help. I was trying to build it outside container, after I moved the build inside the container, I could build, thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.