From 7ba05dc887269506730d6cd21ee2d519584879f2 Mon Sep 17 00:00:00 2001 From: Abdullah Alperen <alperena@msu.edu> Date: Mon, 17 Dec 2018 17:23:28 -0500 Subject: [PATCH] PuReMD: fix qeq init timing --- PuReMD/src/forces.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PuReMD/src/forces.c b/PuReMD/src/forces.c index d6ba7625..e8693c09 100644 --- a/PuReMD/src/forces.c +++ b/PuReMD/src/forces.c @@ -725,11 +725,11 @@ void Init_Forces( reax_system *system, control_params *control, } } - /*MPI_Reduce(&t_cm_init, &total_cm_init, 1, MPI_DOUBLE, MPI_SUM, MASTER_NODE, mpi_data->world); + MPI_Reduce(&t_cm_init, &total_cm_init, 1, MPI_DOUBLE, MPI_SUM, MASTER_NODE, mpi_data->world); if( system->my_rank == MASTER_NODE ) { data->timing.init_qeq += total_cm_init / control->nprocs; - }*/ + } #if defined(DEBUG) Print_Sparse_Matrix2( system, H, NULL ); -- GitLab