Comments (15)
hmmm. what version are you using? the CRAN version?
from idealstan.
I am using idealstan_1.0 installed from github.
I am running R version 4.0.5 (2021-03-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
from idealstan.
huh ok is this the master branch?
from idealstan.
I think I accidentally. pushed the develop branch to the master branch, so you're using unstable code. If you want to use the package under construction, you can do remotes::install_github("saudiwin/idealstan", ref="develop")
from idealstan.
Note that the documentation is out of date and you'll need to install cmdstanr first. I won't be updating documentation until later this summer.
from idealstan.
Thanks! I reinstalled the package now, using the develop version. However, I still get the same error when running id_estimate(). I have cmdstanr installed.
from idealstan.
same error as this
from idealstan.
this isn't a cmdstanr problem to my knowledge -- running cmdstanr::cmdstanr_example()
works
from idealstan.
Hi @OyvindStiansen @jpredist -- it's great to hear you all are using the develop/unstable branch! It is largely feature-complete but not documented yet (anticipate a release later this summer). I develop on the Mac OS so that's why I didn't come across this before.
I believe what is happening here is related to OpenCL support on Windows. One of the Stan files that is compiled in the new version includes OpenCL. That's why the cmdstanr example program will compile fine, but this one won't.
I don't have any specific "fixes" for this at the moment as I haven't gotten to the stage of doing cross-platform checks (though will soon), although if you can get OpenCL installed on your machine that works with cmdstan
, that should do the trick. On the other hand, if you want to debug/fix the package yourself, feel to fork and then comment out lines in the id_estimate
function that compile an irt_standard_gpu.stan
file. That will prevent the package from compiling this particular Stan file, and it should otherwise work fine as long as the GPU
option is set to FALSE. The GPU support in any case doesn't appear to do much for estimation, so if this turns out to be an insurmountable issue on Windows I may simply disable it.
from idealstan.
One option in the meantime for Windows users is to try it in Linux with WSL2, which provides a pretty seamless and easy way to run Linux inside Windows.
from idealstan.
good to know, thanks @bshor !
from idealstan.
I have a similar error with the id_estimate function, not sure if it is exactly the same though:
0 0x10e2701cc __assert_rtn + 123
1 0x10e2753db ld::tool::OutputFile::addressAndTarget(ld::Internal const&, ld::Fixup const*, ld::Atom const**) (.cold.1) + 0
2 0x10e1b5209 ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 309
3 0x10e1b671c ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 2392
4 0x10e1bb911 ld::tool::OutputFile::writeAtoms(ld::Internal&, unsigned char*) + 351
5 0x10e1b288d ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 821
6 0x10e1a9e69 ld::tool::OutputFile::write(ld::Internal&) + 189
7 0x10e1286e3 main + 774
A linker snapshot was created at:
/tmp/model-1719434c28852-2021-11-02-221010.ld-snapshot
ld: Assertion failed: (_mode == modeFinalAddress), function finalAddress, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-650.9/src/ld/ld.hpp, line 1161.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/var/folders/m8/w_9gggz16zv5klqbmxwrcsrh0000gn/T/RtmpHpackG/model-1719434c28852] Error 1
This error was consistent across R version 3.5, 3.63 and 4.12 with reinstalling the package from the master and develop branch. Im also on MacOS 11.6.
The cmdstanr::cmdstanr_example()
works without any error.
Thank you for your efforts in developing and maintaining this otherwise awesome project :)
from idealstan.
I can also echo the installation and running issues. I recently tried installing various versions of the package on two different Windows machines, trying with both R 3.6.x and 4.1.x, but ultimately to no avail, despite cmdstanr
working fine.
from idealstan.
Hi guys - I'll try to post some updated code here in the next few days for how to use the new version of idealstan. The syntax has changed quite a bit but I believe I can share enough for you all to do your work with the package while I'm preparing for a full v1.0 release (!!).
from idealstan.
The beta release for v1.0 has been published - see the README file in the master branch. That should get rid of these issues.
from idealstan.
Related Issues (20)
- parse_quosure() was soft-deprecated in rlang 0.2.0 HOT 2
- Seed and ensuring replicability HOT 1
- Installing problem HOT 6
- Multidimensions HOT 2
- Generalized Graded Unfolding Model HOT 2
- Installation problem - rlang? HOT 8
- Ordinal IRT not running HOT 23
- Can't install because of deprecated function "rlang::parse_quosure" HOT 1
- Outdated Syntax Error HOT 1
- GRM summary error finding item parameters + multiple difficulty parameters? HOT 3
- How to use 2PL & GRM on different items in same model? HOT 1
- Duplicate names error with example in vignette HOT 2
- Multivariate mixed response feature? HOT 3
- Select all that apply type questions HOT 2
- could not find function "run_id" HOT 8
- Examples contain syntax errors HOT 3
- Installation errors HOT 1
- Covariates specific to one person HOT 3
- Function for extracting parameters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idealstan.