Bugfix user docu for ranks. Bugfix missmatching barriers.

master
Julian M. Kunkel 2021-02-08 13:28:13 +00:00
parent f15956247f
commit fa5b24f2aa
2 changed files with 3 additions and 2 deletions

View File

@ -164,7 +164,7 @@ GENERAL:
* numTasks - number of tasks that should participate in the test
[0]
NOTE: 0 denotes all tasks
NOTE: -1 denotes all tasks
* interTestDelay - this is the time in seconds to delay before
beginning a write or read in a series of tests [0]

View File

@ -103,7 +103,7 @@ static int test_initialize(IOR_test_t * test){
if (params->testComm == MPI_COMM_NULL) {
/* tasks not in the group do not participate in this test */
/* tasks not in the group do not participate in this test, this matches the proceses in test_finalize() that participate */
MPI_CHECK(MPI_Barrier(params->mpi_comm_world), "barrier error");
return 0;
}
@ -130,6 +130,7 @@ static void test_finalize(IOR_test_t * test){
if(backend->finalize){
backend->finalize(test->params.backend_options);
}
MPI_CHECK(MPI_Barrier(test->params.mpi_comm_world), "barrier error");
MPI_CHECK(MPI_Comm_free(& testComm), "MPI_Comm_free() error");
}