1
1
Brian Barrett 5b9fa7e998 reapply r15517 and r15520, which were removed in r15527 so that I could get
the RML/OOB merge in slightly easier

This commit was SVN r15530.

The following SVN revision numbers were found above:
  r15517 --> open-mpi/ompi@41977fcc95
  r15520 --> open-mpi/ompi@9cbc9df1b8
  r15527 --> open-mpi/ompi@2d17dd9516
2007-07-20 02:34:29 +00:00

106 строки
3.7 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
/** @file:
*/
#ifndef MCA_SDS_BASE_H
#define MCA_SDS_BASE_H
#include "orte_config.h"
#include "opal/mca/mca.h"
#include "orte/mca/sds/sds.h"
#include "orte/mca/ns/ns_types.h"
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
/*
* Global functions for MCA overall collective open and close
*/
/**
* Open the sds framework
*/
ORTE_DECLSPEC int orte_sds_base_open(void);
/**
* Select a sds module
*/
ORTE_DECLSPEC int orte_sds_base_select(void);
/**
* Setup universe contact information
*/
ORTE_DECLSPEC int orte_sds_base_contact_universe(void);
/**
* Setup self and peer naming
*/
ORTE_DECLSPEC int orte_sds_base_set_name(void);
/**
* Close the sds framework
*/
ORTE_DECLSPEC int orte_sds_base_close(void);
/*
* Internal helper functions used by components
*/
ORTE_DECLSPEC int orte_sds_base_basic_contact_universe(void);
ORTE_DECLSPEC int orte_sds_base_seed_set_name(void);
ORTE_DECLSPEC int orte_sds_base_contact_orted(char *orted_uri);
ORTE_DECLSPEC int orte_sds_env_get(void);
/*
* Put functions
*/
ORTE_DECLSPEC int orte_ns_nds_env_put(const orte_process_name_t* proc,
orte_vpid_t vpid_start,
orte_std_cntr_t num_procs,
orte_vpid_t local_rank,
orte_std_cntr_t num_local_procs,
char ***env);
ORTE_DECLSPEC int orte_ns_nds_pipe_put(const orte_process_name_t* proc,
orte_vpid_t vpid_start,
orte_std_cntr_t num_procs,
orte_vpid_t local_rank,
orte_std_cntr_t num_local_procs,
int fd);
ORTE_DECLSPEC int orte_ns_nds_bproc_put(orte_jobid_t job,
orte_vpid_t vpid_start,
orte_vpid_t global_vpid_start,
orte_std_cntr_t num_procs,
orte_vpid_t local_rank,
orte_std_cntr_t num_local_procs,
char ***env);
ORTE_DECLSPEC int orte_ns_nds_xcpu_put(orte_jobid_t job,
orte_vpid_t vpid_start,
orte_std_cntr_t num_procs,
orte_vpid_t local_rank,
orte_std_cntr_t num_local_procs,
char ***env);
ORTE_DECLSPEC extern opal_list_t orte_sds_base_components_available;
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif