X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/50b1967c67a75b08e146f976c08223d9245dc5f5..2c803179bcf6c7b734f6f22aa44fda9da4d1793d:/include/smpi/smpi.h diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 1e768df20c..b909f28016 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -38,7 +38,7 @@ SG_BEGIN_DECL() #define MPI_BOTTOM (void *)0 #define MPI_PROC_NULL -2 #define MPI_ANY_TAG -1 -#define MPI_UNDEFINED -1 +#define MPI_UNDEFINED -3 // errorcodes #define MPI_SUCCESS 0 #define MPI_ERR_COMM 1 @@ -111,7 +111,8 @@ extern MPI_Datatype MPI_C_DOUBLE_COMPLEX; extern MPI_Datatype MPI_C_LONG_DOUBLE_COMPLEX; extern MPI_Datatype MPI_AINT; extern MPI_Datatype MPI_OFFSET; - +extern MPI_Datatype MPI_LB; +extern MPI_Datatype MPI_UB; //The following are datatypes for the MPI functions MPI_MAXLOC and MPI_MINLOC. extern MPI_Datatype MPI_FLOAT_INT; extern MPI_Datatype MPI_LONG_INT; @@ -383,6 +384,7 @@ MPI_CALL(XBT_PUBLIC(int), MPI_Probe, //FIXME: these are not yet implemented + typedef void MPI_Handler_function(MPI_Comm*, int*, ...); typedef void* MPI_Errhandler; typedef int MPI_Copy_function(MPI_Comm oldcomm, int keyval, void* extra_state, void* attribute_val_in, @@ -440,6 +442,8 @@ MPI_CALL(XBT_PUBLIC(int), MPI_Pack, (void* inbuf, int incount, MPI_Datatype type MPI_CALL(XBT_PUBLIC(int), MPI_Get_elements, (MPI_Status* status, MPI_Datatype datatype, int* elements)); MPI_CALL(XBT_PUBLIC(int), MPI_Dims_create, (int nnodes, int ndims, int* dims)); MPI_CALL(XBT_PUBLIC(int), MPI_Initialized, (int* flag)); +MPI_CALL(XBT_PUBLIC(int), MPI_Pcontrol, (const int level )); + //FIXME: End of all the not yet implemented stuff // smpi functions