# \#distributed

**URL:** https://discourse.julialang.org/tag/distributed/185.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [\[ANN\] DistSSHKit.jl: run a Julia project on multiple machines over SSH](https://discourse.julialang.org/t/ann-distsshkit-jl-run-a-julia-project-on-multiple-machines-over-ssh/138960)

<div class="topic-metadata">

**Author:** [@yamanori99](https://discourse.julialang.org/u/yamanori99)\
**Replies:** 1\
**Last updated:** [August 25, 2026, 7:27am UTC](https://discourse.julialang.org/t/ann-distsshkit-jl-run-a-julia-project-on-multiple-machines-over-ssh/138960 "2026-08-25T07:27:48Z")

</div>

Hi everyone, I’d like to announce DistSSHKit.jl, recently added to the General registry. pkg\> add DistSSHKit DistSSHKit runs the same Julia project locally and over SSH, then collects the results. Uses Distributed.jl …

---

## [GSoC 2026: Out-of-Core Computing in Dagger - Initial Prototyping](https://discourse.julialang.org/t/gsoc-2026-out-of-core-computing-in-dagger-initial-prototyping/137161)

<div class="topic-metadata">

**Author:** [@rainerrodrigues](https://discourse.julialang.org/u/rainerrodrigues)\
**Replies:** 0\
**Last updated:** [May 18, 2026, 11:16am UTC](https://discourse.julialang.org/t/gsoc-2026-out-of-core-computing-in-dagger-initial-prototyping/137161 "2026-05-18T11:16:30Z")

</div>

Hi everyone! I’m Rainer. I’m preparing a GSoC proposal for the Out-of-Core Computing project for Dagger.jl. Coming from a background in mechatronics and embedded systems, dealing with strict hardware memory constraint…

---

## [Distributed workflow for MCMC](https://discourse.julialang.org/t/distributed-workflow-for-mcmc/134590)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [December 17, 2025, 1:43pm UTC](https://discourse.julialang.org/t/distributed-workflow-for-mcmc/134590 "2025-12-17T13:43:26Z")

</div>

I would like to set up an MCMC workflow using Distributed. I have a Julia script that does the following: load all packages load the data run an MCMC chain, with index i, for i in 1:5 save the result in some\_chain\_$i.…

---

## [Using Distributed with a mix of architectures](https://discourse.julialang.org/t/using-distributed-with-a-mix-of-architectures/134460)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 1\
**Last updated:** [December 11, 2025, 5:01am UTC](https://discourse.julialang.org/t/using-distributed-with-a-mix-of-architectures/134460 "2025-12-11T05:01:10Z")

</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 m…

---

## [Dagger.jl mutable data on different workers](https://discourse.julialang.org/t/dagger-jl-mutable-data-on-different-workers/133676)

<div class="topic-metadata">

**Author:** [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Replies:** 0\
**Last updated:** [November 5, 2025, 11:31am UTC](https://discourse.julialang.org/t/dagger-jl-mutable-data-on-different-workers/133676 "2025-11-05T11:31:54Z")

</div>

Hello people, I am new to Dagger and I have a beginner question. I am planning to create a bunch (lets say 10) of instances of a problem. Each instance should be allocated on a separate worker - Each instance should f…

---

## [Strange behaviour of addprocs on Julia 1.12-rc1](https://discourse.julialang.org/t/strange-behaviour-of-addprocs-on-julia-1-12-rc1/132094)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [September 5, 2025, 6:22am UTC](https://discourse.julialang.org/t/strange-behaviour-of-addprocs-on-julia-1-12-rc1/132094 "2025-09-05T06:22:45Z")

</div>

I used to use this call to add a process: using DistributedNext addprocs(1) I use the new process for plotting based on PyPlot, which normally works fine. I use a separate process for plotting because PyPlot doesn’t li…

---

## [DistributedNext FYI](https://discourse.julialang.org/t/distributednext-fyi/131706)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 11:16am UTC](https://discourse.julialang.org/t/distributednext-fyi/131706 "2025-08-19T11:16:56Z")

</div>

Continuing the discussion from I want Best Practices for Working With Python & Julia Together: Yes, new to me, note “Bleeding-edge fork of Distributed.jl” and “This is a soft fork of Distributed.jl for the purposes of …

---

## [Using pmap within a package](https://discourse.julialang.org/t/using-pmap-within-a-package/131627)

<div class="topic-metadata">

**Author:** [@veddox](https://discourse.julialang.org/u/veddox)\
**Replies:** 6\
**Last updated:** [August 16, 2025, 9:26am UTC](https://discourse.julialang.org/t/using-pmap-within-a-package/131627 "2025-08-16T09:26:40Z")

</div>

I’ve been trying to wrap my head around how to use pmap() properly within a package, but I’m still a bit confused and am starting to suspect my original plan may not work. For context: I’m working on a process-based eco…

---

## [How can I start a Julia worker on my laptop from a remote server?](https://discourse.julialang.org/t/how-can-i-start-a-julia-worker-on-my-laptop-from-a-remote-server/131406)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 12\
**Last updated:** [August 13, 2025, 12:30pm UTC](https://discourse.julialang.org/t/how-can-i-start-a-julia-worker-on-my-laptop-from-a-remote-server/131406 "2025-08-13T12:30:45Z")

</div>

I can use ssh to connect to a remote server. Now I would like to display plots on my laptop (from the server) by launching a worker on my laptop using the addprocs function. I have this code, which works fine as long as…

---

## [Status of Distributed / DistributedNext](https://discourse.julialang.org/t/status-of-distributed-distributednext/131305)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 8:25pm UTC](https://discourse.julialang.org/t/status-of-distributed-distributednext/131305 "2025-08-03T20:25:02Z")

</div>

DistributedNext.jl has the version number 1.0 since the beginning of the year. There have been some improvements to Distributed, too, but they are not yet merged into DistributedNext.jl (see: Distributed fixes by JamesW…

---

## [Plotting in a different process](https://discourse.julialang.org/t/plotting-in-a-different-process/131300)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [August 1, 2025, 8:43pm UTC](https://discourse.julialang.org/t/plotting-in-a-different-process/131300 "2025-08-01T20:43:37Z")

</div>

I want to start a second Julia process with using DistributedNext addprocs(1) and use a plotting library, like @everywhere using ControlPlots (or Plots or whatever you prefer) How can I now create a plot in the seco…

---

## [Memory problem when using SlurmClusterManager.jl to add workers](https://discourse.julialang.org/t/memory-problem-when-using-slurmclustermanager-jl-to-add-workers/131039)

<div class="topic-metadata">

**Author:** [@CeterisPartybus](https://discourse.julialang.org/u/CeterisPartybus)\
**Replies:** 6\
**Last updated:** [July 28, 2025, 5:32pm UTC](https://discourse.julialang.org/t/memory-problem-when-using-slurmclustermanager-jl-to-add-workers/131039 "2025-07-28T17:32:11Z")

</div>

I am new to using Distributed.jl on a cluster. I am trying to run jobs on a cluster with multiple nodes. Even though I specify a single node my Julia program should run on in the batch file, there seems to be a problem t…

---

## [Distributed and logging](https://discourse.julialang.org/t/distributed-and-logging/66503)

<div class="topic-metadata">

**Author:** [@torgo](https://discourse.julialang.org/u/torgo)\
**Replies:** 1\
**Last updated:** [June 30, 2025, 9:51am UTC](https://discourse.julialang.org/t/distributed-and-logging/66503 "2025-06-30T09:51:53Z")

</div>

I am trying to add a timestamp to a logger using LoggingExtras. I would like that timestamp to be propagated across workers, but I haven’t been able to figure out how. Here’s my MWE: module TestParLogging using Di…

---

## [Timeout issues on slurm cluster](https://discourse.julialang.org/t/timeout-issues-on-slurm-cluster/58303)

<div class="topic-metadata">

**Author:** [@ffreyer](https://discourse.julialang.org/u/ffreyer)\
**Replies:** 7\
**Last updated:** [June 4, 2025, 9:20am UTC](https://discourse.julialang.org/t/timeout-issues-on-slurm-cluster/58303 "2025-06-04T09:20:33Z")

</div>

I’ve been running into IOError: connect: connection timed out (ETIMEDOUT) with about half my jobs using ClusterManagers on a slurm cluster. This issue started appearing about a month ago with julia 1.3 and ClusterManager…

---

## [Can't remove process when added on different thread](https://discourse.julialang.org/t/cant-remove-process-when-added-on-different-thread/129357)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 2\
**Last updated:** [May 26, 2025, 9:05pm UTC](https://discourse.julialang.org/t/cant-remove-process-when-added-on-different-thread/129357 "2025-05-26T21:05:05Z")

</div>

It seems that when a worker process is added on a thread with threadid != 1 (probably), it can’t be naively removed. For example using Distributed new\_proc = fetch(Threads.@spawn addprocs(1)) |\> only rmprocs(new\_proc)…

---

## [Distributed Performance Degradation](https://discourse.julialang.org/t/distributed-performance-degradation/129246)

<div class="topic-metadata">

**Author:** [@Rbthn](https://discourse.julialang.org/u/Rbthn)\
**Replies:** 5\
**Last updated:** [May 23, 2025, 9:32am UTC](https://discourse.julialang.org/t/distributed-performance-degradation/129246 "2025-05-23T09:32:18Z")

</div>

Hi everyone! I’m investigating the parallel performance of my code and discovered some behavior I’m not sure I completely understand. I’m using Distributed with worker processes on a single machine. In a MWE, I’m solvi…

---

## [How is data routed between distributed processes?](https://discourse.julialang.org/t/how-is-data-routed-between-distributed-processes/129102)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 0\
**Last updated:** [May 17, 2025, 3:59pm UTC](https://discourse.julialang.org/t/how-is-data-routed-between-distributed-processes/129102 "2025-05-17T15:59:16Z")

</div>

Say there are two machines, the local L and remote R. I start my “director” julia process (myid() == 1) on machine L. Then the director process (L.1) spawns two worker processes R.2, R.3 on R with addprocs(\[("R", 2)\]).…

---

## [How to make a variable available on all processes (when using Distributed)](https://discourse.julialang.org/t/how-to-make-a-variable-available-on-all-processes-when-using-distributed/128460)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 21\
**Last updated:** [April 28, 2025, 8:43am UTC](https://discourse.julialang.org/t/how-to-make-a-variable-available-on-all-processes-when-using-distributed/128460 "2025-04-28T08:43:21Z")

</div>

I have a workflow which first does some preparations. Next, it does a heavy bit of computing which I would like to carry out in parallel. In practise it looks something like: # Fetch packages. @everwhere using Distribut…

---

## [Visualizing another process with Pluto notebook](https://discourse.julialang.org/t/visualizing-another-process-with-pluto-notebook/128190)

<div class="topic-metadata">

**Author:** [@Kirby\_Zhang](https://discourse.julialang.org/u/Kirby_Zhang)\
**Replies:** 1\
**Last updated:** [April 21, 2025, 6:45pm UTC](https://discourse.julialang.org/t/visualizing-another-process-with-pluto-notebook/128190 "2025-04-21T18:45:31Z")

</div>

I’m considering to use Pluto as an internal dash boarding application. This seems like a natural progression to me because I’ve been using Pluto for offline analysis, and I want to make it possible to monitor real-time a…

---

## [Does \`@distributed\` return an array of futures?](https://discourse.julialang.org/t/does-distributed-return-an-array-of-futures/127992)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 2\
**Last updated:** [April 11, 2025, 9:54pm UTC](https://discourse.julialang.org/t/does-distributed-return-an-array-of-futures/127992 "2025-04-11T21:54:08Z")

</div>

The Julia manual (Multi-processing and Distributed Computing · The Julia Language) claims that @distributed without a reduction operator returns a an array of Futures: Using “outside” variables in parallel loops is per…

---

## [Multi-processing and Distributed Computing Manual Questions and Suggestions](https://discourse.julialang.org/t/multi-processing-and-distributed-computing-manual-questions-and-suggestions/127869)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 0\
**Last updated:** [April 8, 2025, 9:50pm UTC](https://discourse.julialang.org/t/multi-processing-and-distributed-computing-manual-questions-and-suggestions/127869 "2025-04-08T21:50:06Z")

</div>

I am trying to learn how to do distributed computing in Julia, so I looked at the documentation in the official Julia manual (which I think is the only documentation page, if there’s a more detailed or standalone one I w…

---

## [Tasks from Distributed don't release memory](https://discourse.julialang.org/t/tasks-from-distributed-dont-release-memory/127801)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 0\
**Last updated:** [April 7, 2025, 2:36pm UTC](https://discourse.julialang.org/t/tasks-from-distributed-dont-release-memory/127801 "2025-04-07T14:36:44Z")

</div>

Hello, I use Julia on a SlurmCluster. I recently encountered several problems with OutOfMemory errors. I run a package for Spiking Neural Network simulations that I co-develop, and in which I have no explicit memory ma…

---

## [LIBSVM call on remote workers requires waiting](https://discourse.julialang.org/t/libsvm-call-on-remote-workers-requires-waiting/127796)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 1:13pm UTC](https://discourse.julialang.org/t/libsvm-call-on-remote-workers-requires-waiting/127796 "2025-04-07T13:13:46Z")

</div>

Hello, I have been getting a bit crazy on this (now solved) problem. I am running a SVM classification on a remote worker, the LIBSVM is imported under the hood of another module, let’s call it ClassifierModule, so th…

---

## [What's under the hood of Julia's remote call procedure?](https://discourse.julialang.org/t/whats-under-the-hood-of-julias-remote-call-procedure/127572)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 6:21am UTC](https://discourse.julialang.org/t/whats-under-the-hood-of-julias-remote-call-procedure/127572 "2025-04-02T06:21:16Z")

</div>

As I’ve been using Julia’s Distributed.jl for my master’s thesis (which has been really easy to use; thanks!), I was interested to learn more about distributed computing in general. I’ve just gone down the rabbit hole o…

---

## [Floops multithreading HasBoxedVariableError](https://discourse.julialang.org/t/floops-multithreading-hasboxedvariableerror/127139)

<div class="topic-metadata">

**Author:** [@s\_amap](https://discourse.julialang.org/u/s_amap)\
**Replies:** 7\
**Last updated:** [March 19, 2025, 3:54pm UTC](https://discourse.julialang.org/t/floops-multithreading-hasboxedvariableerror/127139 "2025-03-19T15:54:34Z")

</div>

I’ve been trying to adjust a parallel loop after some changes, and I need some clarification to make sure I’m not at risk of false sharing. The loop conceptually works like this: object # holds a state, which is a tupl…

---

## [Distributed.jl vs MPI.jl](https://discourse.julialang.org/t/distributed-jl-vs-mpi-jl/71315)

<div class="topic-metadata">

**Author:** [@Niceno](https://discourse.julialang.org/u/Niceno)\
**Replies:** 26\
**Last updated:** [January 31, 2022, 4:13am UTC](https://discourse.julialang.org/t/distributed-jl-vs-mpi-jl/71315 "2022-01-31T04:13:13Z")

</div>

Hi all, I am relatively new to Julia, but have ported one of my older programs from Fortran to Julia. I picked a program from my collection which doesn’t have any parallelims in it with the intention to implement it fr…

---

## [Use break or continue statement with pmap](https://discourse.julialang.org/t/use-break-or-continue-statement-with-pmap/126425)

<div class="topic-metadata">

**Author:** [@Thomas\_Van\_Giel](https://discourse.julialang.org/u/Thomas_Van_Giel)\
**Replies:** 5\
**Last updated:** [March 2, 2025, 11:20pm UTC](https://discourse.julialang.org/t/use-break-or-continue-statement-with-pmap/126425 "2025-03-02T23:20:29Z")

</div>

Is there any alternative to continue or break when using a pmap from the distributed package? If I try the following minimal example: using Distributed as = \[i for i in 0:0.1:10\] status = pmap(as) do a if a \< 1 …

---

## [Testing for correct handling of (missing) globals](https://discourse.julialang.org/t/testing-for-correct-handling-of-missing-globals/126158)

<div class="topic-metadata">

**Author:** [@Rbthn](https://discourse.julialang.org/u/Rbthn)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 4:30pm UTC](https://discourse.julialang.org/t/testing-for-correct-handling-of-missing-globals/126158 "2025-02-21T16:30:57Z")

</div>

When writing a script to e.g. solve an ODE, I often find myself using global (const) variables and using them in my right-hand-side function. This all works well, until I want to solve this ODE on another worker. This wo…

---

## [Parallel computation to speed up for loops](https://discourse.julialang.org/t/parallel-computation-to-speed-up-for-loops/126006)

<div class="topic-metadata">

**Author:** [@AP9](https://discourse.julialang.org/u/AP9)\
**Replies:** 3\
**Last updated:** [February 18, 2025, 7:00pm UTC](https://discourse.julialang.org/t/parallel-computation-to-speed-up-for-loops/126006 "2025-02-18T19:00:02Z")

</div>

I am computing the Lyapunov exponents in 2D for the system below, by doing a for loop over two parameters (ωA, A) and it takes a really long time. using Parameters, ChaosTools, DifferentialEquations, Distributed, Shared…

---

## [Help with shared arrays - code update](https://discourse.julialang.org/t/help-with-shared-arrays-code-update/125692)

<div class="topic-metadata">

**Author:** [@Fernando1](https://discourse.julialang.org/u/Fernando1)\
**Replies:** 2\
**Last updated:** [February 9, 2025, 6:13pm UTC](https://discourse.julialang.org/t/help-with-shared-arrays-code-update/125692 "2025-02-09T18:13:05Z")

</div>

Hi all, this is the same post as I had done before but with the code correctly added. I am trying to run a “Simulate” function living in a separate module and extract the states from it with a getStates function. The id…

[Next page](https://discourse.julialang.org/tag/distributed/185.md?match_all_tags=true&page=1&tags%5B%5D=distributed)
