-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjobscript.sh
64 lines (53 loc) · 1.56 KB
/
jobscript.sh
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
#SBATCH -N 256
#SBATCH -C knl
#SBATCH -q regular
#SBATCH -J 25D_sparse_sddmm_testing
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH -t 02:00:00
#OpenMP settings:
export OMP_NUM_THREADS=1
export OMP_PLACES=threads
export OMP_PROC_BIND=spread
# Test increasing embedding sizes with several different replication
# factors
LOGM=24
NNZPERROW=32
echo "Testing with a single MPI Rank Per Node..."
for c in 1 4 16 64
do
srun -N 256 -n 256 -c 272 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done
# Test the impact of multiple MPI ranks on a single node
# (do multiple simultaneous broadcasts clog up the network?)
echo "Testing with 64 MPI ranks per node..."
for c in 1 4 16 64
do
srun -N 4 -n 256 -c 4 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done
echo "Testing with 32 MPI ranks per node..."
for c in 1 4 16 64
do
srun -N 8 -n 256 -c 8 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done
echo "Testing with 16 MPI ranks per node..."
for c in 1 4 16 64
do
srun -N 16 -n 256 -c 16 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done
echo "Testing with 8 MPI ranks per node..."
for c in 1 4 16 64
do
srun -N 32 -n 256 -c 32 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done
echo "Testing with 4 MPI ranks per node..."
for c in 1 4 16 64
do
srun -N 64 -n 256 -c 64 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done
echo "Testing with 2 MPI ranks per node..."
for c in 1 4 16 64
do
srun -N 128 -n 256 -c 128 --cpu_bind=cores ./25D_sparse $LOGM $NNZPERROW 512 $c
done