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
0fdc677c
Commit
0fdc677c
authored
6 years ago
by
Nate Rini
Committed by
Danny Auble
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use slurm.SUCCESS instead of 0
bug6301
parent
fbfddfd9
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
contribs/lua/job_submit.license.lua
+2
-2
2 additions, 2 deletions
contribs/lua/job_submit.license.lua
contribs/lua/proctrack.lua
+1
-1
1 addition, 1 deletion
contribs/lua/proctrack.lua
with
3 additions
and
3 deletions
contribs/lua/job_submit.license.lua
+
2
−
2
View file @
0fdc677c
...
...
@@ -46,7 +46,7 @@ function slurm_job_submit ( job_desc, part_list, submit_uid )
return
slurm
.
ESLURM_INVALID_LICENSES
end
return
0
return
slurm
.
SUCCESS
end
function
slurm_job_modify
(
job_desc
,
job_rec
,
part_list
,
modify_uid
)
...
...
@@ -61,7 +61,7 @@ function slurm_job_modify ( job_desc, job_rec, part_list, modify_uid )
return
slurm
.
ESLURM_INVALID_LICENSES
end
return
0
return
slurm
.
SUCCESS
end
slurm
.
log_info
(
"initialized"
)
...
...
This diff is collapsed.
Click to expand it.
contribs/lua/proctrack.lua
+
1
−
1
View file @
0fdc677c
...
...
@@ -364,7 +364,7 @@ log_err = slurm.error
cpuset_dir
=
get_cpuset_dir
()
if
cpuset_dir
==
nil
then
print
"cpuset must be mounted"
return
0
return
slurm
.
SUCCESS
end
root_cpuset
.
cpus
=
cpuset_read
(
cpuset_dir
,
"cpus"
)
...
...
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