24 lines
701 B
Bash
24 lines
701 B
Bash
#!/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
|