1
1
Brian Barrett 1a100e65c1 * rework the pcm/llm interface to be more non-rsh friendly. Push the
host / cpu information down into a handle that need not exist when
  the llm isn't being used.  Fix all the test cases and whatnot to match

This commit was SVN r2490.
2004-09-03 19:19:59 +00:00

61 строка
1.6 KiB
C

/* -*- C -*-
*
* $HEADER$
*/
#ifndef MCA_PCM_BASE_H_
#define MCA_PCM_BASE_H_
#include "ompi_config.h"
#include "include/types.h"
#include "mca/mca.h"
#include "mca/pcm/pcm.h"
#include "mca/llm/base/base_internal.h"
/*
* Global functions for MCA overall collective open and close
*/
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
int mca_pcm_base_open(void);
int mca_pcm_base_select(bool *allow_multi_user_threads,
bool *have_hidden_threads);
int mca_pcm_base_close(void);
char* mca_pcm_base_no_unique_name(void);
int mca_pcm_base_send_schedule(FILE *fd,
int jobid,
ompi_rte_node_schedule_t *sched,
int num_procs);
int mca_pcm_base_recv_schedule(FILE *fd,
int *jobid,
ompi_rte_node_schedule_t *sched,
int *num_procs);
int mca_pcm_base_build_base_env(char **in_env, char ***out_envp);
int mca_pcm_base_ioexecvp(char **cmdv, int showout, char *outbuff,
int outbuffsize, int stderr_is_err);
char* mca_pcm_base_get_username(mca_llm_base_hostfile_node_t *node);
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
/*
* Globals
*/
extern int mca_pcm_base_output;
extern ompi_list_t mca_pcm_base_components_available;
extern mca_pcm_base_component_t mca_pcm_base_selected_component;
extern mca_pcm_base_module_t mca_pcm;
#endif /* MCA_PCM_BASE_H */