2004-01-30 03:55:39 +00:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
2004-03-26 14:15:20 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*/
|
2004-01-30 03:55:39 +00:00
|
|
|
#ifndef MCA_PTL_BASE_H
|
|
|
|
#define MCA_PTL_BASE_H
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#include "ompi_config.h"
|
2004-01-30 03:55:39 +00:00
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#include "class/ompi_list.h"
|
2004-01-30 03:55:39 +00:00
|
|
|
#include "mca/mca.h"
|
2004-03-17 18:45:16 +00:00
|
|
|
#include "mca/ptl/ptl.h"
|
2004-01-30 03:55:39 +00:00
|
|
|
|
|
|
|
|
2004-01-30 23:02:39 +00:00
|
|
|
struct mca_ptl_base_selected_module_t {
|
2004-06-07 15:33:53 +00:00
|
|
|
ompi_list_item_t super;
|
2004-01-30 23:02:39 +00:00
|
|
|
|
2004-08-02 00:24:22 +00:00
|
|
|
mca_ptl_base_component_t *pbsm_component;
|
2004-01-30 23:02:39 +00:00
|
|
|
mca_ptl_base_module_t *pbsm_module;
|
|
|
|
};
|
|
|
|
typedef struct mca_ptl_base_selected_module_t mca_ptl_base_selected_module_t;
|
|
|
|
|
|
|
|
|
2004-01-30 03:55:39 +00:00
|
|
|
/*
|
|
|
|
* Global functions for MCA: overall PTL open and close
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
int mca_ptl_base_open(void);
|
2004-01-31 21:45:32 +00:00
|
|
|
int mca_ptl_base_select(bool *allow_multi_user_threads,
|
|
|
|
bool *have_hidden_threads);
|
2004-01-30 03:55:39 +00:00
|
|
|
int mca_ptl_base_close(void);
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-01-30 23:02:39 +00:00
|
|
|
|
2004-01-30 03:55:39 +00:00
|
|
|
/*
|
|
|
|
* Globals
|
|
|
|
*/
|
|
|
|
extern int mca_ptl_base_output;
|
2004-08-18 15:54:14 +00:00
|
|
|
extern char* mca_ptl_base_include;
|
|
|
|
extern char* mca_ptl_base_exclude;
|
2004-08-11 18:25:24 +00:00
|
|
|
extern ompi_list_t mca_ptl_base_components_opened;
|
|
|
|
extern ompi_list_t mca_ptl_base_modules_initialized;
|
2004-01-30 03:55:39 +00:00
|
|
|
|
|
|
|
#endif /* MCA_PTL_BASE_H */
|