37 #include <maloc/maloc_base.h>
39 #include <maloc/vsys.h>
42 #define VCOM_MPI_TAG 111
77 #if !defined(VINLINE_MALOC)
87 int Vcom_init(
int *argc,
char ***argv);
88 int Vcom_finalize(
void);
90 Vcom* Vcom_ctor(
int commtype);
91 int Vcom_ctor2(
Vcom* thee,
int commtype);
92 void Vcom_dtor(
Vcom **thee);
93 void Vcom_dtor2(
Vcom *thee);
95 int Vcom_send(
Vcom *thee,
int des,
void *buf,
int len,
int type,
97 int Vcom_recv(
Vcom *thee,
int src,
void *buf,
int len,
int type,
99 int Vcom_getCount(
Vcom *thee,
int src,
int *length,
int type);
100 int Vcom_reduce(
Vcom *thee,
void *sendbuf,
void *recvbuf,
int length,
102 int Vcom_size(
Vcom *thee);
103 int Vcom_resize(
Vcom *thee,
int newsize);
104 int Vcom_rank(
Vcom *thee);
105 int Vcom_barr(
Vcom *thee);