diff --git a/source/adios2/engine/sst/SstWriter.cpp b/source/adios2/engine/sst/SstWriter.cpp index 4f95a92662..66039de421 100644 --- a/source/adios2/engine/sst/SstWriter.cpp +++ b/source/adios2/engine/sst/SstWriter.cpp @@ -183,6 +183,8 @@ StepStatus SstWriter::BeginStep(StepMode mode, const float timeout_sec) return StepStatus::OK; } +size_t SstWriter::CurrentStep() const { return m_WriterStep; } + void SstWriter::MarshalAttributes() { PERFSTUBS_SCOPED_TIMER_FUNC(); diff --git a/source/adios2/engine/sst/SstWriter.h b/source/adios2/engine/sst/SstWriter.h index c4bb9d2794..5f0d5cfce1 100644 --- a/source/adios2/engine/sst/SstWriter.h +++ b/source/adios2/engine/sst/SstWriter.h @@ -38,6 +38,7 @@ class SstWriter : public Engine StepStatus BeginStep(StepMode mode, const float timeoutSeconds = -1.0) final; + size_t CurrentStep() const final; void PerformPuts() final; void EndStep() final; void Flush(const int transportIndex = -1) final; diff --git a/source/utils/adios_iotest/adios_iotest.cpp b/source/utils/adios_iotest/adios_iotest.cpp index 27a743fcff..c966857f1f 100644 --- a/source/utils/adios_iotest/adios_iotest.cpp +++ b/source/utils/adios_iotest/adios_iotest.cpp @@ -19,13 +19,7 @@ int main(int argc, char *argv[]) { int provided; - int threadSupportLevel = MPI_THREAD_SINGLE; - - if (std::string(argv[1]) == "SST") - { - threadSupportLevel = MPI_THREAD_MULTIPLE; - } - + int threadSupportLevel = MPI_THREAD_MULTIPLE; MPI_Init_thread(&argc, &argv, threadSupportLevel, &provided); Settings settings;