summaryrefslogtreecommitdiff
path: root/scripts/setup_and_run_two_a6000.sh
diff options
context:
space:
mode:
authorYurenHao0426 <Blackhao0426@gmail.com>2026-06-29 12:04:47 -0500
committerYurenHao0426 <Blackhao0426@gmail.com>2026-06-29 12:04:47 -0500
commitc54ddb88b532be28ca3096e21de405d90163ecfa (patch)
tree3270ec9269dbee14ea915963f0d28e933303d5a7 /scripts/setup_and_run_two_a6000.sh
parentd12722525fc010a3910b5152c72654a2ade5eac4 (diff)
Package full RRoG GNN project
Diffstat (limited to 'scripts/setup_and_run_two_a6000.sh')
-rwxr-xr-xscripts/setup_and_run_two_a6000.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/setup_and_run_two_a6000.sh b/scripts/setup_and_run_two_a6000.sh
new file mode 100755
index 0000000..ec4e3da
--- /dev/null
+++ b/scripts/setup_and_run_two_a6000.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
+cd "${ROOT_DIR}"
+
+if [[ "${SKIP_SETUP:-0}" != "1" ]]; then
+ ./scripts/setup_env.sh
+fi
+
+if [[ -d "${VENV_DIR:-.venv}" ]]; then
+ source "${VENV_DIR:-.venv}/bin/activate"
+fi
+
+./scripts/run_two_a6000.sh