# Installation on managed cluster

**URL:** <https://discourse.julialang.org/t/installation-on-managed-cluster/100145>\
**Category:** General Usage\
**Tags:** cluster, installation\
**Created:** [June 10, 2023, 5:12pm UTC](https://discourse.julialang.org/t/installation-on-managed-cluster/100145 "2023-06-10T17:12:54Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![sloede](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sloede/32/44787_2.png) [@sloede](https://discourse.julialang.org/u/sloede)\
**Post date:** [June 12, 2023, 3:03pm UTC](https://discourse.julialang.org/t/installation-on-managed-cluster/100145/18 "2023-06-12T15:03:32Z")

</div>

> [@johnh](#):
>
> often on HPC systems the users home directory is on a slw and space limited NFS filesystem. The working storage is on faster parallel storage with high capacity. Is this a factor here?

For all practical intents, in our experience the location of the Julia depot is usually _not_ a performance-critical factor before you scale to \>1000 MPI ranks (at least since Julia v1.7).

@VictorEijkhout You should be able to use centrally managed Preferences.jl and/or environment variables to configure the correct settings for MPI.jl and HDF5.jl. For this, you need to put a centrally managed `LocalPreferences.jl` file in the users’ `JULIA_LOAD_PATH` (e.g., by setting the `JULIA_LOAD_PATH` appropriately in a module file). In case of environment variables, you can just set them directly inside, e.g., the Julia module. The contents of the preferences file or the relevant environment variables can be found in the MPI.jl/HDF5.jl docs (let me know if you have trouble finding the right place).

For our purposes, we have found that maintaining centrally managed package installations in a shared depot is not worth the hassle. Even on systems where users cannot access the internet directly, there are ways around that (see, e.g., [this topic](https://discourse.julialang.org/t/installing-packages-via-an-ssh-socks-proxy-on-a-compute-cluster/71735)).

---

_[View the full topic](https://discourse.julialang.org/t/installation-on-managed-cluster/100145)._
