Giter Club home page Giter Club logo

Comments (42)

cdeterman avatar cdeterman commented on September 28, 2024

Hi @skanskan, only the CUDA SDK should be required for NVIDIA cards. How did you define the environmental variables? Did you define them globally using the Windows system settings or directly in R using Sys.setenv?

from gpur.

skanskan avatar skanskan commented on September 28, 2024

I defined the variables from Windows setting

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan Can you confirm the variables are set in your R session with Sys.getenv('OPENCL_INC')?

from gpur.

skanskan avatar skanskan commented on September 28, 2024

Hello.

This command only produces this line:
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include"

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan that is strange then. The error is coming from the configure.win script that is only checking if OPENCL_INC is defined. Are you installing from CRAN or from my repository on github? I will need to try and see if I can replicate this.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

I just try:

install.packages('gpuR')

then I get this message:

Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘gpuR’
Do you want to attempt to install these from sources?
y/n:

I select yes and it download the sources from here:
'https://mran.microsoft.com/snapshot/2016-04-01/src/contrib/gpuR_1.1.0.tar.gz'

And it starts to compile:

installing the source package ‘gpuR’

trying URL 'https://mran.microsoft.com/snapshot/2016-04-01/src/contrib/gpuR_1.1.0.tar.gz'
Content type 'application/octet-stream' length 322464 bytes (314 KB)
downloaded 314 KB

  • installing source package 'gpuR' ...
    ** package 'gpuR' successfully unpacked and MD5 sums checked
    g++ version = 4.6.3
    OPENCL_INC set to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include
    OPENCL_LIB64 set to C:\Program Files\NVIDIA Corporation\OpenCL
    ** libs
    Warning: this package has a non-empty 'configure.win' file,
    so building only the main architecture

