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

use a per process weave cache directory #511

Merged
merged 2 commits into from
Oct 19, 2015

Conversation

ahnitz
Copy link
Member

@ahnitz ahnitz commented Oct 19, 2015

Adds function to set a per process cache directory when using multiprocessing. Should be called within your mapped function as,

pycbc.multiprocess_cache_dir()

@duncan-brown duncan-brown added this to the v1.2.3 milestone Oct 19, 2015
@lppekows
Copy link
Contributor

Ah, nice! This will do the compilations multiple times, but it'll be no slower than doing them once since they'll happen in parallel (and anyway for the codes where this is needed that overhead should be negligible).

duncan-brown added a commit that referenced this pull request Oct 19, 2015
use a per process weave cache directory
@duncan-brown duncan-brown merged commit 4068046 into gwastro:master Oct 19, 2015
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.

3 participants