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

extend all pool interfaces to have common constructor #19

Open
brandondube opened this issue Mar 6, 2018 · 1 comment
Open

extend all pool interfaces to have common constructor #19

brandondube opened this issue Mar 6, 2018 · 1 comment

Comments

@brandondube
Copy link

In some applications, there is read-only global state that needs to be distributed among workers. This can be implemented via multiprocessing.Pool's initializer and initargs options. The nonuniformity of the pool interfaces means that this workflow is not possible on an MPI pool. I think MPI broadcast allows this functionality to be built into this package. Would this addition be possible?

@adrn
Copy link
Owner

adrn commented Mar 13, 2018

That would be nice to have! Do you want to try implementing? It may take me some time to get to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants