Skip to content

Commit ec171e7

Browse files
committed
removed some useless MPI_Barrier
1 parent eea130e commit ec171e7

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

.idea/vcs.xml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/cuqdyn-c/src/cuqdyn.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ CuqdynResult *cuqdyn_algo(const char *data_file, const char *sacess_conf_file,
6969
predicted_params_matrix = SUNDenseMatrix(m, config->ode_expr.p_count);
7070
}
7171

72-
#ifdef MPI
73-
MPI_Barrier(MPI_COMM_WORLD);
74-
#endif
75-
7672
#ifdef MPI
7773
long iterations;
7874
long start_index;
@@ -179,7 +175,6 @@ CuqdynResult *cuqdyn_algo(const char *data_file, const char *sacess_conf_file,
179175
set_matrix_row(predicted_params_matrix, predicted_params, slaved_index, 0, NV_LENGTH_S(predicted_params));
180176
}
181177
}
182-
MPI_Barrier(MPI_COMM_WORLD);
183178
#endif
184179
if (rank == 0)
185180
{

0 commit comments

Comments
 (0)