1
1
openmpi/ompi/mca/rte/pmi/rte_pmi_comm.c
Ralph Castain 9c66c4f439 Correctly implement --disable-oshmem and --without-orte so we don't build the disabled section of code. Fix a bunch of code rot in the PMI rte component, and add several missing headers when building --without-orte.
NOTE: I transferred the oshmem-disabled-by-default from the 1.7 branch to the trunk to minimize future disruption if/when we change that option.

cmr=v1.8:reviewer=jsquyres

This commit was SVN r31006.
2014-03-11 22:02:40 +00:00

69 строки
1.6 KiB
C

/*
* Copyright (c) 2013 Sandia National Laboratories. All rights reserved.
*
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*
*/
#include "ompi_config.h"
#include "opal/threads/tsd.h"
#include "ompi/constants.h"
#include "ompi/mca/rte/rte.h"
#include "rte_pmi.h"
#include "rte_pmi_internal.h"
void ompi_rte_send_cbfunc(int status, ompi_process_name_t* sender,
opal_buffer_t* buf, ompi_rml_tag_t tag,
void* cbdata)
{
}
int
ompi_rte_send_buffer_nb(const ompi_process_name_t *peer,
struct opal_buffer_t *buffer,
ompi_rml_tag_t tag,
void (*cbfunc)(int, ompi_process_name_t*,
opal_buffer_t*, ompi_rml_tag_t,
void*),
void *cbdata)
{
return OMPI_ERR_NOT_SUPPORTED;
}
int
ompi_rte_recv_buffer_nb(const ompi_process_name_t *peer,
ompi_rml_tag_t tag,
int flags,
void (*cbfunc)(int, ompi_process_name_t*,
opal_buffer_t*, ompi_rml_tag_t,
void*),
void *cbdata)
{
return OMPI_ERR_NOT_SUPPORTED;
}
int
ompi_rte_recv_cancel(const ompi_process_name_t *peer,
ompi_rml_tag_t tag)
{
return OMPI_ERR_NOT_SUPPORTED;
}
int
ompi_rte_parse_uris(const char* contact_info,
ompi_process_name_t *peer,
char ***uris)
{
return OMPI_ERR_NOT_SUPPORTED;
}