You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Adios module does not work due to several problems.
(adios 1.9.0 backend with python pip version 1.8.0.post2 and pyDive 1.2.2)
Minor:
the documentation is outdated. Module name is pyDive.adios not pyDive.ad
Blocker:
calling partPosx = pyDive.adios.open(adiosName, '/data/0/particles/i/globalCellIdx/x') on a variable leads to an error in the node = variable_path_iter.next() call in open::update_tree() in pyDive/arrays/ad_ndarray.py: output (StopIteration)
probably caused due to the fact that adios variables (and attributes) are currently not nicely iterate-able as in h5py (e.g., attributes are pure strings with the full path as a key; ... not sure what causes the problem here with the variable)
I tried "assuming" the input (arguments: ({}, '/data/0/particles/i/globalCellIdx/x', <listiterator object at 0x7fd4cd1a3350>, 'x')) are "node == leaf" but then it failed again in open_variable with:
[...]
File "[...]/lib/python2.7/site-packages/pyDive/arrays/ad_ndarray.py", line 69, in open_variable
.format(result.name, filename, variable_path), targets=result.target_ranks)
File "<string>", line 2, in execute
File "[...]/lib/python2.7/site-packages/IPython/parallel/client/view.py", line 55, in sync_results
[...]
this line is called with the arguments ('dist_array0', '<myAdiosName>.bp', '/data/0/particles/i/globalCellIdx/x')while outside of the views shape[0]=217167841L and offset[0]=undefined (at least before executing the view). the values of print(target_shapes, target_offset_vectors) are:
The Adios module does not work due to several problems.
(adios 1.9.0 backend with python pip version 1.8.0.post2 and pyDive 1.2.2)
Minor:
pyDive.adios
notpyDive.ad
Blocker:
partPosx = pyDive.adios.open(adiosName, '/data/0/particles/i/globalCellIdx/x')
on a variable leads to an error in thenode = variable_path_iter.next()
call inopen::update_tree()
inpyDive/arrays/ad_ndarray.py
: output(StopIteration)
h5py
(e.g., attributes are pure strings with the full path as a key; ... not sure what causes the problem here with the variable)({}, '/data/0/particles/i/globalCellIdx/x', <listiterator object at 0x7fd4cd1a3350>, 'x')
) are "node == leaf" but then it failed again inopen_variable
with:this line is called with the arguments
('dist_array0', '<myAdiosName>.bp', '/data/0/particles/i/globalCellIdx/x')
while outside of the viewsthe values ofshape[0]=
217167841L andoffset[0]=
undefined (at least before executing the view).print(target_shapes, target_offset_vectors)
are:The text was updated successfully, but these errors were encountered: