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

How to run multiple strategies in parallel? #357

Closed
BigweiYang opened this issue Oct 31, 2022 · 2 comments
Closed

How to run multiple strategies in parallel? #357

BigweiYang opened this issue Oct 31, 2022 · 2 comments

Comments

@BigweiYang
Copy link

BigweiYang commented Oct 31, 2022

When I run three strategies in run_model function, it always runs one by one. Because each strategy needs to run a long time. I want to know how to run all three strategies in parallel in the run_model function.

@KZARCA
Copy link
Collaborator

KZARCA commented Oct 31, 2022

Hi, first of all, please use the latest version of heemod: devtools::install_github("aphp/heemod"). It should be much faster. Then you could use the "future" package.

@KZARCA KZARCA closed this as completed Oct 31, 2022
@BigweiYang
Copy link
Author

Thank you for your answer. Could you give a simple example of parallel computing using the "future" package?

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