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
e41c7282
Commit
e41c7282
authored
10 years ago
by
Chris Hines
Browse files
Options
Downloads
Plain Diff
Merge pull request #59 from CVL-GitHub/cvl2branch
fixed data directory
parents
e24a6cd7
9908e8ba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
roles/slurm/defaults/main.yml
+1
-1
1 addition, 1 deletion
roles/slurm/defaults/main.yml
roles/slurm/tasks/main.yml
+2
-4
2 additions, 4 deletions
roles/slurm/tasks/main.yml
roles/slurm/templates/slurm.conf.j2
+3
-3
3 additions, 3 deletions
roles/slurm/templates/slurm.conf.j2
with
6 additions
and
8 deletions
roles/slurm/defaults/main.yml
+
1
−
1
View file @
e41c7282
...
@@ -5,4 +5,4 @@ slurmddebug: {}
...
@@ -5,4 +5,4 @@ slurmddebug: {}
slurmschedlog
:
{}
slurmschedlog
:
{}
slurmdbdlog
:
{}
slurmdbdlog
:
{}
slurmfairshare
:
{
def
:
false
,
val
:
10000
}
slurmfairshare
:
{
def
:
false
,
val
:
10000
}
slurmdatadir
:
"
/var/spool/slurm"
This diff is collapsed.
Click to expand it.
roles/slurm/tasks/main.yml
+
2
−
4
View file @
e41c7282
...
@@ -50,13 +50,11 @@
...
@@ -50,13 +50,11 @@
when
:
slurm_use_vpn==True
when
:
slurm_use_vpn==True
-
name
:
create data directory
-
name
:
create data directory
shell
:
mkdir -p /var/spool/slurm
file
:
path="{{ slurmdatadir }}" state=directory owner=slurm group=slurm mode=644
args
:
creates
:
"
/var/spool/slurm"
sudo
:
true
sudo
:
true
-
name
:
create log directory
-
name
:
create log directory
shell
:
mkdir -p {{ slurmddebug.log | dirname }}
shell
:
mkdir -p {{ slurmddebug.log | dirname
}}; chown slurm:slurm {{ slurmddebug.log | dirname
}}
args
:
args
:
creates
:
"
{{
slurmddebug.log
|
dirname
}}"
creates
:
"
{{
slurmddebug.log
|
dirname
}}"
sudo
:
true
sudo
:
true
...
...
This diff is collapsed.
Click to expand it.
roles/slurm/templates/slurm.conf.j2
+
3
−
3
View file @
e41c7282
...
@@ -15,14 +15,14 @@ ControlMachine={{ slurmctrl }}
...
@@ -15,14 +15,14 @@ ControlMachine={{ slurmctrl }}
#BackupAddr=
#BackupAddr=
#
#
SlurmUser=slurm
SlurmUser=slurm
#
SlurmdUser=root
SlurmdUser=root
SlurmctldPort=6817
SlurmctldPort=6817
SlurmdPort=6818
SlurmdPort=6818
AuthType=auth/munge
AuthType=auth/munge
#JobCredentialPrivateKey=
#JobCredentialPrivateKey=
#JobCredentialPublicCertificate=
#JobCredentialPublicCertificate=
StateSaveLocation=
/var/spool
StateSaveLocation=
{{ slurmdatadir }}
SlurmdSpoolDir=
/var/spool/slurmd
SlurmdSpoolDir=
{{ slurmdatadir }}
SwitchType=switch/none
SwitchType=switch/none
MpiDefault=none
MpiDefault=none
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmctldPidFile=/var/run/slurmctld.pid
...
...
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