stan-dev / stan-dev/rstan

Parallelization of rstan::sbc() on Windows

Open
#701 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature
Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

rstan::sbc() seems to be using parallel::mclapply() which is a serialized version on Windows. Thus, a more efficient implementation might be necessary for Windows users. A template might be the parallelization used in rstan::sampling().

Description:

See summary.

RStan Version:

2.19.2

R Version:

3.6.1

Operating System:

Windows 10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with rstan::sbc() and compare its use of parallel::mclapply() with the parallelization used by rstan::sampling(). Investigate the Windows behavior and determine what implementation would provide effective parallel execution there. Done means SBC parallelization on Windows is no longer serialized and its behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.