Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
eb21f9f2
Commit
eb21f9f2
authored
10 years ago
by
Remi Palancher
Committed by
Danny Auble
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update comments in sacctmgr dump header
parent
f6b4928b
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
NEWS
+1
-0
1 addition, 0 deletions
NEWS
src/sacctmgr/cluster_functions.c
+7
-7
7 additions, 7 deletions
src/sacctmgr/cluster_functions.c
with
8 additions
and
7 deletions
NEWS
+
1
−
0
View file @
eb21f9f2
...
@@ -7,6 +7,7 @@ documents those changes that are of interest to users and admins.
...
@@ -7,6 +7,7 @@ documents those changes that are of interest to users and admins.
page.
page.
-- Fix for regression in 14.03.5 with sacctmgr load when Parent has "'"
-- Fix for regression in 14.03.5 with sacctmgr load when Parent has "'"
around it
around it
-- Update comments in sacctmgr dump header
* Changes in Slurm 14.03.5
* Changes in Slurm 14.03.5
==========================
==========================
...
...
This diff is collapsed.
Click to expand it.
src/sacctmgr/cluster_functions.c
+
7
−
7
View file @
eb21f9f2
...
@@ -1114,11 +1114,11 @@ extern int sacctmgr_dump_cluster (int argc, char *argv[])
...
@@ -1114,11 +1114,11 @@ extern int sacctmgr_dump_cluster (int argc, char *argv[])
if
(
fprintf
(
fd
,
if
(
fprintf
(
fd
,
"# To edit this file start with a cluster line "
"# To edit this file start with a cluster line "
"for the new cluster
\n
"
"for the new cluster
\n
"
"# Cluster - cluster_name:MaxNodesPerJob=50
\n
"
"# Cluster -
'
cluster_name
'
:MaxNodesPerJob=50
\n
"
"# Followed by Accounts you want in this fashion "
"# Followed by Accounts you want in this fashion "
"(root is created by default)...
\n
"
"(root is created by default)...
\n
"
"# Parent - root
\n
"
"# Parent -
'
root
'
\n
"
"# Account - cs:MaxNodesPerJob=5:MaxJobs=4:"
"# Account -
'
cs
'
:MaxNodesPerJob=5:MaxJobs=4:"
"MaxProcSecondsPerJob=20:FairShare=399:"
"MaxProcSecondsPerJob=20:FairShare=399:"
"MaxWallDurationPerJob=40:Description='Computer Science':"
"MaxWallDurationPerJob=40:Description='Computer Science':"
"Organization='LC'
\n
"
"Organization='LC'
\n
"
...
@@ -1128,14 +1128,14 @@ extern int sacctmgr_dump_cluster (int argc, char *argv[])
...
@@ -1128,14 +1128,14 @@ extern int sacctmgr_dump_cluster (int argc, char *argv[])
"Parent THAT HAS ALREADY
\n
"
"Parent THAT HAS ALREADY
\n
"
"# BEEN CREATED before the account line in this "
"# BEEN CREATED before the account line in this "
"fashion...
\n
"
"fashion...
\n
"
"# Parent - cs
\n
"
"# Parent -
'
cs
'
\n
"
"# Account - test:MaxNodesPerJob=1:MaxJobs=1:"
"# Account -
'
test
'
:MaxNodesPerJob=1:MaxJobs=1:"
"MaxProcSecondsPerJob=1:FairShare=1:"
"MaxProcSecondsPerJob=1:FairShare=1:"
"MaxWallDurationPerJob=1:"
"MaxWallDurationPerJob=1:"
"Description='Test Account':Organization='Test'
\n
"
"Description='Test Account':Organization='Test'
\n
"
"# To add users to a account add a line like this after a "
"# To add users to a account add a line like this after a "
"Parent - line
\n
"
"Parent -
'
line
'
\n
"
"# User - lipari:MaxNodesPerJob=2:MaxJobs=3:"
"# User -
'
lipari
'
:MaxNodesPerJob=2:MaxJobs=3:"
"MaxProcSecondsPerJob=4:FairShare=1:"
"MaxProcSecondsPerJob=4:FairShare=1:"
"MaxWallDurationPerJob=1
\n
"
)
<
0
)
{
"MaxWallDurationPerJob=1
\n
"
)
<
0
)
{
exit_code
=
1
;
exit_code
=
1
;
...
...
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