Add --unbuffered to batch configs
This commit is contained in:
parent
5c2dcddf95
commit
ac97d3094a
@ -27,6 +27,6 @@ source "${SOURCE_DIR}/activate-nastja-modules"
|
|||||||
# However I'm leaving this here for documentation reasons
|
# However I'm leaving this here for documentation reasons
|
||||||
export CUDA_VISIBLE_DEVICES=0
|
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" \
|
-c "${SOURCE_DIR}/ma/experiments/configs/genesis.json" \
|
||||||
-o "${OUTPUT_DIR}"
|
-o "${OUTPUT_DIR}"
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#SBATCH --nodes=1
|
#SBATCH --nodes=1
|
||||||
# Number of MPI processes
|
# Number of MPI processes
|
||||||
#SBATCH --ntasks=1
|
#SBATCH --ntasks=1
|
||||||
#SBATCH --cpus-per-task=1
|
|
||||||
# For now, we are using a single GPU only
|
# For now, we are using a single GPU only
|
||||||
#SBATCH --gres=gpu:1
|
#SBATCH --gres=gpu:1
|
||||||
#SBATCH --time=01:00:00
|
#SBATCH --time=01:00:00
|
||||||
@ -26,6 +25,6 @@ source "${SOURCE_DIR}/activate-nastja-modules"
|
|||||||
# However I'm leaving this here for documentation reasons
|
# However I'm leaving this here for documentation reasons
|
||||||
export CUDA_VISIBLE_DEVICES=0
|
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" \
|
-c "${SOURCE_DIR}/ma/experiments/configs/genesis-singleblock.json" \
|
||||||
-o "${OUTPUT_DIR}"
|
-o "${OUTPUT_DIR}"
|
||||||
|
@ -21,6 +21,6 @@ OUTPUT_DIR=/p/scratch/cellsinsilico/paul/nastja-out/nocuda
|
|||||||
mkdir -p "${OUTPUT_DIR}"
|
mkdir -p "${OUTPUT_DIR}"
|
||||||
source "${SOURCE_DIR}/activate-nastja-modules"
|
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" \
|
-c "${SOURCE_DIR}/ma/experiments/configs/genesis.json" \
|
||||||
-o "${OUTPUT_DIR}"
|
-o "${OUTPUT_DIR}"
|
||||||
|
@ -9,9 +9,7 @@
|
|||||||
#SBATCH --nodes=1
|
#SBATCH --nodes=1
|
||||||
# Number of MPI processes
|
# Number of MPI processes
|
||||||
#SBATCH --ntasks=1
|
#SBATCH --ntasks=1
|
||||||
#SBATCH --cpus-per-task=1
|
#SBATCH --time=06:00:00
|
||||||
# For now, we are using a single GPU only
|
|
||||||
#SBATCH --time=01:00:00
|
|
||||||
#SBATCH --output=logs/nocuda-singleblock-%j.log
|
#SBATCH --output=logs/nocuda-singleblock-%j.log
|
||||||
#SBATCH --error=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}"
|
mkdir -p "${OUTPUT_DIR}"
|
||||||
source "${SOURCE_DIR}/activate-nastja-modules"
|
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" \
|
-c "${SOURCE_DIR}/ma/experiments/configs/genesis-singleblock.json" \
|
||||||
-o "${OUTPUT_DIR}"
|
-o "${OUTPUT_DIR}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user