Dominique Leuenberger 7447bcd8b8 Accepting request 1103772 from network:cluster
- Fix SPACK_ROOT setting in /etc/profile.d/spack.[c]sh (bsc#1214222).
- Don't source /etc/os-release directly, use a subshell.

OBS-URL: https://build.opensuse.org/request/show/1103772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spack?expand=0&rev=35
2023-08-14 20:35:47 +00:00
2021-12-10 16:45:58 +00:00

openSUSE/SUSE specific Settings =============================================

The packages build by a regular user are stored in the home directory and so
only available for this user.  When the packages should be available for all
users on a system, the user who builds the packages, must be able to write to
the global spack user directories under /usr/lib/spack/ Packages stored under
this path are available for all user via lmod.

To add a user to the group spack so that he can write to the global spack
directory, execute (as root):

 # usermod -a -G spack <user_login>

and change the setting for 'install_tree:' to the global spack directory in the
configuration '~/.spack/config.yaml' for this user.
 
 
NOTE:

As the recipes are contributed by the spack community and rely also on external
packages, a signification part of the recipes may fail to create packages.
Description
No description provided
Readme 362 KiB
Languages
Shell 100%