-
@gregoire-pointeau commented on Thu Dec 01 2016 Hello, we are working on the cluster. We have the blades and the cuda machine that share the same sources. While compiling This is the 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 disable Thank you cc @AnneLaureM |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
However, the same binaries compiled on In case you really need to compile on @mbrunettini @vtikha am I wrong or missing anything? |
Beta Was this translation helpful? Give feedback.
-
On the blades were always set 2 directories in each project (
|
Beta Was this translation helpful? Give feedback.
-
@gregoire-pointeau can you confirm that the |
Beta Was this translation helpful? Give feedback.
-
Nonetheless, if they have two separate build directories, then you shouldn't experience any problem, in principle. Are the env variables correctly set up? What are the values of Did you try out purging the cmake cache? |
Beta Was this translation helpful? Give feedback.
-
@AnneLaureM Could you have a look please? I'm never comfortable with everything that is architecture-related... |
Beta Was this translation helpful? Give feedback.
-
@gregoire-pointeau did you build OpenCV manually? Apparently the warning comes from inside the |
Beta Was this translation helpful? Give feedback.
-
@gregoire-pointeau let me add something to @drdanz's comment, if |
Beta Was this translation helpful? Give feedback.
-
Hi @gregoire-pointeau and @AnneLaureM |
Beta Was this translation helpful? Give feedback.
-
Hi everybody, I am REALLY SORRY for the response time (I had my defense thesis on monday :-) ) . I just have one last question... Which operating system do you use on your blades and the cuda machine at IIT ? Would it not be preferable to upgrade the whole cluster with Debian Jessie ? Is there a procedure to do it on the blades ? Thanks very much for your help !! Cheers, Anne-Laure |
Beta Was this translation helpful? Give feedback.
-
Congratualtions @AnneLaureM, you made the grade 🎉 🎓 😄 Actually, we've lately upgraded our system to the use of Ubuntu Xenial. It's likely that @mbrunettini can point you at a list of useful instructions he might have for that. |
Beta Was this translation helpful? Give feedback.
-
Hi !! Thanks @pattacini :-) Thanks to the grade, I am now able to read properly cmake errors :-D :-D. Cheers, Anne-Laure |
Beta Was this translation helpful? Give feedback.
-
@AnneLaureM is this still active? |
Beta Was this translation helpful? Give feedback.
Hi @gregoire-pointeau
cuda
and theblades
should have the same OS, but of coursecuda
has its own stuff related to the GPU platform. Therefore, compilation should always go neatly oncuda
but might bring about troubles onblades
.However, the same binaries compiled on
cuda
should run smoothly also if launched fromblades
, because they basically share the same OS. Thus, you wouldn't need to compile code onblades
.In case you really need to compile on
blades
, one possible workaround is to keep sharing sources, but differentiate the build process. This would entail to tailor e.g. theYARP_DIR
andICUB_DIR
variables specifically for theblades
.@mbrunettini @vtikha am I wrong or missing anyt…