-
Notifications
You must be signed in to change notification settings - Fork 2.4k
configuration setting for default location for environments #19800
Copy link
Copy link
Closed
Labels
featureA feature is missing in SpackA feature is missing in Spack
Description
I'd like to set a default path for named environments via a config.yaml setting, eg
config:
environments_root: $HOME/my_spack_environments
Rationale
We (NERSC) have a user-facing Spack install, whose site defaults set repos, install_tree etc in the user's $HOME area. We plan to encourage users to use Spack environments, but currently the default is for the environment to be created in the (global, read-only-for-users) Spack directory. If we could set a site default for where a user's named environments will be located, this makes the usage easier.
Description
The ideal solution would be an additional configuration parameter as described above.
The alternative is to tell users to use -d every time, or not to use environments.
Additional information
General information
We are using Spack version 0.14.2
- I have run
spack --versionand reported the version of Spack - I have searched the issues of this repo and believe this is not a duplicate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureA feature is missing in SpackA feature is missing in Spack