double smpi_process_simulated_elapsed(void);
void print_request(const char *message, MPI_Request request);
-void SMPI_comm_copy_buffer_callback(smx_action_t comm, void* buff, size_t buff_size);
void smpi_global_init(void);
void smpi_global_destroy(void);
int smpi_datatype_struct(int count, int* blocklens, MPI_Aint* indices,
MPI_Datatype* old_types, MPI_Datatype* new_type);
-void smpi_datatype_create(MPI_Datatype* new_type, int size, int has_subtype, void *struct_type, int flags);
+void smpi_datatype_create(MPI_Datatype* new_type, int size,int realsize, int has_subtype, void *struct_type, int flags);
void smpi_datatype_free(MPI_Datatype* type);