The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13084 ====================================================================== Reported By: Vladislav Assigned To: ====================================================================== Project: CMake Issue ID: 13084 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2012-03-31 17:25 YEKST Last Modified: 2012-03-31 17:25 YEKST ====================================================================== Summary: FindCUDA is adding libcuda.so, but this is part of driver and not CUDA Runtime. Description: FindCUDA shan't add libcuda.so library by default as it adds dependence on the NVIDIA driver. It leads to impossibility of creation of one executable file which can be launched regardless of NVIDIA GPU existence.
For example, it is watched in heterogeneous computing clusters when only a part of nodes GPU are equipped. See thread on NVIDIA forum: http://forums.nvidia.com/index.php?showtopic=190729 To fix this issue need remove next code from FindCUDA.cmake: > # Add cuda library to the link line only if it is found. > if (CUDA_CUDA_LIBRARY) > set(CUDA_LIBRARIES ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY}) > endif(CUDA_CUDA_LIBRARY) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-03-31 17:25 Vladislav New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
