# Exploiting parallel Julia's auto-global shipping from inside functions and other submodules?

**URL:** https://discourse.julialang.org/t/exploiting-parallel-julias-auto-global-shipping-from-inside-functions-and-other-submodules/53185
**Category:** General Usage
**Created:** [January 12, 2021, 2:45am UTC](https://discourse.julialang.org/t/exploiting-parallel-julias-auto-global-shipping-from-inside-functions-and-other-submodules/53185 "2021-01-12T02:45:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [January 12, 2021, 2:51am UTC](https://discourse.julialang.org/t/exploiting-parallel-julias-auto-global-shipping-from-inside-functions-and-other-submodules/53185/2 "2021-01-12T02:51:33Z")

</div>

Related behavior sometimes can cause headache:

> [@How to NOT interpolate on remote worker?](https://discourse.julialang.org/t/how-to-not-interpolate-on-remote-worker/53027/1):
>
> julia\> using Distributed julia\> addprocs(2); julia\> @everywhere a = [1,2] julia\> @everywhere println(a) [1, 2] From worker 3: [1, 2] From worker 2: [1, 2] julia\> a = 5 5 julia\> @everywhere println(a) 5 From worker 2: [1, 2] From worker 3: [1, 2] julia\> @fetchfrom 3 a[2] ERROR: On worker 3: BoundsError Stacktrace: julia\> @everywhere println(a) 5 From worker 2: [1, 2] From worker 3: 5 this above behavior is weird, how do I access the a …

So I don’t think it’s a good idea to be too automatic about this

---

_[View the full topic](https://discourse.julialang.org/t/exploiting-parallel-julias-auto-global-shipping-from-inside-functions-and-other-submodules/53185)._
