Robotics StackExchange | Archived questions

AUTOWARE_COMPILE_WITH_CUDA=1 fails to build

Hi all!

Following is my system's spec:

Operating system and version: Ubuntu 16.04 - CUDA 10.1 - tensorrt 5.1.5.0-1+cuda10.1 Autoware commit 42aba14 git tag: 1.12.0-alpha.1 Autoware installation type: from source

Description of the problem:

'$AUTOWARECOMPILEWITHCUDA=1 ./colconrelease' (https://github.com/autowarefoundation/autoware/wiki/Source-Build) fails to build although without this flag building finishes with a success but it says 'CUDA was not found' and for instance ndt_gpu cannot be built. (terminal's output is attached)

ssdcafe was installed sucessfully as well as CUDA. (tested with samples-cuda10.1)

terminal output: https://drive.google.com/file/d/1ieDEZ0_USrFiJx_LrXrRikfOP7NI7A-Z/view?usp=sharing and https://drive.google.com/file/d/1NCs9_93nIMGGu9kx-1RvY1wX8Ckoxkjk/view?usp=sharing

Thanks in advance!

Cheers,

Asked by cassini.huygens on 2019-06-18 18:33:36 UTC

Comments

Please don't use images to display text. See the support section. Please update your question with a copy and paste of the text instead

Asked by jayess on 2019-06-18 19:26:44 UTC

For the moment, only CUDA 9.0 is supported on Kinetic.

Asked by amc-nu on 2019-06-18 19:32:31 UTC

@Jayees Thank you for your reply but I have not attached any images. I coppied the terminal outputs to .txt files and shared it on my Google Drive since each were around 800 lines. Should I include all here in the post?

Asked by cassini.huygens on 2019-06-19 17:22:28 UTC

@amc-nu Thanks for the reply. I thought the issue was solved according to https://github.com/autowarefoundation/autoware/issues/2094#issuecomment-470833346 Also, I have GeForce RTX 2080 I am not sure if it's possible to install a CUDA bellow 10 version.

Asked by cassini.huygens on 2019-06-19 17:28:48 UTC

@cassini.huygens I Have Nvidia GeForce 1060 and I was able to install CUDA 10.

Asked by AM97 on 2019-06-20 03:18:51 UTC

@cassini.huygens my mistake, it looked like an image. I think that it'd be better to include them in the question so that it remains self-contained. If you look at many previous questions, external files are often missing making them less useful

Asked by jayess on 2019-06-20 03:20:48 UTC

@amc-nu and @cassini.huygens, i meet the same error in autoware-1.9.1 on indigo, when building use cuda-10.1, AUTOWARE_COMPILE_WITH_CUDA=1 ./catkin_make_release. Which cuda version should we install, is there any doc to clearly stata this info on autoware site or somewhere, thanks much!

Asked by jxl on 2019-06-21 06:54:07 UTC

@jxl the problem I faced is not resolved for me yet either.

Asked by cassini.huygens on 2019-06-21 15:38:14 UTC

@cassini.huygens,I uninstall cuda-10.1 and install cuda-8.0(cuda-8.0-ga2), then build successfully.

Asked by jxl on 2019-06-24 01:01:32 UTC

Answers

Only CUDA 9.0 is officially supported on 16.04.

On Ubuntu 18.04, only CUDA 10.0 is currently supported (It will need you to upgrade Eigen to 3.3.7).

@jxl All this information is available at the Wiki on GitHub https://github.com/autowarefoundation/autoware/wiki/Source-Build

or at Gitlab (Autoware's new home) : https://gitlab.com/autowarefoundation/autoware.ai/autoware/wikis/Source-Build

Asked by amc-nu on 2019-06-21 18:41:17 UTC

Comments

Thanks a lot

Asked by jxl on 2019-06-23 22:55:15 UTC