1
1

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.
Этот коммит содержится в:
George Bosilca 2006-07-11 17:05:13 +00:00
родитель 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;
}
if( n_local_procs == 0) {
/* There is always at least a local proc (myself). */
if( n_local_procs == 1) {
return_code = OMPI_SUCCESS;
goto CLEANUP;
}