/* * Initialize module on the communicator */ static int mca_scoll_mpi_module_enable(mca_scoll_base_module_t *module, oshmem_group_t *osh_group) { if (OSHMEM_SUCCESS != mca_scoll_mpi_save_coll_handlers(module, osh_group)){ MPI_COLL_ERROR("scoll_mpi: mca_coll_mpi_save_coll_handlers failed"); return OSHMEM_ERROR; } return OSHMEM_SUCCESS; }
/* * Initialize module on the communicator */ static int mca_scoll_mpi_module_enable(mca_scoll_base_module_t *module, oshmem_group_t *osh_group) { if (OSHMEM_SUCCESS != mca_scoll_mpi_save_coll_handlers(module, osh_group)){ MPI_COLL_ERROR("MPI module enable failed - aborting to prevent inconsistent application state"); /* There's no modules available */ opal_show_help("help-oshmem-scoll-mpi.txt", "module_enable:fatal", true, "MPI module enable failed - aborting to prevent inconsistent application state"); oshmem_shmem_abort(-1); return OSHMEM_ERROR; } return OSHMEM_SUCCESS; }