Commit 3e8668ee authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed a bug in power_indices.py.

parent c286d744
......@@ -299,7 +299,7 @@ class PowerIndices(object):
local_pundex[temp_uniqued_pindex] = local_temp_pundex
# Extract the MPI module from the global_pindex d2o
MPI_name = global_pindex.comm.__class__.__module__
MPI = sys.modules(MPI_name)
MPI = sys.modules[MPI_name]
# Use Allreduce to find the first occurences/smallest pundices
global_pindex.comm.Allreduce(local_pundex,
global_pundex,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment