GithubHelp home page GithubHelp logo

Comments (5)

swapnesh-wani-nvidia avatar swapnesh-wani-nvidia commented on June 12, 2024

Looks like the url for cloning nvblox is not setup for https protocol. You can try to use this url in you docker file
https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nvblox

from isaac_ros_common.

arainbilal avatar arainbilal commented on June 12, 2024

Hi @swapnesh-wani-nvidia
Thanks for your help. I have changed the URL in my Dockerfile. The cloning of the nvblox passed through. However, the CMAKE_CUDA_ARCHITECTURES is empty. I can confirm that this is not the case when manually cloning the repository in the container. Just wondering if you can guide me furthermore on this. Thanks.

Starting >>> nvblox
Starting >>> nvblox_msgs
Finished <<< nvblox_msgs [5.88s]
--- stderr: nvblox
CMake Warning at thirdparty/stdgpu/stdgpu.cmake:49 (message):
  Falling back to default CCs :
Call Stack (most recent call first):
  CMakeLists.txt:55 (include)


CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_cuda_check".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_cuda_check".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_gpu_hash".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_lib".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in examples/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "esdf_query".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in examples/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "esdf_query".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in examples/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "esdf_query".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_test_utils".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "nvblox_test_utils".
This warning is for project developers.  Use -Wno-dev to suppress it.

---
[Processing: nvblox]
[Processing: nvblox]
Finished <<< nvblox [1min 27s]
Starting >>> nvblox_ros
[Processing: nvblox_ros]
Finished <<< nvblox_ros [37.4s]

Summary: 3 packages finished [2min 5s]
  1 package had stderr output: nvblox

from isaac_ros_common.

hemalshahNV avatar hemalshahNV commented on June 12, 2024

Can you report the output of cmake --version inside your container? It should read cmake version 3.23.2

from isaac_ros_common.

arainbilal avatar arainbilal commented on June 12, 2024

Hi @hemalshahNV, Thank you for your response. The cmake version is 3.23.2. To reproduce this problem, please use the following
1.

mkdir tmp && cd tmp
git clone --recursive https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common.git
cd isaac_ros_common && git lfs pull
  1. The .isaac_ros_common-config include CONFIG_IMAGE_KEY="humble.nav2.nvblox".
  2. Add the attached docker file, and rename the file, as follows:
cd docker
mv Dockerfile.nvblox.txt Dockerfile.nvblox
  1. Run the script
cd ../scripts && ./run_dev.sh
  1. List the docker images, which should have the following:
isaac_ros_dev-x86_64
nvblox-image

Please let me know if I an provide more information to reproduce the above warnings. Thanks.

from isaac_ros_common.

hemalshahNV avatar hemalshahNV commented on June 12, 2024

@arainbilal , are you perhaps running this on a host with no GPU or without configuring the default runtime as nvidia-container-toolkit for docker which makes the GPUs are made available to the Docker build environment to resolve the current GPU architecture to build the CUDA code for? The build files for nvblox only compile the CUDA code for the architecture for the host GPU to save compilation time.

from isaac_ros_common.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.