Skip to content

Commit

Permalink
Removed commented code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pradsubedi committed Oct 15, 2019
1 parent b5e3093 commit be4aacb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
9 changes: 1 addition & 8 deletions source/adios2/engine/dataspaces/DataSpacesReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,7 @@ void DataSpacesReader::EndStep()
void DataSpacesReader::DoClose(const int transportIndex)
{

if (globals_adios_is_dataspaces_connected_from_reader() &&
!globals_adios_is_dataspaces_connected_from_both())
{
// fprintf(stderr, "Disconnecting reader via finalize \n");
// MPI_Barrier(m_data.mpi_comm);
// dspaces_finalize();
}
globals_adios_set_dataspaces_disconnected_from_writer();
globals_adios_set_dataspaces_disconnected_from_reader();
}

void DataSpacesReader::Flush(const int transportIndex) {}
Expand Down
7 changes: 0 additions & 7 deletions source/adios2/engine/dataspaces/DataSpacesWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ void DataSpacesWriter::DoClose(const int transportIndex)
dspaces_lock_on_write(meta_lk, &(m_data.mpi_comm));
dspaces_unlock_on_write(meta_lk, &(m_data.mpi_comm));

if (globals_adios_is_dataspaces_connected_from_writer() &&
!globals_adios_is_dataspaces_connected_from_both())
{
// fprintf(stderr, "Disconnecting writer via finalize \n");
// MPI_Barrier(m_data.mpi_comm);
// dspaces_finalize();
}
globals_adios_set_dataspaces_disconnected_from_writer();
}

Expand Down

0 comments on commit be4aacb

Please sign in to comment.