#!/bin/bash # example for usage on a cluster # submit from project directory !!! #$ -S /bin/bash #$ -N jobname_triallength #$ -q target_queue.q #$ -cwd #$ -o ./log/ #$ -j y export OPENBLAS_NUM_THREADS=1 export MKL_NUM_THREADS=1 export NUMEXPR_NUM_THREADS=1 export OMP_NUM_THREADS=1 export NUMBA_NUM_THREADS=1 # notify "started $JOB_NAME.$TASK_ID.$JOB_ID" printf "\n------------------------------------------------------------------\n" date echo "/scratch/nst/anaconda3/bin/python -u ./run/triallength.py ${SGE_TASK_ID}" /scratch/nst/anaconda3/bin/python -u ./run/triallength.py $SGE_TASK_ID date printf "\n------------------------------------------------------------------\n" # notify "finished $JOB_NAME.$TASK_ID.$JOB_ID"