|
Lines 2067-2078
static void _spawn_prolog_stepd(slurm_msg_t *msg)
Link Here
|
| 2067 |
req->job_id); |
2067 |
req->job_id); |
| 2068 |
} else { |
2068 |
} else { |
| 2069 |
hostset_t step_hset = hostset_create(req->nodes); |
2069 |
hostset_t step_hset = hostset_create(req->nodes); |
|
|
2070 |
int rc; |
| 2070 |
|
2071 |
|
| 2071 |
debug3("%s: call to _forkexec_slurmstepd", __func__); |
2072 |
debug3("%s: call to _forkexec_slurmstepd", __func__); |
| 2072 |
(void) _forkexec_slurmstepd( |
2073 |
rc = _forkexec_slurmstepd( |
| 2073 |
LAUNCH_TASKS, (void *)launch_req, cli, |
2074 |
LAUNCH_TASKS, (void *)launch_req, cli, |
| 2074 |
&self, step_hset, msg->protocol_version); |
2075 |
&self, step_hset, msg->protocol_version); |
| 2075 |
debug3("%s: return from _forkexec_slurmstepd", __func__); |
2076 |
debug3("%s: return from _forkexec_slurmstepd %d", __func__, rc); |
|
|
2077 |
|
| 2078 |
if (rc != SLURM_SUCCESS) |
| 2079 |
_launch_job_fail(req->job_id, rc); |
| 2080 |
|
| 2076 |
if (step_hset) |
2081 |
if (step_hset) |
| 2077 |
hostset_destroy(step_hset); |
2082 |
hostset_destroy(step_hset); |
| 2078 |
} |
2083 |
} |