Merge pull request #330 from hpc/fix-329

Bugfix user docu for ranks #329. Bugfix missmatching barriers.
master
Julian Kunkel 2021-02-08 13:54:06 +00:00 committed by GitHub
commit dcacb341e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");
}