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

Cleanup XDG_CACHE_HOME which affects caching of pocl/loopy/sumpy #142

Open
isuruf opened this issue Sep 13, 2022 · 3 comments
Open

Cleanup XDG_CACHE_HOME which affects caching of pocl/loopy/sumpy #142

isuruf opened this issue Sep 13, 2022 · 3 comments

Comments

@isuruf
Copy link
Collaborator

isuruf commented Sep 13, 2022

See

# FIXME: should clean up this directory after running the tests
os.environ["XDG_CACHE_HOME"] = os.path.join(cache_dir, str(mpirank))

I'm guessing that's one of the reasons for increased CI timing.

Btw, what are the conflicts that this is supposed to solve?

@gaohao95
Copy link
Contributor

Btw, what are the conflicts that this is supposed to solve?

Usually on a cluster all MPI ranks share the same file system. If ranks use the same location for cache, file locking could serialize all ranks.

I don't think this matters for test cases so we can probably remove that if it's a hurdle.

@inducer
Copy link
Owner

inducer commented Sep 14, 2022

increased CI timing

You sure it's not just the added distributed tests? How big of an increase do you see?

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

3 participants