90 lines
3.4 KiB
Bash
Executable File
90 lines
3.4 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# default 1 Node
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v
|
|
|
|
# small N, K, large H, W, R, S
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 3 3 256 256 3 128 128
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 3 3 256 256 3 128 128
|
|
|
|
# small H, W, R, S, large N, K
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 128 128 8 8 64 8 8
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 128 128 8 8 64 8 8
|
|
|
|
# Odd N
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 5 4 64 64 4 16 16
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 5 4 64 64 4 16 16
|
|
|
|
# Odd C
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 5 64 64 4 16 16
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 5 64 64 4 16 16
|
|
|
|
# Odd H W
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 2 127 67 4 16 16
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 2 127 67 4 16 16
|
|
|
|
# Odd K
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 2 64 64 7 16 16
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 2 64 64 7 16 16
|
|
|
|
# Odd R, S
|
|
salloc -N 1 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 2 64 64 7 13 21
|
|
|
|
salloc -N 2 --exclusive \
|
|
mpirun --bind-to none -mca btl ^openib -npernode 1 \
|
|
numactl --physcpubind 0-39 \
|
|
./main -v -p 0 -d 1 -s 1 4 2 64 64 7 13 21
|