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
36f59fb3
Commit
36f59fb3
authored
7 years ago
by
Artem Polyakov
Committed by
Danny Auble
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mpi/pmix: Fix UCX connection error case handling
Signed-off-by:
Artem Polyakov
<
artpol84@gmail.com
>
parent
bc916aeb
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/plugins/mpi/pmix/pmixp_dconn.h
+6
-4
6 additions, 4 deletions
src/plugins/mpi/pmix/pmixp_dconn.h
with
6 additions
and
4 deletions
src/plugins/mpi/pmix/pmixp_dconn.h
+
6
−
4
View file @
36f59fb3
...
...
@@ -228,9 +228,9 @@ static inline int pmixp_dconn_connect(
if
(
SLURM_SUCCESS
==
rc
){
dconn
->
state
=
PMIXP_DIRECT_CONNECTED
;
}
else
{
/*
drop the state to INIT so we will try again later
*
if it will always be failing - we will always use
*
SLURM's protocol
/*
*
Abort the application - we can't do what user requested.
*
Make sure to provide enough info
*/
char
*
nodename
=
pmixp_info_job_host
(
dconn
->
nodeid
);
xassert
(
nodename
);
...
...
@@ -239,10 +239,12 @@ static inline int pmixp_dconn_connect(
dconn
->
nodeid
);
abort
();
}
dconn
->
state
=
PMIXP_DIRECT_INIT
;
PMIXP_ERROR
(
"Cannot establish direct connection to %s (%d)"
,
nodename
,
dconn
->
nodeid
);
xfree
(
nodename
);
pmixp_debug_hang
(
0
);
/* enable hang to debug this! */
slurm_kill_job_step
(
pmixp_info_jobid
(),
pmixp_info_stepid
(),
SIGKILL
);
}
return
rc
;
}
...
...
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