# Julia 1.5.2 Distributed seeking workaround

**URL:** <https://discourse.julialang.org/t/julia-1-5-2-distributed-seeking-workaround/49757>\
**Category:** Julia at Scale\
**Created:** [November 7, 2020, 9:31pm UTC](https://discourse.julialang.org/t/julia-1-5-2-distributed-seeking-workaround/49757 "2020-11-07T21:31:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![threadedblue](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/threadedblue/32/19247_2.png) [@threadedblue](https://discourse.julialang.org/u/threadedblue)\
**Post date:** [November 7, 2020, 9:31pm UTC](https://discourse.julialang.org/t/julia-1-5-2-distributed-seeking-workaround/49757/1 "2020-11-07T21:31:57Z")

</div>

On macOS Julia 1.5.2. I am trying to run addprocs where the remote machine is linux. I get the following error:  
**sh: 1: cd: can’t cd to** /Users/

Apparently, something on the remote is trying to cd to the same path as my home directory on my Mac.

Others have encounter this problem with previous versions and it would seem there was no fix or workaround back then. My question: Is there been and developments since that my save my behind on this?

I could sure use a fix. 🙂

Thanks for reading

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [November 7, 2020, 9:38pm UTC](https://discourse.julialang.org/t/julia-1-5-2-distributed-seeking-workaround/49757/2 "2020-11-07T21:38:51Z")

</div>

You might try the `dir` and `exename` keywords to `addprocs`. From the documentation

```julia
• dir: specifies the working directory on the workers. Defaults to the host's current directory
    (as found by pwd())

• exename: name of the julia executable. Defaults to "$(Sys.BINDIR)/julia" or
    "$(Sys.BINDIR)/julia-debug" as the case may be.

```

---

<div class="post-metadata">

**Author:** ![threadedblue](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/threadedblue/32/19247_2.png) [@threadedblue](https://discourse.julialang.org/u/threadedblue)\
**Post date:** [November 8, 2020, 2:57pm UTC](https://discourse.julialang.org/t/julia-1-5-2-distributed-seeking-workaround/49757/3 "2020-11-08T14:57:25Z")

</div>

Thank for putting me on the straight and narrow. I was using documentation that said nothing of the dir setting and, as I am learning, had other errors.
