ComputationalRadiationPhysics / pyDive

Distributed Interactive Visualization and Exploration of large datasets
GNU Lesser General Public License v3.0
15 stars 5 forks source link

ADIOS Support #1

Closed ax3l closed 9 years ago

ax3l commented 9 years ago

We need an additional module to read ADIOS files.

Parallel write and read python bindings for ADIOS are available (use ADIOS 1.8.0+).

The API for the picongpu module should be able to transparently switch between the two formats, whatever is provided (our meta information and hierarchy is the same in both file formats)

Compile notes

ax3l commented 9 years ago

I added an ADIOS file on hypnos at /data/hplsim/scratch/huebl/lwfa_adios003_3D.

Unfurtunately, our ADIOS plugin still lacks 2D support but I enabled zlib compression :)

during adios ./configure, don't forget to set --with-zlib=/usr on hypnos.

update:

ax3l commented 9 years ago

@Heikman great you finished the implementation!

The adios py-wrapper got some update from Jong Youl Choi in the last days: it is now possible to to read directly with

# old
v = f.var['temperature']
v.read(offset=(0,5), count=(2, 5))

# now
v = f['temperature']
v[0:2,5:10]

-> striding is not (yet) supported since that can cause heavy seek-ing and needs further investigation to be run in a performant way.

Further features:

Coming but still missing features: