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
43468240
Commit
43468240
authored
9 years ago
by
Jupiter Hu
Browse files
Options
Downloads
Patches
Plain Diff
m2cvl update 15 April 2015
parent
01612453
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/slurm-from-source/tasks/main.yml
+12
-0
12 additions, 0 deletions
roles/slurm-from-source/tasks/main.yml
roles/slurm-from-source/templates/slurm.conf.j2
+4
-4
4 additions, 4 deletions
roles/slurm-from-source/templates/slurm.conf.j2
with
16 additions
and
4 deletions
roles/slurm-from-source/tasks/main.yml
+
12
−
0
View file @
43468240
...
...
@@ -26,6 +26,18 @@
-
name
:
create data directory
file
:
path={{ slurmdatadir }} state=directory owner=slurm group=slurm mode=755
sudo
:
true
when
:
slurmdatadir is defined
-
name
:
create run directory
file
:
path={{ slurmpiddir }} state=directory owner=root group=root mode=755
sudo
:
true
when
:
slurmpiddir is defined
-
name
:
create state directory
file
:
path={{ slurmstatedir }} state=directory owner=slurm group=slurm mode=755
sudo
:
true
when
:
slurmstatedir is defined
-
name
:
create log directory
shell
:
mkdir -p {{ slurmddebug.log | dirname }}; chown slurm:slurm {{ slurmddebug.log | dirname }}
...
...
This diff is collapsed.
Click to expand it.
roles/slurm-from-source/templates/slurm.conf.j2
+
4
−
4
View file @
43468240
...
...
@@ -21,12 +21,12 @@ SlurmdPort=6818
AuthType=auth/munge
#JobCredentialPrivateKey=
#JobCredentialPublicCertificate=
StateSaveLocation={{ slurm
_
dir }}
/var/state
SlurmdSpoolDir={{ slurm
_
dir }}
/var/spool
StateSaveLocation={{ slurm
state
dir }}
SlurmdSpoolDir={{ slurm
data
dir }}
SwitchType=switch/none
MpiDefault=none
SlurmctldPidFile={{ slurm
_
dir }}/
var/run/
slurmctld.pid
SlurmdPidFile={{ slurm
_
dir }}/
var/run/
slurmd.pid
SlurmctldPidFile={{ slurm
pid
dir }}/slurmctld.pid
SlurmdPidFile={{ slurm
pid
dir }}/slurmd.pid
ProctrackType=proctrack/pgid
#PluginDir=
CacheGroups=0
...
...
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