g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c context.cpp -o context.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c device.cpp -o device.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c dynEigenMat.cpp -o dynEigenMat.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c dynEigenVec.cpp -o dynEigenVec.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c dynVCLMat.cpp -o dynVCLMat.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c dynVCLVec.cpp -o dynVCLVec.o
C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include/viennacl/device_specific/forwards.h:130:20: warning: 'std::string viennacl::device_specific::generate_value_kernel_argument(const string&, const string&)' defined but not used [-Wunused-function]
C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include/viennacl/device_specific/forwards.h:136:20: warning: 'std::string viennacl::device_specific::generate_pointer_kernel_argument(const string&, const string&, const string&)' defined but not used [-Wunused-function]
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c gpuEigenPtr.cpp -o gpuEigenPtr.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c gpuMatrix_iaxpy.cpp -o gpuMatrix_iaxpy.o
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpuMatrix_iaxpy.cpp:7:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In function 'cl_int cl::UnloadCompiler()':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:14: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:31: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3918:25: warning: 'cl_mem* clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3919:85: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4231:25: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4233:46: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpuMatrix_iaxpy.cpp:7:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueMarker(cl::Event_) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6387:15: warning: 'cl_int clEnqueueMarker(cl_command_queue, _cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6389:46: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vectorcl::Event&) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6402:15: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event* const)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6405:77: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event const
)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueBarrier() const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:15: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:39: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c gpuMatrix_igemm.cpp -o gpuMatrix_igemm.o
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpuMatrix_igemm.cpp:7:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In function 'cl_int cl::UnloadCompiler()':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:14: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:31: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3918:25: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3919:85: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4231:25: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4233:46: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpuMatrix_igemm.cpp:7:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueMarker(cl::Event_) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6387:15: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6389:46: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vectorcl::Event&) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6402:15: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event* const)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6405:77: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event const
)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueBarrier() const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:15: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:39: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-32~1.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c gpuVector_iaxpy.cpp -o gpuVector_iaxpy.o
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpuVector_iaxpy.cpp:7:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In function 'cl_int cl::UnloadCompiler()':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:14: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:31: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, void
, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3918:25: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3919:85: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4231:25: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4233:46: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpuVector_iaxpy.cpp:7:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueMarker(cl::Event_) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6387:15: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6389:46: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vectorcl::Event&) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6402:15: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event* const)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6405:77: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event const
)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueBarrier() const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:15: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:39: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-32~1.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c gpu_vector_algebra.cpp -o gpu_vector_algebra.o
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpu_vector_algebra.cpp:6:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In function 'cl_int cl::UnloadCompiler()':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:14: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:31: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, void
, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3918:25: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3919:85: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4231:25: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4233:46: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, std::size_t, std::size_t, std::size_t, std::size_t, std::size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from gpu_vector_algebra.cpp:6:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueMarker(cl::Event_) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6387:15: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6389:46: warning: 'cl_int clEnqueueMarker(cl_command_queue, cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vectorcl::Event&) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6402:15: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event* const)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6405:77: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event const
)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueBarrier() const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:15: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:39: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-32~1.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c platform.cpp -o platform.o
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from platform.cpp:5:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In function 'cl_int cl::UnloadCompiler()':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:14: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:2424:31: warning: 'cl_int clUnloadCompiler()' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1225) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image2D::Image2D(const cl::Context&, cl_mem_flags, cl::ImageFormat, size_t, size_t, size_t, void
, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3918:25: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, size_t, size_t, size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:3919:85: warning: 'cl_mem clCreateImage2D(cl_context, cl_mem_flags, const cl_image_format_, size_t, size_t, size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1191) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In constructor 'cl::Image3D::Image3D(const cl::Context&, cl_mem_flags, cl::ImageFormat, size_t, size_t, size_t, size_t, size_t, void_, cl_int_)':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4231:25: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, size_t, size_t, size_t, size_t, size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:4233:46: warning: 'cl_mem clCreateImage3D(cl_context, cl_mem_flags, const cl_image_format_, size_t, size_t, size_t, size_t, size_t, void_, cl_int_)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1201) [-Wdeprecated-declarations]
In file included from ../inst/include/gpuR/cl_helpers.hpp:29:0,
from platform.cpp:5:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueMarker(cl::Event_) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6387:15: warning: 'cl_int clEnqueueMarker(cl_command_queue, _cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6389:46: warning: 'cl_int clEnqueueMarker(cl_command_queue, _cl_event**)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1213) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueWaitForEvents(const std::vectorcl::Event&) const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6402:15: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event* const)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6405:77: warning: 'cl_int clEnqueueWaitForEvents(cl_command_queue, cl_uint, cl_event const*)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1217) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp: In member function 'cl_int cl::CommandQueue::enqueueBarrier() const':
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:15: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.hpp:6539:39: warning: 'cl_int clEnqueueBarrier(cl_command_queue)' is deprecated (declared at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include/CL/cl.h:1222) [-Wdeprecated-declarations]
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c trunc_gpuMat.cpp -o trunc_gpuMat.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c utils-vcl.cpp -o utils-vcl.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c utils.cpp -o utils.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c vclPtr.cpp -o vclPtr.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c vienna_blas1.cpp -o vienna_blas1.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c vienna_blas3.cpp -o vienna_blas3.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c vienna_eigen.cpp -o vienna_eigen.o
g++ -m64 -std=c++0x -I"C:/PROGRA
1/MIE74D1/MRO/R-321.4/include" -DNDEBUG -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/Rcpp/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RcppEigen/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/RViennaCL/include" -I"C:/Program Files/Microsoft/MRO/R-3.2.4/library/BH/include" -I"c:/applications/extsoft/include" -I../inst/include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -O2 -Wall -mtune=core2 -c vienna_stats.cpp -o vienna_stats.o
g++ -m64 -shared -s -static-libgcc -o gpuR.dll tmp.def RcppExports.o context.o device.o dynEigenMat.o dynEigenVec.o dynVCLMat.o dynVCLVec.o gpuEigenPtr.o gpuMatrix_iaxpy.o gpuMatrix_igemm.o gpuVector_iaxpy.o gpu_vector_algebra.o platform.o trunc_gpuMat.o utils-vcl.o utils.o vclPtr.o vienna_blas1.o vienna_blas3.o vienna_eigen.o vienna_stats.o -LC:\Program Files\NVIDIA Corporation\OpenCL -lOpenCL -Lc:/applications/extsoft/lib/x64 -Lc:/applications/extsoft/lib -LC:/PROGRA1/MIE74D1/MRO/R-32~1.4/bin/x64 -lR
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:\Program Files\NVIDIA Corporation\OpenCL/OpenCL.dll when searching for -lOpenCL
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:\Program Files\NVIDIA Corporation\OpenCL/OpenCL.dll when searching for -lOpenCL
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lOpenCL
collect2: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'gpuR'

  • removing 'C:/Program Files/Microsoft/MRO/R-3.2.4/library/gpuR'
    Warning in install.packages :
    running command '"C:/PROGRA1/MIE74D1/MRO/R-32~1.4/bin/x64/R" CMD INSTALL -l "C:\Program Files\Microsoft\MRO\R-3.2.4\library" c:\temp\RtmpY3kYqs/downloaded_packages/gpuR_1.1.0.tar.gz' had status 1
    Warning in install.packages :
    installation of package ‘gpuR’ had non-zero exit status

