|  |
Molssi Driver Interface Library
|
Go to the documentation of this file. 17 int general_send(
const void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm);
18 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:655
int send_ncallbacks(MDI_Comm comm)
Send the number of supported callbacks.
Definition: mdi_general.c:1042
int general_recv(void *buf, int count, MDI_Datatype datatype, MDI_Comm comm)
Receive a message through the MDI connection.
Definition: mdi_general.c:384
Global structures used by MDI.
int(* execute_command)(const char *, MDI_Comm)
Function pointer to the generic execute_command function.
int send_command_list(MDI_Comm comm)
Send the list of supported commands.
Definition: mdi_general.c:819
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:607
vector * get_node_vector(MDI_Comm comm)
Get the node vector associated with a particular communicator.
Definition: mdi_general.c:1291
int send_node_list(MDI_Comm comm)
Send the list of nodes.
Definition: mdi_general.c:967
int general_builtin_command(const char *buf, MDI_Comm comm)
Respond to a general built-in command.
Definition: mdi_general.c:546
int general_accept_communicator()
Accept a new MDI communicator.
Definition: mdi_general.c:316
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:763
int general_init(const char *options)
Initialize communication through the MDI library.
Definition: mdi_general.c:25
int send_callback_list(MDI_Comm comm)
Send the list of callbacks.
Definition: mdi_general.c:891
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:489
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:336
int send_nnodes(MDI_Comm comm)
Send the number of supported nodes.
Definition: mdi_general.c:1072
Definition: mdi_global.h:80
int get_node_info(MDI_Comm comm)
Get information about the nodes of a particular code.
Definition: mdi_general.c:1092
int send_ncommands(MDI_Comm comm)
Send the number of supported commands.
Definition: mdi_general.c:1012
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:704