File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,19 @@ static int mca_pml_base_open(mca_base_open_flag_t flags)
218
218
opal_pointer_array_add (& mca_pml_base_pml , strdup ("ucx" ));
219
219
opal_pointer_array_add (& mca_pml_base_pml , strdup ("cm" ));
220
220
} else {
221
+ #if OPAL_ENABLE_DEBUG
222
+ char * * req_pml = opal_argv_split (default_pml [0 ], ',' );
223
+ if ( NULL != req_pml [1 ] ) {
224
+ opal_output (0 , "Only one PML must be provided. Using %s PML (the"
225
+ " first on the MCA pml list)" , req_pml [0 ]);
226
+ opal_pointer_array_add (& mca_pml_base_pml , strdup (req_pml [0 ]));
227
+ } else {
228
+ opal_pointer_array_add (& mca_pml_base_pml , strdup (default_pml [0 ]));
229
+ }
230
+ opal_argv_free (req_pml );
231
+ #else
221
232
opal_pointer_array_add (& mca_pml_base_pml , strdup (default_pml [0 ]));
233
+ #endif /* OPAL_ENABLE_DEBUG */
222
234
}
223
235
}
224
236
#if OPAL_ENABLE_FT_CR == 1
You can’t perform that action at this time.
0 commit comments