Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
minor code cleanups. Realized I wasn't deallocating message buffers.
[simgrid.git] / src / smpi / include / smpi.h
index 2624e58..a007c9c 100644 (file)
@@ -1,4 +1,6 @@
 #define SMPI_DEFAULT_SPEED 100
+#define SMPI_REQUEST_MALLOCATOR_SIZE 100
+#define SMPI_MESSAGE_MALLOCATOR_SIZE 100
 
 #define SMPI_RAND_SEED 5
 
@@ -15,8 +17,7 @@
 #define MPI_ERR_RANK    7
 #define MPI_ERR_TAG     8
 
-#include <stdlib.h>
-
+#include <xbt/function_types.h>
 #include <simix/simix.h>
 
 // MPI_Comm