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

Run all or multiple scenarios at once #411

Open
DavidGoldwasser opened this issue Feb 28, 2023 · 0 comments
Open

Run all or multiple scenarios at once #411

DavidGoldwasser opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DavidGoldwasser
Copy link
Collaborator

I often have project where a few features take a magnitude of order longer to run than most. If I have 10 cores sometimes for hours a single core is running while the other 9 are waiting. This repeats for each scenario. If running multiple scenarios (or all) could be run in a single parallel command.

uo run --feature <path/to/FEATUREFILE.json> --scenario <path/to/SCENARIOFILE.csv, , path/to/SCENARIOFILE2.csv>

Or maybe if no scenario passed in then all are run.

uo run --feature <path/to/FEATUREFILE.json>

My work around for this for now will likely be dividing i in --num-parallel=[i] by number of scenarios, and then kicking off multiple runs at once. This may be much quicker than giving all cores to each scenario and running one at a time

@DavidGoldwasser DavidGoldwasser added the enhancement New feature or request label Feb 28, 2023
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