File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 4343#include "ompi/mca/pml/base/base.h"
4444#include "ompi/mca/coll/base/base.h"
4545#include "ompi/mca/osc/base/base.h"
46+ #include "ompi/mca/part/base/base.h"
4647#include "ompi/mca/io/base/base.h"
4748#include "ompi/mca/topo/base/base.h"
4849#include "opal/mca/pmix/base/base.h"
@@ -612,6 +613,15 @@ static int ompi_mpi_instance_init_common (void)
612613 return ompi_instance_print_error ("ompi_win_init() failed" , ret );
613614 }
614615
616+ /* initialize partcomm */
617+ if (OMPI_SUCCESS != (ret = mca_base_framework_open (& ompi_part_base_framework , 0 ))) {
618+ return ompi_instance_print_error ("mca_part_base_select() failed" , ret );
619+ }
620+
621+ if (OMPI_SUCCESS != (ret = mca_part_base_select (true, true))) {
622+ return ompi_instance_print_error ("mca_part_base_select() failed" , ret );
623+ }
624+
615625 /* Setup the dynamic process management (DPM) subsystem */
616626 if (OMPI_SUCCESS != (ret = ompi_dpm_init ())) {
617627 return ompi_instance_print_error ("ompi_dpm_init() failed" , ret );
You can’t perform that action at this time.
0 commit comments