I have a simple for loop to parallelize, but it doesn't work;
@parallel()
def foo():
a = list(range(10))
for i in range(10):
a[i] = 5
return a
raise error :
pycompss.util.translators.py2scop.translator_py2scop.Py2ScopException: Exception on Py2Scop.translate method.
Message: ERROR: Cannot generate SCOPs from ForBlocks
Nested Exception: list indices must be integers or slices, not float
I have a simple for loop to parallelize, but it doesn't work;
raise error :