For a given number of CPU cores and LD blocks, this function returns a list indicating which blocks should be analysed on each CPU core.

JAMPred_ParallelBlockIndices(n.cores, n.blocks.to.analyse)

Arguments

n.cores

Number of CPU cores to use

n.blocks.to.analyse

Total number of LD blocks to analyse

Value

A list of which blocks are to be analysed on each CPU core.

Author

Paul Newcombe