The downloaded source packages are in
‘c:\temp\RtmpY3kYqs\downloaded_packages’

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan Ah, that looks better. I suspect your OPENCL_LIB64 is pointing to the wrong place. If you installed the default CUDA toolkit I believe it should be something like this C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64. You are looking for OpenCL.lib NOT OpenCL.dll so the variable should point to the directory that contains that file.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

Hello.

Instead of copying a very big output I've written it here (I hope is OK)
http://pastebin.com/pfSjahY1

The last lines are:

** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/Microsoft/MRO/R-3.2.4/library/gpuR/libs/x64/gpuR.dll':
LoadLibrary failure: The specified module could not be found.

Error: loading failed
Execution halted
ERROR: loading failed

  • removing 'C:/Program Files/Microsoft/MRO/R-3.2.4/library/gpuR'
    Warning in install.packages :
    running command '"C:/PROGRA1/MIE74D1/MRO/R-32~1.4/bin/x64/R" CMD INSTALL -l "C:\Program Files\Microsoft\MRO\R-3.2.4\library" c:\temp\RtmpCiWbp7/downloaded_packages/gpuR_1.1.0.tar.gz' had status 1
    Warning in install.packages :
    installation of package ‘gpuR’ had non-zero exit status

The downloaded source packages are in
‘c:\temp\RtmpCiWbp7\downloaded_packages’

from gpur.

skanskan avatar skanskan commented on September 28, 2024

