Giter Club home page Giter Club logo

Comments (13)

cdeterman avatar cdeterman commented on September 28, 2024

@DKOli8 you need to have Rtools installed to compile C++ packages for R.

Assuming you are installing from the CRAN repository you will need to set the environmental variables OPENCL_INC and likely OPENCL_LIB64.

If you try to install from my 'develop' branch it should be automatic. You can try it with devtools::install_github('cdeterman/gpuR', ref = 'develop') once you have Rtools installed.

from gpur.

DKOli8 avatar DKOli8 commented on September 28, 2024

Replying on my phone, hopefully goes through.

I have RTools and have used it to successfully get the dev version of data.table that's not on cran yet (it resolved a bug in fread that in the cran one).

I tried what you put after seeing it on stack overflow yesterday. However when I do it asks me to download and install RTools. I have RTools and it is in my C:/ directory. Do I need to run setwd(C:/) first? My current working directly is a different drive.

Thanks

Sent from my iPhone

On 6 Sep 2016, at 13:59, Charles Determan <[email protected]mailto:[email protected]> wrote:

@DKOli8https://github.com/DKOli8 you need to have Rtoolshttps://cran.r-project.org/bin/windows/Rtools/ installed to compile C++ packages for R.

Assuming you are installing from the CRAN repository you will need to set the environmental variables OPENCL_INC and likely OPENCL_LIB64.

If you try to install from my 'develop' branch it should be automatic. You can try it with devtools::install_github('cdeterman/gpuR', ref = 'develop') once you have Rtools installed.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/32#issuecomment-244941973, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQegR3WjhRAfaMuW1FuLhC92gQ5aB4i5ks5qnWOigaJpZM4J1H4i.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@DKOli8, no, you should have Rtools in your PATH variable. You shouldn't need to set and working directories for that. Also, if installing from my 'develop' branch you will also need the more recent RViennaCL package too devtools::install_github('cdeterman/RViennaCL')

from gpur.

DKOli8 avatar DKOli8 commented on September 28, 2024

Working from home today, will see if that works tomorrow. Thanks!

Sent from my iPhone

On 6 Sep 2016, at 14:12, Charles Determan <[email protected]mailto:[email protected]> wrote:

@DKOli8https://github.com/DKOli8, no, you should have Rtools in your PATH variable. You shouldn't need to set and working directories for that. Also, if installing from my 'develop' branch you will also need the more recent RViennaCL package too devtools::install_github('cdeterman/RViennaCL')

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/32#issuecomment-244945300, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQegR_-96bBQ-P550Uh-OamVMUNP3ajrks5qnWa5gaJpZM4J1H4i.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@DKOli8 did you manage to try the reinstall again?

from gpur.

DKOli8 avatar DKOli8 commented on September 28, 2024

I've literally just opened this page to do it.

I added C:/RTools to my environment.

Ran your install:

Downloading GitHub repo cdeterman/gpuR@develop
from URL https://api.github.com/repos/cdeterman/gpuR/zipball/develop
trying URL 'https://cran.rstudio.com/bin/windows/Rtools/Rtools33.exe'
Content type 'application/x-msdos-program' length 129680178 bytes (123.7 MB)

downloaded 123.7 MB

Error: running command '"C:/PROGRA1/R/R-331.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD config CC' had status 2

^For some reason it tried to download RTools33.exe again and then R gives the above error before windows prompts to install.

Looking at the prompt, the location is in Appdata and attempts to install to directory or C:\RBuildTools\3.3 which I already have.

I have C:\RBuildTools\3.3 and C:\RTools. They have the same file/folders except RBuild also has the folder gcc-4.63.

I will add the RBuildTools\3.3 to my env path now try again.

No, it failed. However the RViennaCL was successful:

Downloading GitHub repo cdeterman/RViennaCL@master
from URL https://api.github.com/repos/cdeterman/RViennaCL/zipball/master
Installing RViennaCL
"C:/PROGRA1/R/R-331.1/bin/x64/R" --no-site-file --no-environ
--no-save --no-restore --quiet CMD INSTALL
"C:/Users/robsoo01/AppData/Local/Temp/RtmpErjoaK/devtoolsb30396c5bf3/cdeterman-RViennaCL-a8326af"
--library="C:/Users/robsoo01/Documents/R/win-library/3.3"
--install-tests

  • installing source package 'RViennaCL' ...
    ** inst
    ** help
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded
    *** arch - i386
    *** arch - x64
  • DONE (RViennaCL)

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

@DKOli8 you want the following near the beginning of your PATH variable.

c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin;

This way it looks in the bin directory where all the executable files are.

from gpur.

DKOli8 avatar DKOli8 commented on September 28, 2024

I have:

C:\Users\robsoo01\AppData\Local\atom\bin;C:\Oracle\instantclient_12_1;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;C:\RTools;C:\RBuildTools\3.3;c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin;

For user and for system:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\libnvvp;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\x64;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\Pin;C:\Program Files (x86)\Intel\OpenCL SDK\6.1\bin\GTPin;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files\Git\cmd;C:\HashiCorp\Vagrant\bin;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Users\robsoo01.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;C:\RBuildTools\3.3;C:\RTools;c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin;

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

I suspect it is having issues with cygwin because it comes before Rtools in your PATH. You should have all Rtools related variables at the start of your PATH. That is why during install if you select the option to alter your PATH automatically they will be added to the start.

from gpur.

DKOli8 avatar DKOli8 commented on September 28, 2024

Could you post an example of how the above should be rearranged? I don't want to mess up anything else like Orcale or SQL server or anything else.

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

For example, the first PATH you provided

C:\Users\robsoo01\AppData\Local\atom\bin;C:\Oracle\instantclient_12_1;C:\Program Files\Intel\WiFi\bin\;
C:\Program Files\Common Files\Intel\WirelessCommon\;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;
C:\RTools;C:\RBuildTools\3.3;c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin;

it should be:

c:\Rtools\bin;c:\Rtools\mingw_64\bin;c:\Rtools\mingw_32\bin;
C:\Users\robsoo01\AppData\Local\atom\bin;C:\Oracle\instantclient_12_1;C:\Program Files\Intel\WiFi\bin\;
C:\Program Files\Common Files\Intel\WirelessCommon\;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin;

from gpur.

DKOli8 avatar DKOli8 commented on September 28, 2024

edited the system ones too:

...
checked all devices
completed initialization
[1] "context initialization successful"
[1] "startup message not problem"

  • DONE (gpuR)

Thanks!

from gpur.

cdeterman avatar cdeterman commented on September 28, 2024

Excellent, glad it worked for you.

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.