Closed spedygiorgio closed 7 years ago
Use this for OpenCL_INCLUDE_DIR
:
OpenCL_INCLUDE_DIR = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/include"
Because LightGBM is looking for the folder/file CL/cl.h
, in your case it was looking for C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/include/CL/CL/cl.h
(causing an error as it does not exist).
Well, it goes on but it throw the following error:
I have an NVIDIA Quadro M3000M cuda above, I used R 3.4 x 64 path below: C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\SASHome\x86\SASFoundation\9.4\ets\sasexe;C:\Program Files\SASHome\Secure\ccme4;C:\Program Files\SASHome\x86\Secure\ccme4;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Anaconda3;C:\Program Files\Anaconda3\Scripts;C:\Program Files\Anaconda3\Library\bin;C:\Program Files\Git\cmd;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Plantronics\Spokes3G\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Program Files (x86)\Xoreax\IncrediBuild;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Users\UGA04625\AppData\Local\rstudio\spark\Cache\spark-2.0.1-bin-hadoop2.7\bin;C:\Rtools\bin;c:\Rtools\mingw_64\bin;C:\Program Files\qpdf-6.0.0\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\CMake\bin;C:\boost\boost-build\bin;C:\boost\boost-build\include\boost
fixed this steps thanks. By the way I suggest to add some reverences to NVIDIA cuda in the docs.
G
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
Hi All, I am following your tutorial to build the R package with MGCVWIN under windows. I have a NVIDA GPU graphics card so I downloaded the Cuda toolkit. When building the development version of the package the following error raises to me:
I found the indicated files for OpenCL in the following dirs:
BOOST_INCLUDE_DIR = "C:/boost/boost-build/include" BOOST_LIBRARY = "C:/boost/boost-build/lib" OpenCL_INCLUDE_DIR = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/include/CL" OpenCL_LIBRARY = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/lib/win32"
Any help will be appreciated