From 0ce41e5654099f2780d345cbe3d01bdc5853d93e Mon Sep 17 00:00:00 2001 From: "Kasper D. Fischer" Date: Thu, 20 Mar 2025 11:27:46 +0100 Subject: [PATCH] Change resource limits and logging paths in submit_bot.sh - Update h_vmem limit to 2.5G - Add mem limit of 2.5G - Set h_stack to INFINITY - Change output log path to /data/www/~kasper/survBot/survBot_bg.log - Change error log path to /data/www/~kasper/survBot/survBot_bg.err - Enable email notifications for errors - Update HTML output directory path --- submit_bot.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/submit_bot.sh b/submit_bot.sh index 7b1f724..18a6cf1 100755 --- a/submit_bot.sh +++ b/submit_bot.sh @@ -1,19 +1,24 @@ #!/bin/bash -ulimit -s 8192 #$ -l low -#$ -l h_vmem=5G +#$ -l h_vmem=2.5G +#$ -l mem=2.5G +#$ -l h_stack=INFINITY #$ -cwd #$ -pe smp 1 -#$ -N survBot_bg -#$ -l os=*stretch +#$ -binding linear:1 +#$ -N survBot +#$ -o /data/www/~kasper/survBot/survBot_bg.log +#$ -e /data/www/~kasper/survBot/survBot_bg.err +#$ -m e +#$ -M kasper.fischer@rub.de source /opt/anaconda3/etc/profile.d/conda.sh -conda activate py37 +conda activate survBot # environment variables for numpy to prevent multi threading export MKL_NUM_THREADS=1 export NUMEXPR_NUM_THREADS=1 export OMP_NUM_THREADS=1 -python survBot.py -html '/data/www/~marcel/' +python survBot.py -html '/data/www/~kasper/survBot'