Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
1c365c65
Commit
1c365c65
authored
3 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into upcomingMaintenance
parents
4a7a32e2
9d51d636
No related branches found
No related tags found
1 merge request
!460
Upcoming maintenance
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-common/tasks/installSlurmFromSource.yml
+38
-4
38 additions, 4 deletions
roles/slurm-common/tasks/installSlurmFromSource.yml
with
38 additions
and
4 deletions
roles/slurm-common/tasks/installSlurmFromSource.yml
+
38
−
4
View file @
1c365c65
...
@@ -23,22 +23,56 @@
...
@@ -23,22 +23,56 @@
stat
:
path="{{ slurm_dir }}/bin/srun"
stat
:
path="{{ slurm_dir }}/bin/srun"
register
:
stat_srun
register
:
stat_srun
-
name
:
stat ucx
stat
:
path="/usr/local/ucx/"
register
:
stat_ucx
-
name
:
Create ucx directory if it does not exist
ansible.builtin.file
:
path
:
/usr/local/ucx/
state
:
directory
owner
:
damienl
group
:
systems
mode
:
'
0755'
become
:
true
when
:
not stat_ucx.stat.exists
-
name
:
unarchive ucx
unarchive
:
args
:
src
:
"
http://consistency0/src/ucx_1_8_0.tar.gz"
copy
:
no
dest
:
/usr/local/ucx/
creates
:
/usr/local/ucx/1.8.0
become
:
true
register
:
newucx
-
name
:
symlink ucx to latest
ansible.builtin.file
:
src
:
/usr/local/ucx/1.8.0
dest
:
/usr/local/ucx/latest
state
:
link
owner
:
damienl
group
:
systems
mode
:
'
0755'
become
:
true
when
:
newucx.changed
-
name
:
configure slurm centos
-
name
:
configure slurm centos
command
:
/tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix=/usr/local/pmix/latest
command
:
/tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix=/usr/local/pmix/latest
--with-ucx=/usr/local/ucx/1.8.0
args
:
args
:
creates
:
"
{{
slurm_dir
}}/bin/srun"
creates
:
"
{{
slurm_dir
}}/bin/srun"
chdir
:
/tmp/slurm-{{ slurm_version }}
chdir
:
/tmp/slurm-{{ slurm_version }}
when
:
when
:
-
force_slurm_recompile is defined or not stat_srun.stat.exists
-
force_slurm_recompile is defined or not stat_srun.stat.exists
-
ansible_os_family == 'RedHat'
-
ansible_os_family == 'RedHat'
-
name
:
configure slurm ubuntu
-
name
:
configure slurm ubuntu
command
:
/tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix
command
:
/tmp/slurm-{{ slurm_version }}/configure --prefix={{ slurm_dir }} --with-munge={{ munge_dir }} --enable-pam --with-pmix
--with-ucx
args
:
args
:
creates
:
"
{{
slurm_dir
}}/bin/srun"
creates
:
"
{{
slurm_dir
}}/bin/srun"
chdir
:
/tmp/slurm-{{ slurm_version }}
chdir
:
/tmp/slurm-{{ slurm_version }}
when
:
when
:
-
force_slurm_recompile is defined or not stat_srun.stat.exists
-
force_slurm_recompile is defined or not stat_srun.stat.exists
-
ansible_os_family == 'Debian'
-
ansible_os_family == 'Debian'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment