# Parallel julia code

**URL:** <https://discourse.julialang.org/t/parallel-julia-code/111579>\
**Category:** New to Julia\
**Created:** [March 13, 2024, 2:14pm UTC](https://discourse.julialang.org/t/parallel-julia-code/111579 "2024-03-13T14:14:06Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [March 14, 2024, 8:40am UTC](https://discourse.julialang.org/t/parallel-julia-code/111579/12 "2024-03-14T08:40:10Z")

</div>

Please:

- Format your code by enclosing it in triple backticks `````
- Use Julia 1.10.2 - this won’t solve any of your issues but it’s always a good idea to use the current stable release
- Read the [documentation on distributed computing in Julia](https://docs.julialang.org/en/v1/manual/distributed-computing/) - if you want to refer to a function on a worker process you have to define that function as `@everywhere function head_counts(trials) ... end`

---

_[View the full topic](https://discourse.julialang.org/t/parallel-julia-code/111579)._
