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
a53716e2
Commit
a53716e2
authored
21 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add new error code for invalid node state.
parent
90932071
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/man/man3/slurm_reconfigure.3
+4
-1
4 additions, 1 deletion
doc/man/man3/slurm_reconfigure.3
slurm/slurm_errno.h
+1
-0
1 addition, 0 deletions
slurm/slurm_errno.h
src/common/slurm_errno.c
+2
-0
2 additions, 0 deletions
src/common/slurm_errno.c
with
7 additions
and
1 deletion
doc/man/man3/slurm_reconfigure.3
+
4
−
1
View file @
a53716e2
.TH "Slurm API" "3" "
July
2003" "Morris Jette" "Slurm administrative calls"
.TH "Slurm API" "3" "
August
2003" "Morris Jette" "Slurm administrative calls"
.SH "NAME"
slurm_init_part_desc_msg,
slurm_reconfigure, slurm_shutdown, slurm_update_job,
...
...
@@ -94,6 +94,9 @@ On success, zero is returned. On error, -1 is returned, and the Slurm error code
.LP
\fBESLURM_INVALID_NODE_NAME\fR the requested node name(s) is/are not valid.
.LP
\fBESLURM_INVALID_NODE_STATE\fR the specified state node state or requested node
state transition is not valid.
.LP
\fBESLURM_INVALID_PARTITION_NAME\fR the requested partition name is not valid.
.LP
\fBESLURM_ACCESS_DENIED\fR the requesting user lacks authorization for the requested action (e.g. trying to delete or modify another user's job).
...
...
This diff is collapsed.
Click to expand it.
slurm/slurm_errno.h
+
1
−
0
View file @
a53716e2
...
...
@@ -122,6 +122,7 @@ enum {
ESLURM_BAD_TASK_COUNT
,
ESLURM_INVALID_JOB_CREDENTIAL
,
ESLURM_IN_STANDBY_MODE
,
ESLURM_INVALID_NODE_STATE
,
/* Quadrics Elan routine error codes */
ENOSLURM
=
3000
,
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_errno.c
+
2
−
0
View file @
a53716e2
...
...
@@ -145,6 +145,8 @@ static slurm_errtab_t slurm_errtab[] = {
"Error generating job credential"
},
{
ESLURM_IN_STANDBY_MODE
,
"Slurm backup controller in standby mode"
},
{
ESLURM_INVALID_NODE_STATE
,
"Invalid node state specified"
},
/* Quadrics Elan routine error codes */
...
...
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