Skip to content

Commit

Permalink
Changing the default Spack Root directory from /home to /opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Himani Deshpande committed Oct 13, 2023
1 parent f905257 commit 839bb8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@
default['cluster']['internal_initial_shared_dir'] = "#{node['cluster']['base_dir']}/init_shared"

default['cluster']['head_node_private_ip'] = nil

default['cluster']['spack_shared_dir'] = "#{node['cluster']['base_dir']}/spack"
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
default_action :setup

property :spack_user, String, required: false,
default: node['cluster']['cluster_user']
default: 'root'

property :spack_root, String, required: false,
default: "/home/#{node['cluster']['cluster_user']}/spack"
default: "#{node['cluster']['spack_shared_dir']}"

action :install_spack do
return if on_docker?
Expand Down

0 comments on commit 839bb8b

Please sign in to comment.