1
1

HCOLL: skip hcoll if enable_mpi_threads is true

reasons:
    1) default OCOMS is not configured with --enable-ocoms-multi-threads
    2) locking overheads
Этот коммит содержится в:
Devendar Bureddy 2015-04-18 00:33:49 +03:00
родитель 3dbd95fa73
Коммит 19f5a3eff4

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

@ -18,6 +18,11 @@ int hcoll_comm_attr_keyval;
*/ */
int mca_coll_hcoll_init_query(bool enable_progress_threads, bool enable_mpi_threads) int mca_coll_hcoll_init_query(bool enable_progress_threads, bool enable_mpi_threads)
{ {
if (enable_mpi_threads) {
HCOL_VERBOSE(1, "MPI_THREAD_MULTIPLE not suppported; skipping hcoll component");
return OMPI_ERROR;
}
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }