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

Multi-processing #15

Closed
jmrichardson opened this issue Sep 11, 2020 · 2 comments
Closed

Multi-processing #15

jmrichardson opened this issue Sep 11, 2020 · 2 comments

Comments

@jmrichardson
Copy link

Hi, your package is great! One thing is I can't get multiprocessing to work. I have n_jobs > 1 but it doesn't appear to start more jobs. I have 50+ cores and just uses one. Any help is much appreciated. Thanks:

cpus = 30
st = GeneticExtractor(verbose=True, population_size=30, iterations=10, plot=None, n_jobs=cpus)
@GillesVandewiele
Copy link
Member

Hi @jmrichardson

Thank you for showing interest! That's strange indeed. What OS are you working on?

Note that for now, only the bottle-neck, which is evaluation of all individuals in population (fitness), is parallelized.

@jmrichardson
Copy link
Author

Hi @GillesVandewiele , Sorry, yes I didn't give it enough time. I am running on redhat 7 and it is working now. Thanks for the help

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