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
867b9207
Commit
867b9207
authored
18 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix node state save logic on job completion.
parent
fbc1f715
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmctld/proc_req.c
+1
-5
1 addition, 5 deletions
src/slurmctld/proc_req.c
with
1 addition
and
5 deletions
src/slurmctld/proc_req.c
+
1
−
5
View file @
867b9207
...
@@ -858,7 +858,6 @@ static void _slurm_rpc_complete_job_allocation(slurm_msg_t * msg)
...
@@ -858,7 +858,6 @@ static void _slurm_rpc_complete_job_allocation(slurm_msg_t * msg)
};
};
uid_t
uid
;
uid_t
uid
;
bool
job_requeue
=
false
;
bool
job_requeue
=
false
;
bool
dump_job
=
false
,
dump_node
=
false
;
/* init */
/* init */
START_TIMER
;
START_TIMER
;
...
@@ -884,12 +883,9 @@ static void _slurm_rpc_complete_job_allocation(slurm_msg_t * msg)
...
@@ -884,12 +883,9 @@ static void _slurm_rpc_complete_job_allocation(slurm_msg_t * msg)
debug2
(
"_slurm_rpc_complete_job_allocation JobId=%u %s"
,
debug2
(
"_slurm_rpc_complete_job_allocation JobId=%u %s"
,
comp_msg
->
job_id
,
TIME_STR
);
comp_msg
->
job_id
,
TIME_STR
);
slurm_send_rc_msg
(
msg
,
SLURM_SUCCESS
);
slurm_send_rc_msg
(
msg
,
SLURM_SUCCESS
);
dump_job
=
true
;
}
if
(
dump_job
)
(
void
)
schedule_job_save
();
/* Has own locking */
(
void
)
schedule_job_save
();
/* Has own locking */
if
(
dump_node
)
(
void
)
schedule_node_save
();
/* Has own locking */
(
void
)
schedule_node_save
();
/* Has own locking */
}
}
}
/* _slurm_rpc_complete_batch - process RPC from slurmstepd to note the
/* _slurm_rpc_complete_batch - process RPC from slurmstepd to note the
...
...
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