Skip to content
Snippets Groups Projects
Commit 35153d1f authored by Danny Auble's avatar Danny Auble
Browse files

Return SLURM_ERROR when you can't find an address for a host

from commit ee4a9776.
parent 2ae38296
No related branches found
No related tags found
No related merge requests found
...@@ -329,6 +329,7 @@ static int _pmix_p2p_send_core(char *nodename, const char *address, char *data, ...@@ -329,6 +329,7 @@ static int _pmix_p2p_send_core(char *nodename, const char *address, char *data,
if (slurm_conf_get_addr(nodename, &msg.address) == SLURM_ERROR) { if (slurm_conf_get_addr(nodename, &msg.address) == SLURM_ERROR) {
PMIXP_ERROR("Can't find address for host " PMIXP_ERROR("Can't find address for host "
"%s, check slurm.conf", nodename); "%s, check slurm.conf", nodename);
return SLURM_ERROR;
} }
timeout = slurm_get_msg_timeout() * 1000; timeout = slurm_get_msg_timeout() * 1000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment