# Julia code on a cluster without Julia installed

**URL:** <https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267>\
**Category:** Julia at Scale\
**Tags:** question\
**Created:** [October 13, 2024, 11:13pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267 "2024-10-13T23:13:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![uri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uri/32/219969_2.png) [@uri](https://discourse.julialang.org/u/uri)\
**Post date:** [October 13, 2024, 11:13pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/1 "2024-10-13T23:13:58Z")

</div>

Hi. I need to run some Julia code on a cluster without Julia installed. I don’t have root permission. Any suggestions.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [October 13, 2024, 11:21pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/2 "2024-10-13T23:21:00Z")

</div>

You don’t need root permissions to install julia.

---

<div class="post-metadata">

**Author:** ![uri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uri/32/219969_2.png) [@uri](https://discourse.julialang.org/u/uri)\
**Post date:** [October 13, 2024, 11:35pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/3 "2024-10-13T23:35:35Z")

</div>

Do you mean I install it into my account, and that’s it?

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [October 14, 2024, 2:43am UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/4 "2024-10-14T02:43:31Z")

</div>

Yes, use [GitHub - JuliaLang/juliaup: Julia installer and version multiplexer](https://github.com/JuliaLang/juliaup)

Or, you can ask the cluster administrators to install Julia. It’s usually their job to provide the users of the cluster with the compilers and other software that they need.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [October 14, 2024, 4:04am UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/5 "2024-10-14T04:04:17Z")

</div>

[https://juliahpc.github.io/user\_gettingstarted/](https://juliahpc.github.io/user_gettingstarted/)

---

<div class="post-metadata">

**Author:** ![samo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samo/32/35398_2.png) [@samo](https://discourse.julialang.org/u/samo)\
**Post date:** [October 14, 2024, 7:58am UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/6 "2024-10-14T07:58:33Z")

</div>

JUHPC enables you to do a proper Julia HPC setup on a cluster by only setting a few environment variables and running the script:

> **[GitHub - JuliaParallel/JUHPC: HPC setup for juliaup, julia and HPC key packages...](https://github.com/JuliaParallel/JUHPC)**
>
> HPC setup for juliaup, julia and HPC key packages requiring system libraries

---

<div class="post-metadata">

**Author:** ![samo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samo/32/35398_2.png) [@samo](https://discourse.julialang.org/u/samo)\
**Post date:** [October 14, 2024, 11:09am UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/7 "2024-10-14T11:09:40Z")

</div>

Please let us know if there arise any questions/issues using JUHPC…

---

<div class="post-metadata">

**Author:** ![paulmelis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulmelis/32/35063_2.png) [@paulmelis](https://discourse.julialang.org/u/paulmelis)\
**Post date:** [October 14, 2024, 12:30pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/8 "2024-10-14T12:30:18Z")

</div>

I’m not the OP, but very interesting package. Does it fix juliaup not really being usable on a heterogeneous environment ([Should the content of `.julia/juliaup` be platform portable? · Issue #455 · JuliaLang/juliaup · GitHub](https://github.com/JuliaLang/juliaup/issues/455))?

---

<div class="post-metadata">

**Author:** ![samo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samo/32/35398_2.png) [@samo](https://discourse.julialang.org/u/samo)\
**Post date:** [October 14, 2024, 1:45pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/9 "2024-10-14T13:45:10Z")

</div>

It is indeed a solution to this problem (even if it does not make the content itself portable), because it allows to create as many concurrent and independent Julia[up] HPC setups **that do not interfere with each other** as needed; one can create for example a setup per architecture. In the examples, we create a setup per hostname (architecture varies with hostname in this case):

> **[GitHub - JuliaParallel/JUHPC: HPC setup for juliaup, julia and HPC key packages...](https://github.com/JuliaParallel/JUHPC?tab=readme-ov-file#examples-hpc-setup-installations-on-the-alps-supercomputer-cscs)**
>
> HPC setup for juliaup, julia and HPC key packages requiring system libraries

---

<div class="post-metadata">

**Author:** ![uri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uri/32/219969_2.png) [@uri](https://discourse.julialang.org/u/uri)\
**Post date:** [October 19, 2024, 7:28pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267/10 "2024-10-19T19:28:28Z")

</div>

thanks
