We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34fbe89 + 875fddd commit 083c68dCopy full SHA for 083c68d
2 files changed
.gitignore
@@ -20,6 +20,7 @@ venv/
20
env/
21
ENV/
22
.venv/
23
+.venv-compute/
24
25
# uv
26
.uv/
src/srtctl/templates/job_script_minimal.j2
@@ -82,6 +82,10 @@ echo "Preparing srtctl environment..."
82
# This avoids arch mismatch when login node (x86_64) != compute node (aarch64)
83
export PATH="${SRTCTL_SOURCE}/bin:$HOME/.local/bin:$PATH"
84
85
+# Use a compute-specific venv so we don't pick up the login node's .venv/
86
+# (which may be built for a different arch, e.g. x86_64 login vs aarch64 compute)
87
+export UV_PROJECT_ENVIRONMENT="${SRTCTL_SOURCE}/.venv-compute"
88
+
89
if ! command -v uv &> /dev/null; then
90
echo "ERROR: uv not found. Run 'make setup ARCH=<compute_arch>' first."
91
echo " e.g., make setup ARCH=aarch64 (for GB200/Grace compute nodes)"
0 commit comments