-
Notifications
You must be signed in to change notification settings - Fork 129
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
Get rid of staged parallelism in make(parallelism = "mclapply") #370
Conversation
Jobs were being forked, but they were erroring early.
Also spit out messages of mclapply failures
Would spawn 3 jobs
Codecov Report
@@ Coverage Diff @@
## master #370 +/- ##
======================================
Coverage 100% 100%
======================================
Files 66 66
Lines 5331 5469 +138
======================================
+ Hits 5331 5469 +138
Continue to review full report at Codecov.
|
Tested on a couple different projects, seems to work fine. Let the beta testing begin! |
Sounds like a good idea. I'm excited to test this! |
Summary
In
make(parallelism = "mclapply", jobs = 2)
,drake
spawns 2 persistent workers and a master process to govern them. This gets rid of staged parallelism for themclapply
backend. Other minor changes:mclapply
tests on CRAN (would spawn 3 jobs).config$execution_graph
toconfig$schedule
internally.All the unit tests seem to work, even for the "
local_mclapply_9
" testing scenario, but there is some testing left to do on real projects.cc @krlmlr
GitHub issues fixed
This PR chips away at #369, but does not solve it. Many more to-do's remain in the checklist.
Checklist
drake
's code of conduct, and I agree to follow its rules.testthat
unit tests totests/testthat
to confirm that any new features or functionality work correctly.devtools::check()