I try to find the coherence by parallelisation. To do this I try to run the script but it does not work as expected. Can anyone have any suggestion?
I've a big matrix/2D array for which every possible column-pair I need to find the coherence by parallel computation in python (e.g. mpi4py). Coherence [a function] are computed at various child processes and the child process should send the coherence value to the parent process that gather the coherence value as a list. To do this, I've created a small matrix and list of all possible column pairs as in the code. But, I'm worried to scatter all the possible pairs of columns to the multiple processors in cluster computer system.