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
b813c4ee
Commit
b813c4ee
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug that would cause scontrol reconfig on real cluster to corrupt memory.
parent
1aa22f23
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmctld/node_mgr.c
+2
-2
2 additions, 2 deletions
src/slurmctld/node_mgr.c
with
2 additions
and
2 deletions
src/slurmctld/node_mgr.c
+
2
−
2
View file @
b813c4ee
...
@@ -1653,9 +1653,9 @@ void msg_to_slurmd (slurm_msg_type_t msg_type)
...
@@ -1653,9 +1653,9 @@ void msg_to_slurmd (slurm_msg_type_t msg_type)
kill_agent_args
->
retry
=
0
;
kill_agent_args
->
retry
=
0
;
kill_agent_args
->
slurm_addr
=
xmalloc
(
kill_agent_args
->
slurm_addr
=
xmalloc
(
sizeof
(
struct
sockaddr_in
)
*
sizeof
(
struct
sockaddr_in
)
*
(
kill_agent_args
->
node
_count
+
1
));
(
node_record
_count
+
1
));
kill_agent_args
->
node_names
=
xmalloc
(
MAX_NAME_LEN
*
kill_agent_args
->
node_names
=
xmalloc
(
MAX_NAME_LEN
*
(
kill_agent_args
->
node
_count
+
1
));
(
node_record
_count
+
1
));
if
(
msg_type
==
REQUEST_SHUTDOWN
)
{
if
(
msg_type
==
REQUEST_SHUTDOWN
)
{
shutdown_req
=
xmalloc
(
sizeof
(
shutdown_msg_t
));
shutdown_req
=
xmalloc
(
sizeof
(
shutdown_msg_t
));
shutdown_req
->
core
=
0
;
shutdown_req
->
core
=
0
;
...
...
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