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 shared singularity cache dir on biowulf and frce #53

Closed
kelly-sovacool opened this issue Dec 6, 2023 · 3 comments · Fixed by #94
Closed

Use shared singularity cache dir on biowulf and frce #53

kelly-sovacool opened this issue Dec 6, 2023 · 3 comments · Fixed by #94
Assignees
Labels
ccbrpipeliner/7 enhancement New feature or request RENEE RepoName
Milestone

Comments

@kelly-sovacool
Copy link
Member

Related to #52 and possibly #51

If platform is biowulf or frce, use the shared dir for the singularity cache instead of a local dir.

RENEE/renee

Line 914 in 22a5581

cache = os.path.join(outdir, ".singularity")

@kelly-sovacool kelly-sovacool added the enhancement New feature or request label Dec 6, 2023
@kopardev kopardev added the RENEE RepoName label Dec 6, 2023
@kelly-sovacool
Copy link
Member Author

Maybe we need to add a function to copy files from the shared cache to the output dir?

@kelly-sovacool
Copy link
Member Author

See related discussion CCBR/CHAMPAGNE#161 (comment)

The singularity docs state that the cachedir cannot be shared across users. https://docs.sylabs.io/guides/3.6/user-guide/build_env.html#cache-folders

@kelly-sovacool
Copy link
Member Author

It appears we need to set --sif-cache to the proper shared location automatically for biowulf vs FRCE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ccbrpipeliner/7 enhancement New feature or request RENEE RepoName
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants