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

Prevent simulation without cpu and point to documentation #2448

Merged
merged 3 commits into from Oct 7, 2023

Conversation

jafermarq
Copy link
Contributor

This PR prevents start_simulation to stop the simulation when client_resources doesn't specify the num_cpus keyword. When this is detected, a warning is triggered and num_cpus:1 is added.

This PR also log a message pointing users to the documentation for simulation.

@jafermarq jafermarq marked this pull request as ready for review October 2, 2023 21:08
@danieljanes danieljanes merged commit 857db30 into main Oct 7, 2023
26 checks passed
@danieljanes danieljanes deleted the updates-to-sim branch October 7, 2023 12:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants