stan-dev / stan-dev/rstan

Child processes continue when command interrupted

Open
#544 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Summary:

When running an rstan command on Windows with multiple cores in use pressing Esc kills the command in the R window but the child Rscript processes keep running.

Reproducible Steps:

Run options(mc.cores = parallel::detectCores())
Run any stan () function
Press Esc
In Task Manager you will see the child processes keep running.

RStan Version:

2.16.2

R Version:

R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

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

No files, tests, or entry points are identified. Start by reproducing the Windows case with multiple cores, pressing Esc during a Stan run, and observing the child Rscript processes in Task Manager; done means interruption also terminates those child processes.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.