X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9179c8d05a4cda5b653afb5a45f398597919fb7..0137f14a0c14e604049cfa61688d075686496f05:/include/smpi/smpi.h diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index f10b8c2390..a93fc44357 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -88,6 +88,7 @@ int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status); int MPI_Isend(void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm, MPI_Request *request); int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm); +int MPI_Bcast(void *buf, int count, MPI_Datatype datatype, int root, MPI_Comm comm); int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *comm_out); // smpi functions @@ -96,4 +97,9 @@ unsigned int smpi_sleep(unsigned int); void smpi_exit(int); int smpi_gettimeofday(struct timeval *tv, struct timezone *tz); +void smpi_do_once_1(const char *file, int line); +int smpi_do_once_2(void); +void smpi_do_once_3(void); +#define DO_ONCE for (smpi_do_once_1(__FILE__, __LINE__); smpi_do_once_2(); smpi_do_once_3()) + #endif