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

9 lines
273 B
Bash
Raw Normal View History

2023-01-24 18:17:43 +00:00
#!/usr/bin/env bash
# shellcheck disable=SC1091
2023-01-27 17:56:10 +00:00
env_dir="$(dirname "$(readlink -f "${BASH_SOURCE:-$0}")")"
2023-01-30 16:58:54 +00:00
mkdir -p ~/.config/lattice-benchmarks
echo "${env_dir}" > ~/.config/lattice-benchmarks/grid-env
2023-01-27 17:56:10 +00:00
source "${env_dir}/spack/share/spack/setup-env.sh"
spack load jq git