#!/usr/bin/env bash

#SBATCH --job-name=nocuda-singleblock
# Forschergruppe Schug
#SBATCH --account=hkf6
# 48 Cores, 512GiB RAM, 4x NVIDIA A100 GPUs
#SBATCH --partition=booster
# Right now we're using a single node
#SBATCH --nodes=1
# Number of MPI processes
#SBATCH --ntasks=1
#SBATCH --time=06:00:00
#SBATCH --output=logs/nocuda-singleblock-%j.log
#SBATCH --error=logs/nocuda-singleblock-%j.log

SOURCE_DIR=/p/project/cellsinsilico/paulslustigebude
OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/nocuda-singleblock

mkdir -p "${OUTPUT_DIR}"
source "${SOURCE_DIR}/activate-nastja-modules"

srun --unbuffered "${SOURCE_DIR}/nastja/build-nocuda/nastja" \
  -c "${SOURCE_DIR}/ma/experiments/configs/genesis-singleblock.json" \
  -o "${OUTPUT_DIR}"
