Skip to content
Snippets Groups Projects
Commit 3e0c3a11 authored by William F Godoy's avatar William F Godoy
Browse files

Fixing Python formatting issue

parent 0e5c8855
No related branches found
No related tags found
1 merge request!294Bp1read : Initial Reading Capabilities and latest API
...@@ -25,7 +25,7 @@ adios = adios2.ADIOS(comm, adios2.DebugON) ...@@ -25,7 +25,7 @@ adios = adios2.ADIOS(comm, adios2.DebugON)
bpIO = adios.DeclareIO("BPFile_N2N") bpIO = adios.DeclareIO("BPFile_N2N")
bpIO.SetEngine('BPFileWriter') bpIO.SetEngine('BPFileWriter')
# bpIO.SetParameters( {"Threads" : "2", "ProfileUnits" : "Microseconds", # bpIO.SetParameters( {"Threads" : "2", "ProfileUnits" : "Microseconds",
#"InitialBufferSize" : "17Kb"} ) # "InitialBufferSize" : "17Kb"} )
bpIOParams = {} bpIOParams = {}
bpIOParams['Threads'] = '2' bpIOParams['Threads'] = '2'
bpIOParams['ProfileUnits'] = 'Microseconds' bpIOParams['ProfileUnits'] = 'Microseconds'
...@@ -35,7 +35,7 @@ bpIO.SetParameters(bpIOParams) ...@@ -35,7 +35,7 @@ bpIO.SetParameters(bpIOParams)
fileID = bpIO.AddTransport('File', {'Library': 'fstream'}) fileID = bpIO.AddTransport('File', {'Library': 'fstream'})
# ADIOS Variable name, shape, start, offset, constant dims # ADIOS Variable name, shape, start, offset, constant dims
bpIO.DefineVariable( ioArray = bpIO.DefineVariable(
"bpArray", [size * Nx], [rank * Nx], [Nx], adios2.ConstantDims) "bpArray", [size * Nx], [rank * Nx], [Nx], adios2.ConstantDims)
# ADIOS Engine # ADIOS Engine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment