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
318a2a53
Commit
318a2a53
authored
21 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add return_code field to epilog complete RPC.
parent
e469f78a
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.h
+1
-0
1 addition, 0 deletions
src/common/slurm_protocol_defs.h
src/common/slurm_protocol_pack.c
+2
-0
2 additions, 0 deletions
src/common/slurm_protocol_pack.c
with
3 additions
and
0 deletions
src/common/slurm_protocol_defs.h
+
1
−
0
View file @
318a2a53
...
...
@@ -213,6 +213,7 @@ typedef struct kill_tasks_msg {
typedef
struct
epilog_complete_msg
{
uint32_t
job_id
;
uint32_t
return_code
;
char
*
node_name
;
}
epilog_complete_msg_t
;
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_pack.c
+
2
−
0
View file @
318a2a53
...
...
@@ -1145,6 +1145,7 @@ _pack_epilog_comp_msg(epilog_complete_msg_t * msg, Buf buffer)
assert
(
msg
!=
NULL
);
pack32
(
msg
->
job_id
,
buffer
);
pack32
(
msg
->
return_code
,
buffer
);
packstr
(
msg
->
node_name
,
buffer
);
}
...
...
@@ -1160,6 +1161,7 @@ _unpack_epilog_comp_msg(epilog_complete_msg_t ** msg, Buf buffer)
*
msg
=
tmp_ptr
;
safe_unpack32
(
&
(
tmp_ptr
->
job_id
),
buffer
);
safe_unpack32
(
&
(
tmp_ptr
->
return_code
),
buffer
);
safe_unpackstr_xmalloc
(
&
(
tmp_ptr
->
node_name
),
&
uint16_tmp
,
buffer
);
return
SLURM_SUCCESS
;
...
...
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