1
1

btl/ugni: use PMIX_GLOBAL for modex_send in ugni

Using PMIX_REMOTE is not the right thing for ugni
BTL when its possible that spawned ranks end up
on the same node as some of the spawnee ranks.
Этот коммит содержится в:
Howard Pritchard 2015-01-22 06:53:45 -08:00
родитель cf2ad0ab45
Коммит 056daa05bf

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

@ -190,7 +190,12 @@ static int opal_common_ugni_send_modex (int my_cdm_id)
msg_offset += modex_size;
}
OPAL_MODEX_SEND(rc, PMIX_ASYNC_RDY, PMIX_REMOTE,
/*
* need global for edge cases like MPI_Comm_spawn support with
* new ranks started on the same nodes as the spawnee ranks, etc.
*/
OPAL_MODEX_SEND(rc, PMIX_ASYNC_RDY, PMIX_GLOBAL,
&opal_common_ugni_component,
modex_msg, total_msg_size);