Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation with warnings
[simgrid.git] / src / smpi / smpi_global.cpp
index 7cde17bf2c2c681eb0997925dab8fa7295d25e90..bcc611cae3e113ee334e53722e16272c02008dc5 100644 (file)
@@ -83,6 +83,8 @@ MPI_Errhandler *MPI_ERRORS_RETURN = nullptr;
 MPI_Errhandler *MPI_ERRORS_ARE_FATAL = nullptr;
 MPI_Errhandler *MPI_ERRHANDLER_NULL = nullptr;
 
+void (*smpi_comm_copy_data_callback) (smx_activity_t, void*, size_t) = &smpi_comm_copy_buffer_callback;
+
 #define MAILBOX_NAME_MAXLEN (5 + sizeof(int) * 2 + 1)
 
 static char *get_mailbox_name(char *str, int index)