-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbatch.sh
More file actions
executable file
·32 lines (28 loc) · 798 Bytes
/
Copy pathbatch.sh
File metadata and controls
executable file
·32 lines (28 loc) · 798 Bytes
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
#!/bin/env bash
declare here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
declare worker=20
declare nodes=8
declare ntasksOnNodes=2
declare ntasks=`expr ${ntasksOnNodes} \* ${nodes}`
ntasks=`expr ${ntasks} \* ${worker}`
ntasksOnNodes=`expr ${ntasksOnNodes} \* ${worker}`
set -x;
# rm -rf build-horizontal-split/ && \
# cmake -B build-horizontal-split \
# -DCMAKE_BUILD_TYPE=RelWithDebInfo \
# -DPRINT_PERF=FALSE \
# -DOPENMP:BOOL=TRUE -S horizontal-split && \
# cmake --build build-horizontal-split
# https://slurm.schedmd.com/mc_support.html
# --cpu-bind=
# 95GB
sbatch \
--account "" \
--cpus-per-task=1 \
--mem-per-cpu=90gb \
--nodes=${nodes} \
--ntasks=${ntasks} \
--ntasks-per-node=${ntasksOnNodes} \
--partition=cpu_dist \
--time=24:00:00 \
${here}/run.sh ${ntasks}