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

Separate between adding to batch and running the simulation #4

Open
hendrikverdonck opened this issue Feb 7, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@hendrikverdonck
Copy link
Collaborator

In the current BladedModel.run_simulation implementation the model is added to the batch and the batch simulations are started. If multiple simulations have to be done in parallel it is assumed that the controlling python process is run in parallel (as in wtuq). It does not work well when for example running a new simulation in a for-loop, because the loop will wait until the simulation has finished. Therefore, it should be possible to just add models to the batch and then start the batch when all models are added.

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

No branches or pull requests

1 participant