48 #ifndef MCA_OMPI_MODULE_EXCHANGE_H
49 #define MCA_OMPI_MODULE_EXCHANGE_H
51 #include "ompi_config.h"
53 #ifdef HAVE_SYS_TYPES_H
54 #include <sys/types.h>
110 const void *buffer,
size_t size);
132 const void *buffer,
size_t size);
150 opal_data_type_t dtype);
192 void **buffer,
size_t *size);
225 void **buffer,
size_t *size);
248 opal_data_type_t dtype);
Common type for all MCA components.
Definition: mca.h:250
OMPI_DECLSPEC int ompi_modex_recv_key_value(const char *key, struct ompi_proc_t *source_proc, void *value, opal_data_type_t dtype)
Recv a value from a given peer.
Definition: ompi_module_exchange.c:113
Remote Open MPI process structure.
Definition: proc.h:56
OMPI_DECLSPEC int ompi_modex_recv(mca_base_component_t *dest_component, struct ompi_proc_t *source_proc, void **buffer, size_t *size)
Receive a module-specific buffer from a corresponding MCA module in a specific peer process...
Definition: ompi_module_exchange.c:55
Top-level interface for all MCA components.
BEGIN_C_DECLS OMPI_DECLSPEC int ompi_modex_send(mca_base_component_t *source_component, const void *buffer, size_t size)
Send a module-specific buffer to all other corresponding MCA modules in peer processes.
Definition: ompi_module_exchange.c:38
OMPI_DECLSPEC int ompi_modex_send_string(const char *key, const void *buffer, size_t size)
Send a buffer to all other corresponding peer process.
Definition: ompi_module_exchange.c:73
OMPI_DECLSPEC int ompi_modex_recv_string(const char *key, struct ompi_proc_t *source_proc, void **buffer, size_t *size)
Receive a buffer from a given peer.
Definition: ompi_module_exchange.c:81
OMPI_DECLSPEC int ompi_modex_send_key_value(const char *key, const void *value, opal_data_type_t dtype)
Send a value to all other corresponding peer process.
Definition: ompi_module_exchange.c:89