#include "src/include/pmix_config.h"
#ifdef HAVE_UNISTD_H
# include "unistd.h"
#endif
#include "pmix_common.h"
#include "src/mca/base/pmix_base.h"
#include "src/mca/mca.h"
#include "src/mca/pdl/base/base.h"
#include "src/mca/pdl/pdl.h"
#include "src/util/pmix_output.h"
int pmix_pdl_base_select(void)
{
int exit_status = PMIX_SUCCESS;
pmix_pdl_base_component_t *best_component = NULL;
pmix_pdl_base_module_t *best_module = NULL;
if (PMIX_SUCCESS
!= pmix_mca_base_select("pdl", pmix_pdl_base_framework.framework_output,
&pmix_pdl_base_framework.framework_components,
(pmix_mca_base_module_t **) &best_module,
(pmix_mca_base_component_t **) &best_component, NULL)) {
exit_status = PMIX_ERROR;
goto cleanup;
}
pmix_pdl_base_selected_component = best_component;
pmix_pdl = best_module;
cleanup:
return exit_status;
}