| |
Molssi Driver Interface Library
|
Go to the documentation of this file.
15 int general_send(
const void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm);
16 int general_recv(
void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm);
int register_node(vector *node_vec, const char *node_name)
Register a node.
Definition: mdi_general.c:808
int send_ncallbacks(MDI_Comm comm)
Send the number of supported callbacks.
Definition: mdi_general.c:1320
int get_node_vector(MDI_Comm comm, vector **vector_ptr)
Get the node vector associated with a particular communicator.
Definition: mdi_general.c:1597
int general_recv(void *buf, int count, MDI_Datatype datatype, MDI_Comm comm)
Receive a message through the MDI connection.
Definition: mdi_general.c:450
Global structures used by MDI.
int general_builtin_command(const char *buf, MDI_Comm comm, int *flag)
Respond to a general built-in command.
Definition: mdi_general.c:644
int send_command_list(MDI_Comm comm)
Send the list of supported commands.
Definition: mdi_general.c:1020
int general_recv_command(char *buf, MDI_Comm comm)
Receive a command of length MDI_COMMAND_LENGTH through the MDI connection.
Definition: mdi_general.c:725
int send_node_list(MDI_Comm comm)
Send the list of nodes.
Definition: mdi_general.c:1216
int general_init_code()
Initialize a new code.
Definition: mdi_general.c:23
int general_accept_communicator()
Accept a new MDI communicator.
Definition: mdi_general.c:358
int register_callback(vector *node_vec, const char *node_name, const char *callback_name)
Register a callback on a specified node.
Definition: mdi_general.c:946
int general_init(const char *options)
Initialize communication through the MDI library.
Definition: mdi_general.c:57
int send_callback_list(MDI_Comm comm)
Send the list of callbacks.
Definition: mdi_general.c:1116
int general_send_command(const char *buf, MDI_Comm comm)
Send a command of length MDI_COMMAND_LENGTH through the MDI connection.
Definition: mdi_general.c:566
int general_send(const void *buf, int count, MDI_Datatype datatype, MDI_Comm comm)
Send a message through the MDI connection.
Definition: mdi_general.c:391
int send_nnodes(MDI_Comm comm)
Send the number of supported nodes.
Definition: mdi_general.c:1357
Definition: mdi_global.h:87
int get_node_info(MDI_Comm comm)
Get information about the nodes of a particular code.
Definition: mdi_general.c:1384
int send_ncommands(MDI_Comm comm)
Send the number of supported commands.
Definition: mdi_general.c:1283
int register_command(vector *node_vec, const char *node_name, const char *command_name)
Register a command on a specified node.
Definition: mdi_general.c:869