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

Parallel computing #27

Open
1 task
renikaul opened this issue Jul 22, 2019 · 2 comments
Open
1 task

Parallel computing #27

renikaul opened this issue Jul 22, 2019 · 2 comments

Comments

@renikaul
Copy link
Contributor

renikaul commented Jul 22, 2019

Did you check Stack Overflow or other resources for solutions to this problem?

  • [ x ] Yes
  • No

Describe the topic and goal of the tutorial
List the learning objectives of the tutorial.

  • Is simulation worth parallel
  • Conceptual understanding of parallel computing
  • Writing code for parallel simulations

Describe how this tutorial is Drake Lab specific.
Reasoning for why this tutorial should be included in the Wiki.

  • Suggested best practices for Drake lab HMM.
  • Seems like something we will all have to do at some point

Describe features you would like to see in the tutorial
What packages should it use? Would screenshots be helpful? A video of the technique?

  • recommended packages (ie. doParallel vs SOCK etc.)
  • skeleton function

Additional context
Add any other context about the feature request here.

Could easily link to other tutorials, and then have Drake lab HMM specific information (max no cores, calendar, etc.).

@e3bo
Copy link
Contributor

e3bo commented Jul 23, 2019

I could see how this could be useful. In particular, we could develop a better system for reserving computing resources and document it. Also, I was wondering if you ever figured out what the problem was running parallel code on the machine that is in the closet-like room. Did you learn something worth including?

@e3bo
Copy link
Contributor

e3bo commented Aug 12, 2019

Also, that tutorial and many tutorials are a little more complicated than necessary. I just parallelized a script simply by changing lapply to parallel::mclapply and Map to parallel::mcMap, along with supplying a mc.cores argument for each of those parallel functions.

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

No branches or pull requests

2 participants