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
96e7f236
Commit
96e7f236
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r12460:12462
https://eris.llnl.gov/svn/slurm/branches/slurm-1.2
parent
8c5f67f3
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
NEWS
+2
-0
2 additions, 0 deletions
NEWS
src/slurmctld/agent.c
+6
-3
6 additions, 3 deletions
src/slurmctld/agent.c
with
8 additions
and
3 deletions
NEWS
+
2
−
0
View file @
96e7f236
...
@@ -89,6 +89,8 @@ documents those changes that are of interest to users and admins.
...
@@ -89,6 +89,8 @@ documents those changes that are of interest to users and admins.
job submissions are unable to set the proper environment variables.
job submissions are unable to set the proper environment variables.
-- Fix problem in parallel make of Slurm.
-- Fix problem in parallel make of Slurm.
-- Fixed bug in consumable resources when CR_Core_Memory is enabled
-- Fixed bug in consumable resources when CR_Core_Memory is enabled
-- Add delay in slurmctld for "scontrol shutdown" RPC to get propagated
to slurmd daemons.
* Changes in SLURM 1.2.17
* Changes in SLURM 1.2.17
=========================
=========================
...
...
This diff is collapsed.
Click to expand it.
src/slurmctld/agent.c
+
6
−
3
View file @
96e7f236
...
@@ -1191,8 +1191,7 @@ void agent_queue_request(agent_arg_t *agent_arg_ptr)
...
@@ -1191,8 +1191,7 @@ void agent_queue_request(agent_arg_t *agent_arg_ptr)
{
{
queued_request_t
*
queued_req_ptr
=
NULL
;
queued_request_t
*
queued_req_ptr
=
NULL
;
if
((
agent_cnt
<
MAX_AGENT_CNT
)
||
/* execute now */
if
(
agent_arg_ptr
->
msg_type
==
REQUEST_SHUTDOWN
)
{
/* execute now */
(
agent_arg_ptr
->
msg_type
==
REQUEST_SHUTDOWN
))
{
pthread_attr_t
attr_agent
;
pthread_attr_t
attr_agent
;
pthread_t
thread_agent
;
pthread_t
thread_agent
;
int
rc
;
int
rc
;
...
@@ -1203,8 +1202,12 @@ void agent_queue_request(agent_arg_t *agent_arg_ptr)
...
@@ -1203,8 +1202,12 @@ void agent_queue_request(agent_arg_t *agent_arg_ptr)
rc
=
pthread_create
(
&
thread_agent
,
&
attr_agent
,
rc
=
pthread_create
(
&
thread_agent
,
&
attr_agent
,
agent
,
(
void
*
)
agent_arg_ptr
);
agent
,
(
void
*
)
agent_arg_ptr
);
slurm_attr_destroy
(
&
attr_agent
);
slurm_attr_destroy
(
&
attr_agent
);
if
(
rc
==
0
)
if
(
rc
==
0
)
{
sleep
(
1
);
if
(
!
pthread_kill
(
thread_agent
,
0
))
info
(
"Shutdown agent still running"
);
return
;
return
;
}
}
}
queued_req_ptr
=
xmalloc
(
sizeof
(
queued_request_t
));
queued_req_ptr
=
xmalloc
(
sizeof
(
queued_request_t
));
...
...
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