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

Add clustermq-based staged scheduling #452

Merged
merged 10 commits into from
Jul 3, 2018
Merged

Add clustermq-based staged scheduling #452

merged 10 commits into from
Jul 3, 2018

Conversation

wlandau
Copy link
Member

@wlandau wlandau commented Jul 3, 2018

Summary

Despite the inefficiencies of staged scheduling, I do not want the perfect to be the enemy of the good. For now (until mschubert/clustermq#23 is solved) this PR's new make(parallelism = "clustermq_staged") functionality is an attractive option in many use cases. Overhead is so much lower than in the future/batchtools backends. In fact, jobs are so agile that drake needs to use checksums to wait for custom file targets to arrive over the network.

cc @kendonB, @mschubert

Related GitHub issues

Checklist

  • I have read drake's code of conduct, and I agree to follow its rules.
  • I have read the guidelines for contributing.
  • I have listed any substantial changes in the development news.
  • I have added testthat unit tests to tests/testthat to confirm that any new features or functionality work correctly.
  • I have tested this pull request locally with devtools::check()
  • This pull request is ready for review.
  • I think this pull request is ready to merge.

@codecov-io
Copy link

codecov-io commented Jul 3, 2018

Codecov Report

Merging #452 into master will decrease coverage by 1.33%.
The diff coverage is 2.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #452      +/-   ##
==========================================
- Coverage   99.98%   98.64%   -1.34%     
==========================================
  Files          66       66              
  Lines        5390     5465      +75     
==========================================
+ Hits         5389     5391       +2     
- Misses          1       74      +73
Impacted Files Coverage Δ
R/build.R 100% <ø> (ø) ⬆️
R/staged.R 66.21% <0%> (-33.11%) ⬇️
R/parallel_ui.R 100% <100%> (ø) ⬆️
R/config.R 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adf5f87...07570e3. Read the comment docs.

@wlandau wlandau merged commit fcc974c into master Jul 3, 2018
@wlandau wlandau deleted the clustermq_staged branch July 3, 2018 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants