Comments (5)
I have written a minimal test package for TravisCI and running vignette build; see
https://travis-ci.org/dmenne/rstanyaml/builds/75600644
Build of rstan stops at line 1566.
Out of memory as reported by many others. clang to the rescue?
Looks like Travis open source version cannot handle rstan complexity. Too bad. Will give up.
lang__grammars__statement_2_grammar_inst.o
g++ -I/usr/share/R/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/usr/lib/R/bin/Rscript" -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -I"/usr/local/lib/R/site-library/Rcpp/include" -I"/usr/local/lib/R/site-library/RcppEigen/include" -I"/usr/local/lib/R/site-library/BH/include" -I"/usr/local/lib/R/site-library/StanHeaders/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c lang__grammars__statement_grammar_inst.cpp -o lang__grammars__statement_grammar_inst.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make: *** [lang__grammars__statement_grammar_inst.o] Error 4
ERROR: compilation failed for package ‘rstan’
from example-models.
I am currently working on a package to structure examples. I had played around with travisci, and it has great support for package, out of the box.
I suggest to make examples to package: in inst/extdata/vol1/rats etc, I keep the raw stan and data.R files with the same structure as before. All R-test files will be written as vignettes; these are automatically tested by travis build, and provide nice documentation.
If someone wants to play with the code, the vignettes can be run separately, no global rebuild needed.
You can put makefiles into the inst/extadata/volx files; those currently available do not run, and I gave up when trying to understand the directory structure, which is surprisingly different between the CmdStan installer and Github clone. Maybe you could provide one working example. I know that Bob want standalone tests.
So for pure CmdStan testing, a top level makefile refering to the sub-makefiles could be added.
I will make a separate github repository tomorrow so you can check the concept.
(Corrected: should be packages, not projects as had been written)
from example-models.
That would be great! I couldn't follow everything you said, but if you have
an idea of an implementation, that's better than what I've got.
On Wed, Aug 12, 2015 at 11:30 AM, Dieter Menne [email protected]
wrote:
I am currently working on a project to structure examples. I had played
around with travisci, and it has great support for projects, out of the
box. I suggest to make examples to projects: in inst/extdata/vol1/rats etc,
I keep the raw stan and data.R files with the same structure as before. All
R-test files will be written as vignettes; these are automatically tested
by travis build, and provide nice documentation.If someone wants to play with the code, the vignettes can be run
separately, no global rebuild needed.You can put makefiles into the inst/extadata/volx files; those currently
available do not run, and I gave up when trying to understand the directory
structure, which is surprisingly different between the CmdStan installer
and Github clone. Maybe you could provide one working example.So for pure CmdStan testing, a top level makefile refering to the
sub-makefiles could be added.
I will make a separate github repository tomorrow so you can check the
concept.—
Reply to this email directly or view it on GitHub
#26 (comment)
.
from example-models.
See https://github.com/dmenne/bugsexamples and http://menne-biomed.de/uni/rats.html for a sample output vignette. Yaml not yet done, but hopefully coming soon. The CmdStan version is your homework assigment .-)
from example-models.
https://travis-ci.org/dmenne/bugsexamples/builds
Working on yaml/rstan. This sometimes works, sometimes there is an error during rstan install. In one case vignette build (=lot of rstan) finished with ok, but there was an internal error not caught as such by Travis.
Running with multiple chains and/or cpu has been switched off.
I suspect there is some sort of timeout going on. Any other examples of vignette rstan builds around?
from example-models.
Related Issues (20)
- `stan_demo` example 500 not working HOT 4
- Missing function in Introduction
- Error in BPA Ch.10 js_super.stan with possible fix HOT 1
- rats ref link at top of stan files is broken
- Add .data.R files for knitr models HOT 1
- Rdump format
- Reorganize the stan example repository HOT 13
- sampling() fails in Lotka-Volterra example HOT 3
- Lotka-Volterra example not running HOT 1
- BUGS Background Information for Litter Example HOT 1
- Failed to build Lotka Vollterra on Mac OS / clang HOT 9
- reduce_sum case study will be out of date once new cmdstanr pull gets merged
- Example script `fit_nyc_bym2.R` to use model `bym2_offset_only.stan` doesn't work HOT 1
- Subtle error in some capture-recapture likelihoods HOT 3
- [Error] Validate transformed params
- Survey.stan example from Cognitive Modeling - Expected end of file after end of generated quantities block. HOT 9
- Which book/chapter HOT 1
- updates to ARM model for normal_id_glm - variable name "cov" should be "x_as_mat" or something like that HOT 6
- add Python scripts to BYM12 case study
- Parameter names for stan file 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 example-models.