Add --unbuffered to batch configs

This commit is contained in:
Paul Brinkmeier 2024-01-05 18:16:32 +01:00
parent 5c2dcddf95
commit ac97d3094a
4 changed files with 5 additions and 8 deletions

View File

@ -27,6 +27,6 @@ source "${SOURCE_DIR}/activate-nastja-modules"
# However I'm leaving this here for documentation reasons
export CUDA_VISIBLE_DEVICES=0
srun "${SOURCE_DIR}/nastja/build-cuda/nastja" \
srun --unbuffered "${SOURCE_DIR}/nastja/build-cuda/nastja" \
-c "${SOURCE_DIR}/ma/experiments/configs/genesis.json" \
-o "${OUTPUT_DIR}"

View File

@ -9,7 +9,6 @@
#SBATCH --nodes=1
# Number of MPI processes
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
# For now, we are using a single GPU only
#SBATCH --gres=gpu:1
#SBATCH --time=01:00:00
@ -26,6 +25,6 @@ source "${SOURCE_DIR}/activate-nastja-modules"
# However I'm leaving this here for documentation reasons
export CUDA_VISIBLE_DEVICES=0
srun "${SOURCE_DIR}/nastja/build-cuda/nastja" \
srun --unbuffered "${SOURCE_DIR}/nastja/build-cuda/nastja" \
-c "${SOURCE_DIR}/ma/experiments/configs/genesis-singleblock.json" \
-o "${OUTPUT_DIR}"

View File

@ -21,6 +21,6 @@ OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/nocuda
mkdir -p "${OUTPUT_DIR}"
source "${SOURCE_DIR}/activate-nastja-modules"
srun "${SOURCE_DIR}/nastja/build-nocuda/nastja" \
srun --unbuffered "${SOURCE_DIR}/nastja/build-nocuda/nastja" \
-c "${SOURCE_DIR}/ma/experiments/configs/genesis.json" \
-o "${OUTPUT_DIR}"

View File

@ -9,9 +9,7 @@
#SBATCH --nodes=1
# Number of MPI processes
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
# For now, we are using a single GPU only
#SBATCH --time=01:00:00
#SBATCH --time=06:00:00
#SBATCH --output=logs/nocuda-singleblock-%j.log
#SBATCH --error=logs/nocuda-singleblock-%j.log
@ -21,6 +19,6 @@ OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/nocuda-singleblock
mkdir -p "${OUTPUT_DIR}"
source "${SOURCE_DIR}/activate-nastja-modules"
srun "${SOURCE_DIR}/nastja/build-nocuda/nastja" \
srun --unbuffered "${SOURCE_DIR}/nastja/build-nocuda/nastja" \
-c "${SOURCE_DIR}/ma/experiments/configs/genesis-singleblock.json" \
-o "${OUTPUT_DIR}"