Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash -l
# Standard output and error:
#SBATCH -o ./tjob.out.%j
#SBATCH -e ./tjob.err.%j
# Initial working directory:
#SBATCH -D ./
# Job Name:
#SBATCH -J ml_bench
#
#
# Queue (Partition):
#SBATCH --partition=compute # nyx partitions: compute, highmem, gpu
#
# Number of nodes and MPI tasks per node:
#SBATCH --nodes=1
#SBATCH --tasks=1
#SBATCH --cpus-per-task=64
#SBATCH --exclusive
#
#SBATCH --mail-type=END,FAIL
#SBATCH --mail-user=blake.fitch@tuebingen.mpg.de
#
# Wall clock limit:
#SBATCH --time=01:00:00
module purge
module load singularity
export SINGULARITY_BIND="/ptmp,/scratch"
export SINGULARITYENV_MATLABPATH=$PWD
export MATLAB_CONTAINER_PATH=/ptmp/containers/matlab_r2021a-2021-05-10.sif
echo "Here we go..."
time ${MATLAB_CONTAINER_PATH} -nodesktop -nojvm -r "run('/home/bfitch/workflow-slurm-matlab/cpu_bench.m'); exit;"
echo " ... done."