jeffreyblewis / gpuideal Goto Github PK
View Code? Open in Web Editor NEWR package implementing MCMC estimation of the two-parameter IRT model on GPUs
License: MIT License
R package implementing MCMC estimation of the two-parameter IRT model on GPUs
License: MIT License
I receive the following error when trying to compile on Ubuntu 16.04 (and 18.04):
/usr/local/cuda-9.0/bin/nvcc -c -Xcompiler "-fpic -g -O2 " -D_FORCE_INLINES -I. -I/usr/lib/R/include -I./Random123-1.09/include ideal.cu -o ideal.o
ideal.cu:1:15: fatal error: R.h: No such file or directory
compilation terminated.
Makefile:29: recipe for target 'ideal.o' failed
I was able to compile by changing line 1955 in 'configure' to the actual path of R_INCLUDE (/usr/share/R/include).
I get a warning after the compile completes but doesn't seem to be an issue:
ideal.cu(102): warning: function "d_rtnorm_met" was declared but never referenced
Just putting this into the issue tracker for the new year ... :)
I am having installation difficulties with R 3.5.0 for Windows. I do have rtools 3.5 installed and have successfully installed packages from source with devtools.
I am running in administrator mode, with no other instances of R, so we shouldn't have permission problems (which do trip up these kind of installs up). I also installed R outside of Program Files which is frequently restricted on Windows so we shouldn't have problems there either. Here is output:
devtools::install_github("jeffreyblewis/gpuideal")
Downloading GitHub repo jeffreyblewis/gpuideal@master
from URL https://api.github.com/repos/jeffreyblewis/gpuideal/zipball/master
Installing gpuideal
"C:/Programs/R/R-35~1.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/Users/boris/AppData/Local/Temp/RtmpkFc76C/devtools925c9793f5f/JeffreyBLewis-gpuideal-a46659f" --library="C:/Programs/R/R-3.5.0/library" \
--install-tests
* installing *source* package 'gpuideal' ...
**********************************************
WARNING: this package has a configure script
It probably needs manual configuration
**********************************************
** libs
no DLL was created
ERROR: compilation failed for package 'gpuideal'
* removing 'C:/Programs/R/R-3.5.0/library/gpuideal'
In R CMD INSTALL
Installation failed: Command failed (1)
I don't even see the gcc compiler start up so it's something more fundamental.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.