-
Notifications
You must be signed in to change notification settings - Fork 17
Error when compiling on computers with Nvidia GPU #8
Comments
Eventually it would be a good thing to make the tests on a machine capable of CUDA. |
On the computer, which has problems with CUDA, this script runs fine. |
@gocarlos A simple hack is to put the following line just before cuda_compute_capability check which could be easily found by checking your GPU compute capability(which was 3.5 in my case). Still I receive the following error which I think is because the in string function is empty. So to make it work I did another hack of using CUDA_ARCH instead of CUDA_ARCH_LIST in the following for loop. |
@arpit15 I didn't find a solution for that problem so far, currently I'm using Infinitam without CUDA (#set(WITH_CUDA FALSE) in CMakeLists.txt) . is your solution working then with CUDA? have you seen if its using CUDA when you start it? |
Hi @gocarlos did you solve the problem when its using CUDA? |
humm, this was 3 years ago... I don't remember if I had a solution... |
On some computers with NVIDIA GPU there is an error when compiling.
On a workstation with a Quadro K2100M it works, on another with a GTX 670 it does not.
Both have CUDA installed as seen when run the compilation with "-v". On both Ubuntu 14.04.05.
It works if compiled without CUDA support.
`
CMake Error at /home/gocarlos/catkin_ws/src/perception_packages/infinitam/InfiniTAM/cmake/CUDACheckCompute.cmake:10 (try_run): Attempt at a recursive or nested TRY_COMPILE in directory
/home/gocarlos/catkin_ws/build/infinitam
Call Stack (most recent call first): ITMLib/CMakeLists.txt:211 (include)
CMake Error: TRY_COMPILE attempt to remove -rf directory that does not contain CMakeTmp:/home/gocarlos/catkin_ws/build/infinitam
CMake Error at /home/gocarlos/catkin_ws/src/perception_packages/infinitam/InfiniTAM/ITMLib/CMakeLists.txt:214 (string):
string sub-command REPLACE requires at least four arguments.
INFOOpenNI found: FALSE
make: *** [cmake_check_build_system] Error 1
cd /home/gocarlos/catkin_ws/build/infinitam; catkin build --get-env infinitam | catkin env -si /usr/bin/make cmake_check_build_system; cd -
`
The text was updated successfully, but these errors were encountered: