X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/406f54970c00ca178fa918763d943027bd09e3ba..d0ffc37686edcc803601f76ab51fdfed5fc2f241:/examples/smpi/MM/Summa.c diff --git a/examples/smpi/MM/Summa.c b/examples/smpi/MM/Summa.c index 12c2370626..a53ac43490 100644 --- a/examples/smpi/MM/Summa.c +++ b/examples/smpi/MM/Summa.c @@ -6,6 +6,8 @@ #include "Matrix_init.h" #include "Summa.h" #include "xbt/log.h" +#include + XBT_LOG_NEW_DEFAULT_CATEGORY(MM_Summa, "Messages specific for this msg example"); @@ -76,8 +78,8 @@ inline double Summa( XBT_DEBUG( "pivot: %zu, iter: %zu, B_proc_col: %zu, " "size_col:%zu, size_row: %zu\n", pivot_row, iter, B_proc_row,size_col,size_row); - MPI_Barrier(row_comm); - MPI_Barrier(col_comm); +/* MPI_Barrier(row_comm);*/ +/* MPI_Barrier(col_comm);*/ start_time_intern = MPI_Wtime(); //Broadcast the row @@ -127,8 +129,8 @@ inline double Summa( end_time_intern = MPI_Wtime(); communication_time += end_time_intern - start_time_intern; - MPI_Barrier(row_comm); - MPI_Barrier(col_comm); +/* MPI_Barrier(row_comm);*/ +/* MPI_Barrier(col_comm);*/ start_time_intern = MPI_Wtime(); XBT_DEBUG("execute Gemm number: %zu\n", iter); //We have recieved a line of block and a colomn @@ -150,8 +152,8 @@ inline double Summa( end_time = MPI_Wtime(); time = end_time - start_time ; - printf("communication time: %le seconds, " - "computation time: %le seconds\n", + printf("communication time: %e seconds, " + "computation time: %e seconds\n", communication_time, computation_time);