-
Notifications
You must be signed in to change notification settings - Fork 104
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
[DRAFT] Configure Enroot and Pyxis only on HeadNode #2816
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#ENROOT_LIBRARY_PATH /usr/lib/enroot | ||
#ENROOT_SYSCONF_PATH /etc/enroot | ||
ENROOT_RUNTIME_PATH /tmp/enroot/user-$(id -u) | ||
ENROOT_CONFIG_PATH ${ENROOT_CONFIG_PATH} | ||
ENROOT_CACHE_PATH ${ENROOT_CACHE_PATH} | ||
ENROOT_DATA_PATH /tmp/enroot/data/user-$(id -u) | ||
ENROOT_RUNTIME_PATH /run/enroot/user-$(id -u) | ||
ENROOT_CONFIG_PATH | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we should create an enroot config path. Like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Our users could share the /home folder and we would end up in the original situation where these paths expected to be local became shared. I suggest to avoid the use of /home for these paths. In Pyxis/Enroot docs/Example sometimes they mention /home because they assume it's a local folder. |
||
ENROOT_CACHE_PATH <%= node['cluster']['enroot_cache_path'] %> | ||
ENROOT_DATA_PATH /run/enroot/data/user-$(id -u) | ||
#ENROOT_TEMP_PATH ${TMPDIR:-/tmp} | ||
|
||
# Gzip program used to uncompress digest layers. | ||
|
@@ -68,4 +68,4 @@ ENROOT_RESTRICT_DEV no | |
#all_proxy | ||
#no_proxy | ||
#http_proxy | ||
#https_proxy | ||
#https_proxy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# THIS IS AN EXAMPLE OF pyxis.conf file | ||
# When you want to enable please move this to /opt/slurm/etc/plugstack.conf.d/ | ||
required /usr/local/lib/slurm/spank_pyxis.so runtime_path=<%= @pyxis_persistent_runtime_path %> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include <%= node['cluster']['slurm']['install_dir'] %>/etc/plugstack.conf.d/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be 0755?