Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desactivate CUDA in cmake #981

Closed
gregoire-pointeau opened this issue Dec 1, 2016 · 1 comment
Closed

Desactivate CUDA in cmake #981

gregoire-pointeau opened this issue Dec 1, 2016 · 1 comment
Labels
Issue Type: QA/Support This is a generic question or a support request that does not require a patch Resolution: Other

Comments

@gregoire-pointeau
Copy link

gregoire-pointeau commented Dec 1, 2016

Hello, we are working on the cluster. We have the blades and the cuda machine that share the same sources.

While compiling yarp then icub-main, it works on the cuda-machine but on the blades we have a problem of cuda:

This is the cmake:

CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /usr/local
CREATE_GUIS OFF
CREATE_LIB_MATH OFF
CREATE_SHARED_LIBRARY ON
CREATE_YARPDATADUMPER ON
CREATE_YARPMANAGER_CONSOLE ON
CREATE_YARPROBOTINTERFACE ON
CUDA_BUILD_CUBIN OFF
CUDA_BUILD_EMULATION OFF
CUDA_SDK_ROOT_DIR CUDA_SDK_ROOT_DIR-NOTFOUND
CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda
CUDA_VERBOSE_BUILD OFF
ENABLE_DASHBOARD_SUBMIT OFF
OpenCV_DIR /usr/local/src/robot/opencv/build
YCM_DIR YCM_DIR-NOTFOUND

and this is the output:

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find CUDA: Found unsuitable version "7.5", but required is exact
version "4.2" (found /usr/local/cuda)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:286 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindCUDA.cmake:723 (find_package_handle_standard_args)
/usr/local/src/robot/opencv/build/OpenCVConfig.cmake:48 (find_package)
/usr/local/src/robot/opencv/build/OpenCVConfig.cmake:276 (find_host_package)
cmake/ycm-0.2/find-modules/FindOpenCV.cmake:88 (find_package)
cmake/YarpFindDependencies.cmake:363 (find_package)
CMakeLists.txt:62 (include)

Is there a way to deactivate cuda?

Thank you

@AnneLaureM

@pattacini
Copy link
Member

Issue moved to robotology/QA #166 via ZenHub

@drdanz drdanz added Resolution: Other Issue Type: QA/Support This is a generic question or a support request that does not require a patch labels Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue Type: QA/Support This is a generic question or a support request that does not require a patch Resolution: Other
Projects
None yet
Development

No branches or pull requests

3 participants