Skip to content

Build a uenv locally

Edoardo Baldi edited this page Feb 3, 2025 · 1 revision

Draft note on the steps to build a uenv locally.

Prerequisite: configure stackinator to build the uenv locally.

# Clone stackinator repo
git clone [email protected]:eth-cscs/stackinator.git

(cd stackinator; ./bootstrap)
export PATH=$PWD/stackinator/bin:$PATH

# Clone the repo with the cluster configurations
git clone [email protected]:eth-cscs/alps-cluster-config.git

# Run stack-config and make on a compute node
srun -n1 -t180 --pty bash

stack-config -r /capstor/scratch/cscs/bcumming/empa/empa-spack/uenv/gpaw/v25.1/eiger -b /dev/shm/bcumming/gpaw -s ./alps-cluster-config/eiger -c ./cache.yaml

# TODO
# Create your own build cache in $SCRATCH/build-cache
# https://eth-cscs.github.io/stackinator/build-caches/
Clone this wiki locally