File size: 348 Bytes
9fc0ed7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
set -euo pipefail

cd /workspace/pcmt
mkdir -p runs
source /venv/main/bin/activate || true

for wait_pid in "$@"; do
  if [ -z "${wait_pid}" ]; then
    continue
  fi
  while kill -0 "${wait_pid}" 2>/dev/null; do
    echo "[followup] waiting for pid=${wait_pid}"
    sleep 60
  done
done

bash scripts/run_long_benchmark_gpu.sh