Shell Setup

Configure your shell environment on DAIC.

Redirect caches and tools to linuxhome to avoid filling your 5MB home quota:

$ wget https://gitlab.ewi.tudelft.nl/daic/docs-experimental/-/raw/main/scripts/.daicrc -O ~/.daicrc
$ echo 'source ~/.daicrc' >> ~/.bashrc
$ source ~/.bashrc

This configures storage paths for:

  • UV, Pixi, Conda, Mamba, Micromamba
  • Apptainer, pip, npm
  • Hugging Face, Jupyter
  • XDG directories

Shell aliases (optional)

For useful SLURM aliases and shell styling:

$ wget https://gitlab.ewi.tudelft.nl/reit/shell-config/-/raw/main/.bashrc-reit -O ~/.bashrc-reit
$ echo 'source ~/.bashrc-reit' >> ~/.bashrc
$ source ~/.bashrc

Test the installation:

$ reit
Hi, from the Research Engineering and Infrastructure Team!!!

See shell-config for details.

What .daicrc configures

The .daicrc file sets these environment variables:

VariablePath
XDG_CACHE_HOME~/linuxhome/.cache
UV_CACHE_DIR~/linuxhome/.cache/uv
PIXI_HOME~/linuxhome/.pixi
CONDA_PKGS_DIRS~/linuxhome/.conda/pkgs
APPTAINER_CACHEDIR~/linuxhome/.cache/apptainer
PIP_CACHE_DIR~/linuxhome/.cache/pip
HF_HOME~/linuxhome/.cache/huggingface

Next steps