Comments (9)
Hi -
Can you clarify what you would like to see addressed in this issue?
from bridgestan.
The minor issue is simple. Given that cmdstan and bridgestan are related, my suggestion is to call both makefile-s by the same name.
The first question is much harder to answer. Maybe it is possible to delay the check (get_bridgestan()
) until later. Currently it is called in init() of BridgeStan.jl which prevents StanSample.jl (or another package that would like to include BridgeStan as a subtree) to define BRIDGESTAN before the library is actually used..
from bridgestan.
get_bridgestan
itself doesn't throw the warning. Just __init__
does. What if get_bridgestan
was changed to:
function get_bridgestan()
path = get(ENV, "BRIDGESTAN", nothing)
path === nothing && throw(ErrorException("BridgeStan path was not set, compilation will not work until you call `set_bridgestan_path!()`"))
return path
end
This waits to check that BRIDGESTAN
is set until it's needed. And since it's needed, instead of logging a warning, an error is thrown if it's not available.
from bridgestan.
Hi, Rob (@goedman): The plan is to factor out the dependency of BridgeStan on CmdStan's makefiles with the next Stan release. That is, we don't want someone to have to deal with any aspect of CmdStan in order to use BridgeStan. The main application we see is algorithm development.
I'm also not inclined to move this project to the Stan-dev
org, because I don't want to be governed by community voting on interfaces. I've been outvoted on all of our interfaces in the past, so I'd prefer to keep this one outside of that process.
from bridgestan.
I'm also not inclined to move this project to the
Stan-dev
org, because I don't want to be governed by community voting on interfaces. I've been outvoted on all of our interfaces in the past, so I'd prefer to keep this one outside of that process.
@bob-carpenter this is a change of topic, but I was just trying to get PosteriorDB.jl transferred to the stan-dev org so it could live with the other posteriordb interfaces. Would you advise against that?
from bridgestan.
I was just trying to get PosteriorDB.jl transferred to the stan-dev org so it could live with the other posteriordb interfaces. Would you advise against that?
Not at all. That makes sense to roll into posteriordb
, especially if you're happy with their interface. That way, other people will help maintain it. Mainly, I wanted to keep BridgeStan out of stan-dev
until it was fully formed so I didn't have to negotiate interfaces. We might then roll it into the project. That's what Måns Magnusson did with posteriordb
itself and what Paul Bürkner did with brms
(and that still isn't on Stan-dev).
from bridgestan.
I think throwing an error in the compile methods rather than a warning at load is a good idea. The same probably goes for the Python interface.
from bridgestan.
Re: makefile
vs Makefile
, I agree with the recommendation GNU make has for Makefile
(mainly that it stands out)
from bridgestan.
Thanks a lot for fixing this so quickly!!!!
from bridgestan.
Related Issues (20)
- Hessian-vector product from stan-dev/math HOT 1
- Runtime errors during `param_unconstrain` because of precision issues HOT 7
- feature request: `theta_unc` taking multi dimensional arrays as input. HOT 6
- Error in `R/example.R` HOT 20
- Add to Getting Started doc necessary dependencies on Stan and Stan Math HOT 3
- Add to Getting Started doc recommendation to use --shallow-submodules HOT 5
- Add to Getting Started doc how to specify pre-existing Stan directory HOT 1
- Add to doc a section highlighting the functionality or lack there of across the interfaces HOT 3
- Julia tests require STAN_THREADS=true, doc this
- TBB path issue on Windows HOT 2
- Missing support for precompiled header HOT 25
- Tracking: Changes in the next version of Stan
- Better Error Message for Python Interface Automatically Downloading BridgeStan Source HOT 1
- bridgestan on Julia crashes on windows if .julia path has spaces HOT 5
- clang argument error during model compile on MacOS HOT 14
- Functionality necessary to nest Stan models in other PPLs HOT 13
- Tracking: Changes in Stan 2.34
- More consistent instantiation from a .stan file in various languages HOT 2
- Python callback into BridgeStan with C types HOT 10
- Control over the internal threading of a model
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 bridgestan.