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
55632600
Commit
55632600
authored
15 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix to FRONT_END mode for message forwarding logic
parent
753f0d5b
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/common/slurm_protocol_api.c
+3
-1
3 additions, 1 deletion
src/common/slurm_protocol_api.c
with
3 additions
and
1 deletion
src/common/slurm_protocol_api.c
+
3
−
1
View file @
55632600
...
...
@@ -3087,7 +3087,6 @@ List slurm_send_recv_msgs(const char *nodelist, slurm_msg_t *msg,
List
ret_list
=
NULL
;
// List tmp_ret_list = NULL;
// slurm_fd fd = -1;
// char *name = NULL;
// char buf[8192];
hostlist_t
hl
=
NULL
;
// ret_data_info_t *ret_data_info = NULL;
...
...
@@ -3099,6 +3098,8 @@ List slurm_send_recv_msgs(const char *nodelist, slurm_msg_t *msg,
}
#ifdef HAVE_FRONT_END
{
char
*
name
=
NULL
;
/* only send to the front end node */
name
=
nodelist_nth_host
(
nodelist
,
0
);
if
(
!
name
)
{
...
...
@@ -3109,6 +3110,7 @@ List slurm_send_recv_msgs(const char *nodelist, slurm_msg_t *msg,
}
hl
=
hostlist_create
(
name
);
free
(
name
);
}
#else
/* info("total sending to %s",nodelist); */
hl
=
hostlist_create
(
nodelist
);
...
...
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