As the self proc is marked as local, there will always be at least one local
proc. Don't create the SM file until we really know there is someone lse on the same node. This commit was SVN r10740.
Этот коммит содержится в:
родитель
5a812c8211
Коммит
fd39203262
@ -232,7 +232,8 @@ int mca_btl_sm_add_procs_same_base_addr(
|
|||||||
mca_btl_sm_component.sm_proc_connect[proc]=SM_CONNECTED;
|
mca_btl_sm_component.sm_proc_connect[proc]=SM_CONNECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( n_local_procs == 0) {
|
/* There is always at least a local proc (myself). */
|
||||||
|
if( n_local_procs == 1) {
|
||||||
return_code = OMPI_SUCCESS;
|
return_code = OMPI_SUCCESS;
|
||||||
goto CLEANUP;
|
goto CLEANUP;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user