2004-01-30 03:55:39 +00:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MCA_PTL_BASE_H
|
|
|
|
#define MCA_PTL_BASE_H
|
|
|
|
|
|
|
|
#include "lam_config.h"
|
|
|
|
|
2004-03-17 18:45:16 +00:00
|
|
|
#include "lfc/lam_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 {
|
|
|
|
lam_list_item_t super;
|
|
|
|
|
|
|
|
mca_ptl_base_module_t *pbsm_module;
|
|
|
|
mca_ptl_t *pbsm_actions;
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
extern lam_list_t mca_ptl_base_modules_available;
|
2004-01-30 23:02:39 +00:00
|
|
|
extern lam_list_t mca_ptl_base_modules_initialized;
|
2004-01-30 03:55:39 +00:00
|
|
|
|
|
|
|
#endif /* MCA_PTL_BASE_H */
|