ptypy.utils.parallel.gather_list#
- ptypy.utils.parallel.gather_list(lst, length, indices)#
gathers list lst of all processes to a list of length length according to order given by indices. definitely not foolproof The user has to make sure that no index appears twice in all processes
return list of length length. has only meaning in master process