Skip to content

Advise on HPC conda environments consuming home directory quota #30

Open
@thompsonmj

Description

@thompsonmj

It's been a repeated occurrence that conda environments, which default to living in a user's home directory, causes the user's quota to exceed the file count limit on OSC.

To fix this, conda can be configured to store environments and packages in a custom location, scratch storage being an appropriate option I use and have recommended. E.g., in a ~/.condarc file:

solver: libmamba
envs_dirs:
  - /fs/scratch/PAS2136/$USER/conda-envs
pkgs_dirs:
  - /fs/scratch/PAS2136/$USER/conda-pkgs

channels:
  - conda-forge
  - defaults

Would it make sense to do the following:

  • Add a general discussion of this issue under the Conda section of Virtual Environments
  • Provide a generic .condarc template that can be copied using /path/to/desired/user/conda-envs and /path/to/desired/user/conda-pkgs

Should an entry be made into the internal guidelines wiki for Imageomics using the actual paths?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions