Cambridge IoA Cluster Guide¶
Note
Your home directory is very limited on storage space (just a few GB). This means that files should be stored on the data drives. Ask IT for space on these.
Setup Visual Studio Code server¶
The VSCode server takes up a lot of space.
- Disconnect any vscode connections, and re-connect using a normal terminal
sshsession. - Remove the folder
rm -rf ~/.vscode-server - Create it on the data drive
mkdir /data/$USER/.vscode-server - Create a symbolic link to this new folder
ln -sf /data/$USER/.vscode-server ~/.vscode-server
Setup Julia¶
If you have already installed Julia in your home folder, remove it and any bashrc entries.
Then set this variable in your bashrc file:
export JULIAUP_DEPOT_PATH=/data/$USER/.juliaup/
Do not set JULIA_DEPOT_PATH there for PROTEUS: bash install.sh keeps the Julia packages of each install in its conda environment, which the steps below place in /data. With a value in your bashrc, the installer keeps it for each environment with no value of its own, and these installs share that one folder. A job must run through an activated environment or conda run, or it does not get the depot, as for FWL_DATA.
Set your module config in your bashrc too:
module load netcdf openmpi mpich cuda
Then load it in this terminal and run the official installer. Choose Customize installation, and at Enter the folder where you want to install Juliaup enter /data/<username>/.julia, a folder that does not exist yet. That folder holds the juliaup program. The installer downloads a first Julia into the folder of JULIAUP_DEPOT_PATH.
source ~/.bashrc
curl -fsSL https://install.julialang.org | sh
Open a new terminal, then add Julia 1.13. The installer checks for it and does not install it:
juliaup add 1.13
Setup Python¶
You need not set the variable PYTHON_JULIAPKG_EXE yourself: bash install.sh sets it to the binary of the Julia 1.13 that you added, in the conda environment. In the manual steps, set it as they describe, to that binary and not to the juliaup launcher.
Then install Python, also making sure to install to /data/<username>/miniforge3:
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
Note
Return to the main installation guide.