Parallel julia code

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 - 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
1 Like