1
1

orted/pmix: fix pmix_server_release when several jobids are running on the same node

Этот коммит содержится в:
Gilles Gouaillardet 2014-11-14 16:17:28 +09:00
родитель 84b21d726e
Коммит f3b36fdf6e

Просмотреть файл

@ -816,7 +816,7 @@ static void pmix_server_release(int status,
proc_peer = orte_get_proc_object(&peer->name);
/* check if peer has an access to the shared memory dstore segment.
* If not, just send a reply with all data. */
if (!ORTE_FLAG_TEST(proc_peer, ORTE_PROC_FLAG_SM_ACCESS)) {
if (NULL == proc_peer || !ORTE_FLAG_TEST(proc_peer, ORTE_PROC_FLAG_SM_ACCESS)) {
OBJ_RETAIN(reply);
PMIX_SERVER_QUEUE_SEND(peer, lcl->tag, reply);
} else {