diff options
Diffstat (limited to 'run_two_a6000_72h.sbatch')
| -rw-r--r-- | run_two_a6000_72h.sbatch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/run_two_a6000_72h.sbatch b/run_two_a6000_72h.sbatch new file mode 100644 index 0000000..ca9fb64 --- /dev/null +++ b/run_two_a6000_72h.sbatch @@ -0,0 +1,41 @@ +#!/bin/bash +#SBATCH --job-name=rrog-gnn-2xa6000 +#SBATCH --output=slurm-rrog-gnn-%j.out +#SBATCH --error=slurm-rrog-gnn-%j.err +#SBATCH --time=72:00:00 +#SBATCH --account=orion +#SBATCH --partition=orion +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=1 +#SBATCH --gres=gpu:a6000:2 +#SBATCH --cpus-per-task=16 +#SBATCH --mem=128G + +set -euo pipefail + +ROOT_DIR="${ROOT_DIR:-/orion/u/oscarwan/rrog-gnn-runner}" +cd "${ROOT_DIR}" + +echo "Host: $(hostname)" +echo "Job ID: ${SLURM_JOB_ID:-local}" +echo "Workdir: $(pwd)" +echo "CUDA_VISIBLE_DEVICES=${CUDA_VISIBLE_DEVICES:-unset}" +echo "SKIP_SETUP=${SKIP_SETUP:-0}" +echo "ZINC_DEVICE=${ZINC_DEVICE:-cuda:0}" +echo "OGB_DEVICE=${OGB_DEVICE:-cuda:1}" +echo "ZINC_EPOCHS=${ZINC_EPOCHS:-200}" +echo "OGB_EPOCHS=${OGB_EPOCHS:-100}" +echo "OGB_TASK=${OGB_TASK:-ogbg-molhiv}" +echo "SEED=${SEED:-0}" + +nvidia-smi + +[[ -x ./scripts/setup_and_run_two_a6000.sh ]] || { + echo "FATAL: missing executable ./scripts/setup_and_run_two_a6000.sh" + exit 1 +} + +# This intentionally delegates to the repository's one-command runner unchanged. +# Override repo-supported options with sbatch --export, e.g.: +# sbatch --export=ALL,SKIP_SETUP=1 run_two_a6000_72h.sbatch +./scripts/setup_and_run_two_a6000.sh |
