Skip to content

Commit

Permalink
Rel 10.8.1
Browse files Browse the repository at this point in the history
goedman committed Aug 8, 2024
1 parent 45c3dcb commit 04ba3be
Showing 6 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ on:
pull_request:

env:
CMDSTAN: "/home/worker/cmdstan-2.34.1/"
CMDSTAN: "/home/worker/cmdstan-2.35.0/"

jobs:
test:
@@ -41,17 +41,17 @@ jobs:
OLDWD=`pwd`
cd ~
pwd
wget https://github.com/stan-dev/cmdstan/releases/download/v2.34.1/cmdstan-2.34.1.tar.gz
tar -xzpf cmdstan-2.34.1.tar.gz
wget https://github.com/stan-dev/cmdstan/releases/download/v2.35.0/cmdstan-2.35.0.tar.gz
tar -xzpf cmdstan-2.35.0.tar.gz
ls -lia .
ls -lia ./cmdstan-2.34.1
ls -lia ./cmdstan-2.34.1/make
touch ./cmdstan-2.34.1/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.34.1/make/local
ls -lia ./cmdstan-2.35.0
ls -lia ./cmdstan-2.35.0/make
touch ./cmdstan-2.35.0/make/local
echo "STAN_THREADS=true" > ./cmdstan-2.35.0/make/local
make -C $CMDSTAN build
cd $OLDWD
env:
CMDSTAN: "/home/runner/cmdstan-2.34.1/"
CMDSTAN: "/home/runner/cmdstan-2.35.0/"
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
@@ -70,7 +70,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
CMDSTAN: "/home/runner/cmdstan-2.34.1/"
CMDSTAN: "/home/runner/cmdstan-2.35.0/"
- uses: julia-actions/julia-processcoverage@v1
if: matrix.version == '1' && matrix.os == 'ubuntu-latest' && matrix.num_threads == 1
- uses: codecov/codecov-action@v1
2 changes: 1 addition & 1 deletion INSTALLING_CMDSTAN.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
git clone https://github.com/stan-dev/cmdstan.git --recursive cmdstan
# or e.g.
# git clone -b v2.34.1 https://github.com/stan-dev/cmdstan.git --recursive cmdstan
# git clone -b v2.35.0 https://github.com/stan-dev/cmdstan.git --recursive cmdstan
```

## Customize cmdstan.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ uuid = "682df890-35be-576f-97d0-3d8c8b33a550"
license = "MIT"
desc = "Illustrate StanJulia's interface options to cmdstan"
authors = ["Rob J Goedman <[email protected]>"]
version = "10.8.0"
version = "10.8.1"

[deps]
AxisKeys = "94b1ba4f-4ee9-5380-92f1-94cde586c3c5"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ The StanJulia ecosystem includes 2 additional packages, StanQuap.jl (to compute

## Options for multi-threading and multi-chaining

Stan.jl v10 is intended to use Stan's `cmdstan` v2.34.1+ and StanSample.jl v6.
Stan.jl v10 is intended to use Stan's `cmdstan` v2.35.0+ and StanSample.jl v6.

StanSample.jl v6+ enables the use of c++ multithreading in the `cmdstan` binary. To activate multithreading in `cmdstan` this needs to be specified during the build process of `cmdstan`. I typically create a `path_to_cmdstan_directory/make/local` file (before running `make -j9 build`) containing `STAN_THREADS=true`. For an example, see the `.github/CI.yml` script

@@ -98,7 +98,7 @@ Set the CMDSTAN environment variable so that Julia can find the cmdstan installa

### Vesrsion 10.5-10.7

1. Cmdstan-2.34.1
1. Cmdstan-2.35.0
2. Moved LKJ example from StanSample.jl to Stan.jl
3. Package updates
4. Added Cholesky factor test
4 changes: 2 additions & 2 deletions docs/src/INSTALLATION.md
Original file line number Diff line number Diff line change
@@ -24,9 +24,9 @@ to `./julia/config/startup.jl`. Remember to use `expanduser()` if you use `~` in

I typically prefer cmdstan not to include the cmdstan version number in the above path to cmdstan (no update needed when the cmdstan version is updated).

Currently tested with cmdstan 2.34.1.
Currently tested with cmdstan 2.35.0.

Note: StanSample.jl v6, supports multithreading in the `cmdstan` binary and requires cmdstan v2.34.1 and up. To activate multithreading in `cmdstan` this needs to be specified during the build process of `cmdstan`.
Note: StanSample.jl v6, supports multithreading in the `cmdstan` binary and requires cmdstan v2.35.0 and up. To activate multithreading in `cmdstan` this needs to be specified during the build process of `cmdstan`.

### Conda based installation walkthrough for running Stan from Julia on Windows

2 changes: 1 addition & 1 deletion docs/src/INTRO.md
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ The StanJulia ecosystem includes 2 additional packages, StanQuap.jl (to compute

## Options for multi-threading and multi-chaining

Stan.jl v9 is intended to use Stan's `cmdstan` v2.34.1+ and StanSample.jl v6.
Stan.jl v9 is intended to use Stan's `cmdstan` v2.35.0+ and StanSample.jl v6.

StanSample.jl v6 enables the use of c++ multithreading in the `cmdstan` binary. To activate multithreading in `cmdstan` this needs to be specified during the build process of `cmdstan`. I typically create a `path_to_cmdstan_directory/make/local` file (before running `make -j9 build`) containing `STAN_THREADS=true`. For an example, see the `.github/CI.yml` script

0 comments on commit 04ba3be

Please sign in to comment.