Skip to content

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

Open

Description

@isuruf

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?

Activity

  1. gaohao95 commented on Sep 13, 2022

    @gaohao95
    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.

  2. inducer commented on Sep 14, 2022

    @inducer
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions