Skip to content
This repository was archived by the owner on Feb 24, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/aiori-MPIIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ static void *MPIIO_Open(char *testFileName, IOR_param_t * param)

/* show hints actually attached to file handle */
if (rank == 0 && param->showHints) {
if (mpiHints != MPI_INFO_NULL)
MPI_CHECK(MPI_Info_free(&mpiHints), "MPI_Info_free failed");
MPI_CHECK(MPI_File_get_info(*fd, &mpiHints),
"cannot get file info");
fprintf(stdout, "\nhints returned from opened file {\n");
Expand Down Expand Up @@ -206,6 +208,8 @@ static void *MPIIO_Open(char *testFileName, IOR_param_t * param)
(MPI_Info) MPI_INFO_NULL),
"cannot set file view");
}
if (mpiHints != MPI_INFO_NULL)
MPI_CHECK(MPI_Info_free(&mpiHints), "MPI_Info_free failed");
return ((void *)fd);
}

Expand Down
2 changes: 2 additions & 0 deletions src/ior.c
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,8 @@ static void TestIoSys(IOR_test_t *test)
"MPI_Group_range_incl() error");
MPI_CHECK(MPI_Comm_create(MPI_COMM_WORLD, new_group, &testComm),
"MPI_Comm_create() error");
MPI_CHECK(MPI_Group_free(&orig_group), "MPI_Group_Free() error");
MPI_CHECK(MPI_Group_free(&new_group), "MPI_Group_Free() error");
params->testComm = testComm;
if (testComm == MPI_COMM_NULL) {
/* tasks not in the group do not participate in this test */
Expand Down