Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
D2O
Commits
005fbbb8
Commit
005fbbb8
authored
Sep 08, 2016
by
theos
Browse files
Fixed a bug in slicing_distributor.consolidate_data.
parent
08631989
Changes
2
Hide whitespace changes
Inline
Side-by-side
d2o/distributor_factory.py
View file @
005fbbb8
...
...
@@ -1578,6 +1578,7 @@ class _slicing_distributor(distributor):
_gathered_data
=
np
.
empty
(
self
.
global_shape
,
dtype
=
self
.
dtype
)
_dim_list
=
self
.
all_local_slices
[:,
3
]
_dim_offset_list
=
self
.
all_local_slices
[:,
4
]
data
=
np
.
ascontiguousarray
(
data
)
if
target_rank
==
'all'
:
comm
.
Allgatherv
([
data
,
self
.
mpi_dtype
],
[
_gathered_data
,
_dim_list
,
_dim_offset_list
,
...
...
d2o/version.py
View file @
005fbbb8
...
...
@@ -20,4 +20,4 @@
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
__version__
=
'1.0.1'
\ No newline at end of file
__version__
=
'1.0.2'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment