Add new batch files

This commit is contained in:
2023-12-13 14:07:12 +01:00
parent 926ed90da4
commit c7d4a50a85
6 changed files with 173 additions and 6 deletions
+2 -2
View File
@@ -8,8 +8,8 @@
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=48
#SBATCH --time=01:00:00
#SBATCH --output=build-cuda-%j.out
#SBATCH --error=build-cuda-%j.err
#SBATCH --output=logs/build-cuda-%j.log
#SBATCH --error=logs/build-cuda-%j.log
SOURCE_DIR=/p/project/cellsinsilico/paulslustigebude
+2 -2
View File
@@ -8,8 +8,8 @@
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=48
#SBATCH --time=01:00:00
#SBATCH --output=build-nocuda-%j.out
#SBATCH --error=build-nocuda-%j.err
#SBATCH --output=logs/build-nocuda-%j.log
#SBATCH --error=logs/build-nocuda-%j.log
SOURCE_DIR=/p/project/cellsinsilico/paulslustigebude
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
#SBATCH --job-name=cuda
# 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
# TODO: Change the config and set to this the maximum of 48
#SBATCH --ntasks-per-node=16
#SBATCH --cpus-per-task=1
# For now, we are using a single GPU only
#SBATCH --gres=gpu:1
#SBATCH --time=01:00:00
#SBATCH --output=logs/cuda-%j.log
#SBATCH --error=logs/cuda-%j.log
SOURCE_DIR=/p/project/cellsinsilico/paulslustigebude
OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/cuda
mkdir -p "${OUTPUT_DIR}"
source "${SOURCE_DIR}/activate-nastja-modules"
# This is actually the default behavior for a single task anyways
# However I'm leaving this here for documentation reasons
export CUDA_VISIBLE_DEVICES=0
srun "${SOURCE_DIR}/nastja/build-cuda/nastja" \
-c "${SOURCE_DIR}/ma/experiments/configs/genesis.json" \
-o "${OUTPUT_DIR}"
+2 -2
View File
@@ -12,8 +12,8 @@
#SBATCH --ntasks-per-node=16
#SBATCH --cpus-per-task=1
#SBATCH --time=01:00:00
#SBATCH --output=nocuda-%j.out
#SBATCH --error=nocuda-%j.err
#SBATCH --output=logs/nocuda-%j.log
#SBATCH --error=logs/nocuda-%j.log
SOURCE_DIR=/p/project/cellsinsilico/paulslustigebude
OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/nocuda
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env bash
#SBATCH --job-name=nocuda-noecm
# 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
# TODO: Change the config and set to this the maximum of 48
#SBATCH --ntasks-per-node=16
#SBATCH --cpus-per-task=1
#SBATCH --time=01:00:00
#SBATCH --output=logs/nocuda-noecm-%j.log
#SBATCH --error=logs/nocuda-noecm-%j.log
SOURCE_DIR=/p/project/cellsinsilico/paulslustigebude
OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/nocuda-noecm
mkdir -p "${OUTPUT_DIR}"
source "${SOURCE_DIR}/activate-nastja-modules"
srun "${SOURCE_DIR}/nastja/build-nocuda/nastja" \
-c "${SOURCE_DIR}/ma/experiments/configs/genesis-noecm.json" \
-o "${OUTPUT_DIR}"