Yes, this is not yet possible. I think the most up-to-date issue is this one: https://github.com/JuliaLang/julia/pull/4939
-- John On Dec 19, 2013, at 5:31 PM, Brendan O'Connor <[email protected]> wrote: > Hi, by my reading of the Julia manual, the following is not currently > possible. I just wanted to check, am I correct? > > I'd like to create a large shared state, like a 10GB vector, and let multiple > worker processes all be able to access it. Read-only access is fine. This > is a common pattern for lots of machine learning algorithms that I write > (where the large shared state is the model parameters; for example, the > workers might compute model likelihood on different subsets of the full > dataset). > > Currently, if you try to have multiple @parallel workers/threads access a > global array, it gets copied for each one. (The manual says this is the > case, and I confirmed it in a test.) > > There seem to be some issues and pull requests that might be related, e.g. > https://github.com/JuliaLang/julia/issues/1790 > > Thanks -- Brendan > -- > brenocon.com >
