Skip to content

register_dopar_cmq's n_jobs vs template cores #249

Answered by mschubert
liutiming asked this question in Q&A
Discussion options

You must be logged in to vote

Jobs is the number of jobs submitted, cores is the number of cores requested per job.

So, for instance, you can use mclapply within each job that then makes use of the cores. But generally, I would recommend to parallelize in jobs with one core.

Hope that helps 😄

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mschubert
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #225 on March 29, 2021 20:23.