Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable running unittests safely in parallel by giving them independent workspaces #1025

Open
katrinabrock opened this issue Aug 22, 2024 · 1 comment
Labels
feature New feature or request

Comments

@katrinabrock
Copy link

(likely low priority)

Is your feature request related to a problem? Please describe.
Currently unit tests take ~1hr to run. Running in parallel is risky because multiple scripts recompile the same binary with different params and thus could potentially conflict.

Additionally, this risks previous tests polluting future tests.

Describe the solution you'd like
First idea that comes to mind is giving each script a separate directory where its stan files and binaries live.

@katrinabrock katrinabrock added the feature New feature or request label Aug 22, 2024
@WardBrian
Copy link
Member

Just as a warning, the cmdstan folder itself can also have issues if you are trying to compile the same file (usually main.o and its variants) multiple times in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants