localindexes() in shared array to only refer to workers by default
Merge pull request #8926 from amitmurthy/amitm/8913

localindexes() in shared array to only refer to workers by default