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
96bc841f
Commit
96bc841f
authored
22 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Remove some vestigial node states
parent
dab3d127
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
src/common/slurm_protocol_defs.c
+0
-3
0 additions, 3 deletions
src/common/slurm_protocol_defs.c
src/common/slurm_protocol_defs.h
+1
-4
1 addition, 4 deletions
src/common/slurm_protocol_defs.h
with
1 addition
and
7 deletions
src/common/slurm_protocol_defs.c
+
0
−
3
View file @
96bc841f
...
@@ -363,9 +363,6 @@ node_state_string(uint16_t inx)
...
@@ -363,9 +363,6 @@ node_state_string(uint16_t inx)
"UNKNOWN"
,
"UNKNOWN"
,
"IDLE"
,
"IDLE"
,
"ALLOCATED"
,
"ALLOCATED"
,
"STAGE_IN"
,
"RUNNING"
,
"STAGE_OUT"
,
"DRAINED"
,
"DRAINED"
,
"DRAINING"
,
"DRAINING"
,
"END"
"END"
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_defs.h
+
1
−
4
View file @
96bc841f
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
/* INFINITE is used to identify unlimited configurations, */
/* INFINITE is used to identify unlimited configurations, */
/* eg. the maximum count of nodes any job may use in some partition */
/* eg. the maximum count of nodes any job may use in some partition */
#define INFINITE (0xffffffff)
#define INFINITE (0xffffffff)
#define NO_VAL (0x
7f7f7f7f
)
#define NO_VAL (0x
fffffffe
)
/* last entry must be STATE_END, keep in sync with node_state_string */
/* last entry must be STATE_END, keep in sync with node_state_string */
/* if a node ceases to respond, its last state is ORed with NODE_STATE_NO_RESPOND */
/* if a node ceases to respond, its last state is ORed with NODE_STATE_NO_RESPOND */
...
@@ -52,9 +52,6 @@ enum node_states {
...
@@ -52,9 +52,6 @@ enum node_states {
NODE_STATE_UNKNOWN
,
/* node's initial state, unknown */
NODE_STATE_UNKNOWN
,
/* node's initial state, unknown */
NODE_STATE_IDLE
,
/* node idle and available for use */
NODE_STATE_IDLE
,
/* node idle and available for use */
NODE_STATE_ALLOCATED
,
/* node has been allocated, job not currently running */
NODE_STATE_ALLOCATED
,
/* node has been allocated, job not currently running */
NODE_STATE_STAGE_IN
,
/* node has been allocated, job is starting execution */
NODE_STATE_RUNNING
,
/* node has been allocated, job currently running */
NODE_STATE_STAGE_OUT
,
/* node has been allocated, job is terminating */
NODE_STATE_DRAINED
,
/* node idle and not to be allocated future work */
NODE_STATE_DRAINED
,
/* node idle and not to be allocated future work */
NODE_STATE_DRAINING
,
/* node in use, but not to be allocated future work */
NODE_STATE_DRAINING
,
/* node in use, but not to be allocated future work */
NODE_STATE_END
/* last entry in table */
NODE_STATE_END
/* last entry in table */
...
...
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