# Multiple machines with same file system, should Julia recompile on each?

**URL:** <https://discourse.julialang.org/t/multiple-machines-with-same-file-system-should-julia-recompile-on-each/132219>\
**Category:** General Usage\
**Tags:** precompilation\
**Created:** [September 9, 2025, 8:27am UTC](https://discourse.julialang.org/t/multiple-machines-with-same-file-system-should-julia-recompile-on-each/132219 "2025-09-09T08:27:01Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Sevi](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Sevi](https://discourse.julialang.org/u/Sevi)\
**Post date:** [September 9, 2025, 9:27pm UTC](https://discourse.julialang.org/t/multiple-machines-with-same-file-system-should-julia-recompile-on-each/132219/8 "2025-09-09T21:27:47Z")

</div>

Similar problem with essentially the same solution. Just cross-posting it here in case it helps anyone: [Julia 1.9, same depot with different machines?](https://discourse.julialang.org/t/julia-1-9-same-depot-with-different-machines/103463)

There is also the environment variable [`JULIA_MAX_NUM_PRECOMPILE_FILES`](https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_MAX_NUM_PRECOMPILE_FILES), which someone in this forum suggested to set to a higher value (e.g. ~50) if disk space is not a big issue. It does seem to help in my case (heterogeneous cluster machines) to reduce the number of potential (re-)precompilations.

---

_[View the full topic](https://discourse.julialang.org/t/multiple-machines-with-same-file-system-should-julia-recompile-on-each/132219)._
