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

DNM: doParallel in gwemopt #4934

Closed
wants to merge 3 commits into from
Closed

Conversation

mcoughlin
Copy link
Contributor

This PR turns on parallelization in gwemopt.

@github-actions github-actions bot added the needs-migration? Pull requests that may need a migration script written (labeled automatically) label May 14, 2024
@@ -421,7 +421,8 @@ def generate_plan(
# single set of scheduled observations
'doSingleExposure': True,
# parallelize computation
'doParallel': False,
'doParallel': True,
'Ncores': 4,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick reminder that once that works and you are happy with it, a following PR could (and should) make this quantity configurable in the config file so different instances can allocate resources as required).

@Theodlz
Copy link
Contributor

Theodlz commented May 29, 2024

@mcoughlin did you have a chance to share the exact error msg this gives you? Maybe you already did, just didn't remember where I could find it.

@mcoughlin mcoughlin closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-migration? Pull requests that may need a migration script written (labeled automatically)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants