Since we supply the Enzian root filesystem via ISCSI which is limited to ~5 GB, you will install the Rust toolchain in your scratch space as it can get quite large. Therefore, you first set the necessary environment variables in ~/.bashrc:

cat >> ~/.bashrc <<EOF
# Make sure the Rust toolchain is installed in the user scratch directory.
export RUSTUP_HOME=/scratch/<your user>/.rustup
export CARGO_HOME=/scratch/<your user>/.cargo
EOF

Then source ~/.bashrc to apply the changes to your current shell.

Now, you can follow the instructions on https://rustup.rs.

Make sure you use emg with a named image so you do not have to redo the configuration every time you acquire an Enzian.

  • No labels