-
-
Notifications
You must be signed in to change notification settings - Fork 99
Getting Started with CmdStan
Daniel Lee edited this page Mar 5, 2014
·
15 revisions
These are the instructions for getting started with CmdStan. Stan is a submodule within CmdStan and is located in the stan/ folder.
-
Clone CmdStan.
> git clone https://github.com/stan-dev/cmdstan.git -
Initialize and Update Stan (within CmdStan).
From the cmdstan home directory
> make stan-update
From the cmdstan home directory:
> make stan-update
If the branch is feature/foo-bar, from the cmdstan home directory:
> make stan-update/feature/foo-bar
The make target help will display options. This is the same as the old Stan.
-
Build all tools (optional)
> make build -
Build a model foo/bar.stan
linux / mac:
> make foo/barwindows:
> make foo/bar.exe