diff --git a/bindings/python/include/ADIOSPy.h b/bindings/python/include/ADIOSPy.h index 65cf2cfcffc945cdc0049a99b40e92e58ce44b12..584526e80600748dda31dc9be51f0aebee9d5d09 100644 --- a/bindings/python/include/ADIOSPy.h +++ b/bindings/python/include/ADIOSPy.h @@ -56,7 +56,7 @@ public: VariablePy DefineVariablePy( const std::string name, const pyList localDimensionsPy = pyList(), const pyList globalDimensionsPy = pyList(), const pyList globalOffsetsPy = pyList() ); - MethodPy& DeclareMethodPy( const std::string methodName, const std::string type = "" ); + MethodPy& DeclareMethodPy( const std::string methodName ); EnginePy OpenPy( const std::string name, const std::string accessMode, const MethodPy& method, pyObject py_comm = pyObject() ); diff --git a/bindings/python/src/ADIOSPy.cpp b/bindings/python/src/ADIOSPy.cpp index 609b7e6328e295c98f96a6e8fc0ae928a4d90d3a..f92bc8a6df8fc85de634c6913e0f0b2f187f108e 100644 --- a/bindings/python/src/ADIOSPy.cpp +++ b/bindings/python/src/ADIOSPy.cpp @@ -17,7 +17,7 @@ namespace adios ADIOSPy::ADIOSPy( MPI_Comm mpiComm, const bool debug ): - ADIOS( mpiComm, debug ) + ADIOS( mpiComm, adios::Verbose::ERROR, debug ) { } @@ -31,9 +31,9 @@ void ADIOSPy::HelloMPI( ) } -MethodPy& ADIOSPy::DeclareMethodPy( const std::string methodName, const std::string type ) +MethodPy& ADIOSPy::DeclareMethodPy( const std::string methodName ) { - Method& method = DeclareMethod( methodName, type ); + Method& method = DeclareMethod( methodName ); return *reinterpret_cast<MethodPy*>( &method ); } diff --git a/bindings/python/src/EnginePy.cpp b/bindings/python/src/EnginePy.cpp index 3bb80cdd31b78054c57b9ddc1f6adc7ebc7fd7f8..790e997e3318ef00ea8ec30ea06617d040af0588 100644 --- a/bindings/python/src/EnginePy.cpp +++ b/bindings/python/src/EnginePy.cpp @@ -68,7 +68,7 @@ void EnginePy::WritePy( VariablePy& variable, const pyArray& array ) void EnginePy::Advance( ) { - + m_Engine->Advance( ); } diff --git a/bindings/python/test_hello.py b/bindings/python/test_hello.py index db0b2c6ef927d13f671d37d451f2b86b5db8bf29..a383b573f897d00157f5174c65e58c3f0a227197 100644 --- a/bindings/python/test_hello.py +++ b/bindings/python/test_hello.py @@ -26,7 +26,7 @@ if( rank % 2 == 1 ): # odd ranks only #Setup method and print summary -ioSettings = adios.DeclareMethod("adiosSettings", "BPFileWriter") +ioSettings = adios.DeclareMethod("adiosSettings") ioSettings.SetParameters( profile_units = 'mus' ) ioSettings.AddTransport( 'File', have_metadata_file = 'no', profile_units = 'mus' ) # POSIX is default, just checking @@ -41,4 +41,4 @@ bpFileWriter.Close( ) if( rank == 0 ): print "Done writing " + str( size ) + " bp files" - ioSettings.PrintAll( ) # just prints a summary of Method/Transport parameters \ No newline at end of file + ioSettings.PrintAll( ) # just prints a summary of Method/Transport parameters