lattice-benchmarks/Grid/systems/tursa/env.sh

9 lines
273 B
Bash

#!/usr/bin/env bash
# shellcheck disable=SC1091
env_dir="$(dirname "$(readlink -f "${BASH_SOURCE:-$0}")")"
mkdir -p ~/.config/lattice-benchmarks
echo "${env_dir}" > ~/.config/lattice-benchmarks/grid-env
source "${env_dir}/spack/share/spack/setup-env.sh"
spack load jq git