mp3guy / Kintinuous

Real-time large scale dense visual SLAM system
Other
918 stars 287 forks source link

Problem to run demo dataset #15

Closed HTLife closed 7 years ago

HTLife commented 7 years ago

I had successfully run the sample dataset on my old computer. However, when I tried to run it on my new PC, it always prompt me this error message:

~/code/Kintinuous/build$ ./Kintinuous -s 7 -v ../vocab.yml.gz  -l ../loop.klg -ri -fl -od
Point resolution: 13.6 millimetres
Error: invalid device function  /home/(myusername)/code/Kintinuous/src/frontend/cuda/tsdf_volume.cu:477

My hardware spec:

Environment

Installation all followed the "build.sh" file except "cuda".

Did you have any idea on this issue?


I tried a lot of combinations of Ubuntu version(14.04, 16.04) and Kitinuous install step, but all combination failed on my new PC.

mp3guy commented 7 years ago

Add 61 to CUDA_NVCC_ARCHS in the Core builds CMake configuration

On Oct 13, 2016 08:25, "HTLife" notifications@github.com wrote:

I had successfully run the sample dataset on my old computer. However, when I tried to run it on my new PC, it always prompt me this error message:

~/code/Kintinuous/build$ ./Kintinuous -s 7 -v ../vocab.yml.gz -l ../loop.klg -ri -fl -od Point resolution: 13.6 millimetres Error: invalid device function /home/(myusername)/code/Kintinuous/src/frontend/cuda/tsdf_volume.cu:477

My hardware spec:

  • Mother board: ASUS Z170ar
  • CPU: Intel I7 6700K
  • RAM: 16GB
  • GPU: NVidia GTX 1060

Environment

  • OS Ubuntu 14.04
  • CUDA 8.0 (had tried 7.5 but cannot login after installation, so I changed to 8.0)

Installation all followed the "build.sh" file except "cuda".

Did you have any idea on this issue?

I tried a lot of combinations of Ubuntu version(14.04, 16.04) and Kitinuous install step, but all combination failed on my new PC.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mp3guy/Kintinuous/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/ADFq5ypaK8ABMKILyQkWp1dJxBFkNJy1ks5qzk1pgaJpZM4KWBlb .

HTLife commented 7 years ago

@mp3guy Thanks for your hint. It works like a charm!

Note for someone who also suffer from this problem: Kintinuous/src/CMakeLists.txt Add 61 to Line39 Line39: set(CUDA_ARCH_BIN "20 30 35 50 52 61" CACHE STRING "Specify 'real' GPU arch to build binaries for, BIN(PTX) format is su pported. Example: 1.3 2.1(1.3) or 13 21(13)")