Don't you have precompiled files for nVidia for Windows 10 x64?

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan It looks like you are also installing an older version of gpuR (1.1.0). This is likely because your R version is slightly outdated. I suggest upgrading your version sometime soon. In the meantime, try installing directly from my github with devtools::install_github('cdeterman/gpuR'). That should install version 1.1.2. I just installed this personally on my own Windows 7 machine (I don't have access to 10) and it succeeded pointing to the CUDA SDK.

Another thought, check your PATH environmental variable. The install error ('module could not be found') makes me think the program is having trouble finding the OpenCL.dll file (not what we compiled against but is needed to run the program). You path should have something like this I think C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin;

Unfortunately it is impossible for me to have precompiled binaries for Windows. I would need a binary for every SDK and potentially multiple different versions of SDK's. CRAN only supports hosting one binary per package. So it is necessary to have the user compile the code themselves.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

I give up, thank you anyway.
I've tried with devtools::install_github('cdeterman/gpuR') with no luck.
the path variable is right too.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan sorry this is proving so troublesome for you. It is quite confusing why you are receiving the installation error. If you are willing, have you tried compiling any pure OpenCL programs in C/C++? Not sure your familiarity but I have a script I usually use for testing OpenCL in another repository here. You can download the file and try to compile it using the following:

C:/Rtools/mingw_64/bin/g++ clDeviceQuery.cpp -o clDeviceQuery -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64" -lOpenCL

./clDeviceQuery

from gpur.

skanskan avatar skanskan commented on September 28, 2024

Hello and thank you for your help.

If I download and try to compile your files I get this error:

clDeviceQuery.cpp: In function 'int main(int, const char**)':
clDeviceQuery.cpp:264:25: error: 'time' was not declared in this scope
clDeviceQuery.cpp:267:22: error: 'localtime' was not declared in this scope
clDeviceQuery.cpp:269:50: error: 'strftime' was not declared in this scope

I have some experience compiling simple things and no experience with openCL

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan AH! You are correct here, I needed to have an additional header added for Windows. Sorry, I usually work in a linux box for development. Try the most recent clDeviceQuery.cpp file now (it has the #include <ctime> in line 16). Try the exact same compiling command shown above.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

@cdterman Now I get a different error


C:\Rtools\gcc-4.6.3\bin\g++.exe clDeviceQuery.cpp -o clDeviceQuery -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64" -lOpenCL
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64/OpenCL.lib when searching for -lOpenCL
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64/OpenCL.lib when searching for -lOpenCL
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: skipping incompatible C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64\OpenCL.lib when searching for -lOpenCL
c:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lOpenCL
collect2: ld returned 1 exit status

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan It looks like you are using the 32-bit compiler on a 64-bit library. Try it with The Rtools path to the 64-bit version under mingw_64.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

I installed Rtools for Windows from https://cran.r-project.org/bin/windows/Rtools/
it doesn't contain any mingw_64 subfolder.
Can I just create a new subfolder and drop there the x64 binaries from another mingw64 distribution?

PD: I've just checked and yes, the g++ executable being used is 32bit.

PD2: I've just installed mingw64 and it contains only one g++.exe file and one x86_64-w64-mingw32-g++.exe but inspected with PEStudio it says it's 32bit.
Anyway, it could be 32 bit and create 64bit executable, isn't it?

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan That's odd, you installed version 3.4 (You can check the VERSION.txt file in the C:\Rtools directory)? In the C:/Rtools directory there should be a mingw_64. It must be somewhere given that your previous installation output you put in pastebin is using the m64 flag within R which means it is using a 64 bit compiler.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

My Rtools version is 3.3, because is the one compatible with my R version 3.2.5.
I haven't upgraded to R 3.3.0 because the version I use has BLAS libraries and some other things and is stable.
Do you think my problem wouldn't happen if I upgrade it?

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

I think 3.3 should work as it should have the 64 bit components. Perhaps you could try re-installing the Rtools and make sure the 64 bit toolchain is installed.

On another point, I have been working on simplifying the install to have the package see what SDK is installed and use it automatically (see in Issue #21) which I have just committed and tested on my machines. Please update your environmental variable OPENCL_LIB64 to OPENCL_LIB. Then install my development branch using devtools::install_github('cdeterman/gpuR', ref = 'develop'). You could also just remove the OPENCL_INC and OPENCL_LIB variables as it should automatically detect your CUDA SDK using the environmental variables defined during the CUDA toolkit installation. These updates may help the overall situation as well.

from gpur.

pathfinder11 avatar pathfinder11 commented on September 28, 2024

Hi @skanskan and @cdeterman, I am having similar issues with installing gpuR. Cna I please doulbe check that I have set the environment vairables in R correctly as the instructions do not provide me with a clear idea of your intention. I have set the following:
`> Sys.setenv(OPENCL_LIB64 = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64")

Sys.setenv(OPENCL_INC = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include")`

Now when I go to install the gpuR package fromn Cran I get the following reposne and issues:
`> install.packages('gpuR')
Installing package into ‘C:/Users/me/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘gpuR’
Do you want to attempt to install these from sources?
y/n: y
installing the source package ‘gpuR’

trying URL 'https://cran.rstudio.com/src/contrib/gpuR_1.1.2.tar.gz'
Content type 'application/x-gzip' length 323285 bytes (315 KB)
downloaded 315 KB

  • installing source package 'gpuR' ...
    ** package 'gpuR' successfully unpacked and MD5 sums checked
    g++ version =
    OPENCL_INC set to C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include
    OPENCL_LIB64 set to C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64
    ** libs
    Warning: this package has a non-empty 'configure.win' file,
    so building only the main architecture

g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c context.cpp -o context.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c device.cpp -o device.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c dynEigenMat.cpp -o dynEigenMat.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c dynEigenVec.cpp -o dynEigenVec.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c dynVCLMat.cpp -o dynVCLMat.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c dynVCLVec.cpp -o dynVCLVec.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c gpuEigenPtr.cpp -o gpuEigenPtr.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c gpuMatrix_iaxpy.cpp -o gpuMatrix_iaxpy.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c gpuMatrix_igemm.cpp -o gpuMatrix_igemm.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c gpuVector_iaxpy.cpp -o gpuVector_iaxpy.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c gpu_vector_algebra.cpp -o gpu_vector_algebra.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c platform.cpp -o platform.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c trunc_gpuMat.cpp -o trunc_gpuMat.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c utils-vcl.cpp -o utils-vcl.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c utils.cpp -o utils.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c vclPtr.cpp -o vclPtr.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c vienna_blas1.cpp -o vienna_blas1.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c vienna_blas3.cpp -o vienna_blas3.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c vienna_eigen.cpp -o vienna_eigen.o
g++ -m64 -std=c++0x -I"C:/PROGRA1/R/R-321.0/include" -DNDEBUG -I"C:/Users/me/Documents/R/win-library/3.2/Rcpp/include" -I"C:/Users/me/Documents/R/win-library/3.2/RcppEigen/include" -I"C:/Users/me/Documents/R/win-library/3.2/RViennaCL/include" -I"C:/Users/me/Documents/R/win-library/3.2/BH/include" -I"d:/RCompile/r-compiling/local/local320/include" -I../inst/include -I"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include" -O2 -Wall -mtune=core2 -c vienna_stats.cpp -o vienna_stats.o
C:\Rtools\mingw_64\bin\nm.exe: 'RcppExports.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'context.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'device.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'dynEigenMat.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'dynEigenVec.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'dynVCLMat.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'dynVCLVec.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'gpuEigenPtr.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'gpuMatrix_iaxpy.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'gpuMatrix_igemm.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'gpuVector_iaxpy.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'gpu_vector_algebra.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'platform.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'trunc_gpuMat.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'utils-vcl.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'utils.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'vclPtr.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'vienna_blas1.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'vienna_blas3.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'vienna_eigen.o': No such file
C:\Rtools\mingw_64\bin\nm.exe: 'vienna_stats.o': No such file
g++ -m64 -shared -s -static-libgcc -o gpuR.dll tmp.def RcppExports.o context.o device.o dynEigenMat.o dynEigenVec.o dynVCLMat.o dynVCLVec.o gpuEigenPtr.o gpuMatrix_iaxpy.o gpuMatrix_igemm.o gpuVector_iaxpy.o gpu_vector_algebra.o platform.o trunc_gpuMat.o utils-vcl.o utils.o vclPtr.o vienna_blas1.o vienna_blas3.o vienna_eigen.o vienna_stats.o -LC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64 -lOpenCL -Ld:/RCompile/r-compiling/local/local320/lib/x64 -Ld:/RCompile/r-compiling/local/local320/lib -LC:/PROGRA1/R/R-321.0/bin/x64 -lR
no DLL was created
ERROR: compilation failed for package 'gpuR'

  • removing 'C:/Users/me/Documents/R/win-library/3.2/gpuR'
  • restoring previous 'C:/Users/me/Documents/R/win-library/3.2/gpuR'
    Warning in install.packages :
    running command '"C:/PROGRA1/R/R-321.0/bin/x64/R" CMD INSTALL -l "C:\Users\me\Documents\R\win-library\3.2" C:\Users\me\AppData\Local\Temp\10\Rtmpe4HG3v/downloaded_packages/gpuR_1.1.2.tar.gz' had status 1
    Warning in install.packages :
    installation of package ‘gpuR’ had non-zero exit status

The downloaded source packages are in
‘C:\Users\me\AppData\Local\Temp\10\Rtmpe4HG3v\downloaded_packages’`

from gpur.

skanskan avatar skanskan commented on September 28, 2024

I just gave up some days ago.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@pathfinder11 Sorry for slow response, I have been out of town. It looks like it should be okay but something seems off (not exactly sure what). Could you try installing directly from my development version with devtools::install_github('cdeterman/gpuR', ref = 'develop'). I am working on having the package automatically detect OpenCL installations. Hopefully that should help solve the problem.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

@cdeterman thank your for your effort,
I'm sorry but I keep getting an error,
It compiles well but the last lines say:

Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/Microsoft/MRO/R-3.2.4/library/gpuR/libs/x64/gpuR.dll':
LoadLibrary failure: The specified module could not be found.

Error: loading failed
Execution halted
ERROR: loading failed

  • removing 'C:/Program Files/Microsoft/MRO/R-3.2.4/library/gpuR'

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

Hi @skanskan , that error suggests something is off with you system PATH. As a thought, the front of your PATH should have the following:

c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\libnvvp;

You can verify this again with Sys.getenv("PATH")

The final compiled object is essentially struggling to find some additional modules. You could try the windows dependency walker to try and see what modules it is trying to find as mentioned in this stackoverflow question reporting the same error.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

How could I compile it (to generate that gpuR.dll file) with other mingw64 compiler different from the included with Rtools? For example with TDM-GCC-64

from gpur.

pathfinder11 avatar pathfinder11 commented on September 28, 2024

Hi @cdeterman, I tried to install the develoment version from the github site rather than the Cran site.
I was unable to do this directly from within Rstudio (see response within Rstudio below)(this maybe a firewall related issue). So I downloaded it separately and installed it from my local drive. This install process didn't generate any errors. However when I run cpuInfo() I still get the same issue with R crashing.
`Sys.setenv(OPENCL_LIB64 = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/lib/x64")

Sys.setenv(OPENCL_INC = "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v7.5/include")
library("devtools", lib.loc="~/R/win-library/3.2")
Warning message:
package ‘devtools’ was built under R version 3.2.5
devtools::install_github('cdeterman/gpuR', ref = 'develop'

  • )
    Downloading GitHub repo cdeterman/gpuR@develop
    from URL https://api.github.com/repos/cdeterman/gpuR/zipball/develop
    Error in curl::curl_fetch_memory(url, handle = handle) :
    Couldn't resolve host name
    install.packages("~/cdeterman-gpuR-58b6d07.zip", repos = NULL, type = "win.binary")
    Installing package into ‘C:/Users/me/Documents/R/win-library/3.2’
    (as ‘lib’ is unspecified)
    `

Thanks for your patience on this one.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan ah, I forgot to say you would need to clone the actual source code to get the actual dll. You can clone the development branch with the following command

git clone -b develop https://[email protected]/cdeterman/gpuR.git

Then you can open in Rstudio and build & install from the directory or if you are familiar with the command line you can just navigate to the gpuR directory, start an R session and use devtools directly with devtools::install(). If the compilation does complete you will have the gpuR.dll file in the directory.

@pathfinder11 That does appear to be a firewall issue. You could look in to setting up a proxy with the solution posted here otherwise using a local copy should work. Also, with the development version you shouldn't need to set any additional environmental variables (e.g. OPENCL_LIB64 or OPENCL_INC). It should automatically find CUDA_HOME or CUDA_PATH which should have been setup automatically when you installed the CUDA toolkit. When you say the compilation completed without a problem could you provide the output either here or on pastebin? I would like to look at the compilation steps.

from gpur.

pathfinder11 avatar pathfinder11 commented on September 28, 2024

@cdeterman, I don't have muc control over the firewall or setting up a proxy, so I am restricted to trying to install a local copy . Now I tried initialy to install the ".tar" version and then a ".zip" version that I created (extracted .tar and then archived as a zip file). See below the R console commands and messages in response:
`install.packages("~/cdeterman-gpuR-58b6d07.tar", repos = NULL)
Installing package into ‘C:/Users/lewisch/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'

install.packages("~/cdeterman-gpuR-58b6d07.zip", repos = NULL, type = "win.binary")
Installing package into ‘C:/Users/lewisch/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)`

So using the ".zip" file doesn't produce any errors, but is doesn't appear to install properly either.
So then I added type ="SOURCE" to the install packages script command and got the response below, which looks very much the same as what I have been getting before when trying to install from the Cran site (see above: https://github.com/cdeterman/gpuR/issues/23#issuecomment-229526686 )

Here is the pastebin link: http://pastebin.com/itNbaMJg

Thanks

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@pathfinder11 after checking with the R community it appears that Rtools 3.4 is too new for R 3.2. You need to use 3.3 unless you are able to upgrade your R version. Your PATH shouldn't have to change but it looks like you will need to re-install Rtools 3.3

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@pathfinder11 did you ever get a chance to try Rtools 3.3 again? I apologize that this has proven so difficult. I hope I can improve installation documentation through all of this.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

@cdeterman You don't need to apologize, it's not your fault, thank you for your work.

from gpur.

pathfinder11 avatar pathfinder11 commented on September 28, 2024

@cdeterman, we have success. For some reason the version of Rtools3.3 that I had originally didn't include a 64bit compiler. After downlaoding Rtools3.3 again, uninstalling Rtools3.4 and reinstalling Rtools3.3 I now have success.
I used install.packages("~/cdeterman-gpuR-58b6d07.tar", repos = NULL, type = "SOURCE") to build the package from within RStudio(Version0.99.902) . The R version information is as below:
R.version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 3.0
year 2016
month 05
day 03
svn rev 70573
language R
version.string R version 3.3.0 (2016-05-03)
nickname Supposedly Educational

Hope this helps.
Thanks very much for your patience.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

The R distribution I'm using is Microsoft R Open 3.2.5, because it includes precompiled libraries to accelerate computation.
I've just posted a link to this thread at their forum. Let's see if they answer.
https://social.msdn.microsoft.com/Forums/en-US/37c60def-4b01-4c26-97d9-e87d0328bda3/installing-gpur?forum=ropen

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@pathfinder11 just to confirm, you have successfully installed gpuR?

@skanskan Is the primary problem still the following error?

Error in inDL(x, as.logical(local), as.logical(now), ...) : 
unable to load shared object 'C:/Program Files/Microsoft/MRO/R-3.2.4/library/gpuR/libs/x64/gpuR.dll':
LoadLibrary failure: The specified module could not be found.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

@cdeterman I haven't tried again, I'll wait till I upgrade my R.

Regards

from gpur.

pathfinder11 avatar pathfinder11 commented on September 28, 2024

Hi @cdeterman , yes, gpuR successfully installed.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan did you manage to upgrade your R and try to install again? I would like to close this issue if the problem is solved for everyone involved.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

Hello
I got to compile on a differentcomputer with a newer card and drivers.
With devtools::install_github('cdeterman/gpuR', ref = 'develop')

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan excellent, glad you got it installed.

from gpur.

skanskan avatar skanskan commented on September 28, 2024

And when I try the example:

A <- seq.int(from=0, to=999)
B <- seq.int(from=1000, to=1)
gpuA <- gpuVector(A)
gpuB <- gpuVector(B)
C <- A + B
gpuC <- gpuA + gpuB

I get this error
Error in gpuVec_axpy(1, e1, e2) : integer not currently implemented

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@skanskan as the error states, the integer method is not currently implemented. I need to write the raw OpenCL for that functionality (in progress). Typically though, using the 'float' or 'double' data types will be just fine. Some functionality is there for integer methods but not much (hence why the parent class exists). Passing integers to the gpuVector or any other initializer will create the respective integer class. You should either use seq or pass the argument type = 'float' to gpuVector.

from gpur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.