# Using Distributed with a mix of architectures

**URL:** <https://discourse.julialang.org/t/using-distributed-with-a-mix-of-architectures/134460>\
**Category:** Tooling\
**Tags:** distributed\
**Created:** [December 10, 2025, 6:12am UTC](https://discourse.julialang.org/t/using-distributed-with-a-mix-of-architectures/134460 "2025-12-10T06:12:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grero](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/grero/32/109_2.png) [@grero](https://discourse.julialang.org/u/grero)\
**Post date:** [December 10, 2025, 6:12am UTC](https://discourse.julialang.org/t/using-distributed-with-a-mix-of-architectures/134460/1 "2025-12-10T06:12:37Z")

</div>

I have a mix of Intel and Apple Silicon Macs that I would like combine into a loose “cluster”. It seems that using Distributed from the standard library is the way to go, but after setting up passwordless ssh login and making sure that all the machines have the same julia version and other packages installed, I get the following error when trying to start julia supplying a machine file:

```bash
julia --project=. --machine-file=machinefile.txt
sh: line 1: /Users/roger/.julia/juliaup/julia-1.11.4+0.aarch64.apple.darwin14/bin/julia: No such file or directory
sh: line 1: exec: /Users/roger/.julia/juliaup/julia-1.11.4+0.aarch64.apple.darwin14/bin/julia: cannot execute: No such file or directory

```

This presumably because on the Intel machines, the full julia path is `/Users/roger/.julia/juliaup/julia-1.11.4+0.x64.apple.darwin14/bin/julia`

Is there an established solution for this cross-architecture use of `Distributed`?

---

<div class="post-metadata">

**Author:** ![grero](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/grero/32/109_2.png) [@grero](https://discourse.julialang.org/u/grero)\
**Post date:** [December 11, 2025, 5:01am UTC](https://discourse.julialang.org/t/using-distributed-with-a-mix-of-architectures/134460/2 "2025-12-11T05:01:10Z")

</div>

I manned to fix this by calling `addprocs` explicitly, supplying the executable name as a parameter.

```julia
using Distributed
params = (exename="/home/user/.juliaup/bin/julia", dir=pwd())
addprocs([("work1",1)];params...)

```

where `work1` is a host with a corresponding entry in my `~/.ssh/config` file.
