slurm submission script

This commit is contained in:
2023-05-16 16:36:40 +02:00
parent ad37234371
commit 2c865d7fe2

23
job_submission_01_week.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash -l
#SBATCH --job-name=$extract_stl_for_blender
#SBATCH --time=6:00:00
#SBATCH --nodes=1
#SBATCH --cpus-per-task=16
#SBATCH --mem=128G
#SBATCH -p week
# Activate conda env
export PYTHONPATH=''
#eval "$(/store/empa/em13/fischer/lib/miniconda3/bin/conda shell.bash hook)"
#conda activate membrane_fingering
eval "$(/das/home/fische_r/miniconda3/bin/conda shell.bash hook)"
conda activate base
# debugging flags (optional)
# export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
# Execute command in the container, ipython for debugging to avoid defaul python, change back to python eventually
# srun python -u train_random.py $ARGS
srun python -u ~/lib/tomcat-blender/01_extract_surfaces.py -s $1