Customizing SharedArray

By partitioning, I mean I want to impose the number of local indices for each worker.