margo-regression.qsub 3.09 KB
Newer Older
1
2
3
4
5
6
7
#!/bin/bash
#COBALT -n 2
#COBALT -t 20
#COBALT --mode script
#COBALT -A radix-io
#COBALT -q ibleaf3-debug

8
export HOME=$SANDBOX
9
10
11
export FI_FORK_UNSAFE=1

. $SANDBOX/spack/share/spack/setup-env.sh
Philip Carns's avatar
Philip Carns committed
12
BAKE_STABLE_VER=`spack find bake |grep bake |grep -v file-backend`
13
spack load -r ssg 
Philip Carns's avatar
Philip Carns committed
14
15
spack load -r $BAKE_STABLE_VER
spack load -r mvapich2
16
17
18
19
20
21

module list

# echo "## MPI (one way, double the latency for round trip):"
# mpirun -f $COBALT_NODEFILE -n 2 ./osu_latency

22
23
echo "### NOTE: all benchmarks are using numactl to keep processes on socket 1"

24
25
26
sleep 1

echo "## Margo OFI/VERBS (round trip):"
27
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-latency -i 100000 -n "ofi+verbs;ofi_rxm://"
28
echo "## Margo OFI/VERBS (bw, 1MiB):"
29
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1048576 -n "ofi+verbs;ofi_rxm://" -c 1 -D 20
30
echo "## Margo OFI/VERBS (bw, 1MiB, 8x concurrency):"
31
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1048576 -n "ofi+verbs;ofi_rxm://" -c 8 -D 20
32
echo "## Margo OFI/VERBS (bw, 8MiB):"
33
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 8388608 -n "ofi+verbs;ofi_rxm://" -c 1 -D 20
34
echo "## Margo OFI/VERBS (bw, 8MiB, 8x concurrency):"
35
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 8388608 -n "ofi+verbs;ofi_rxm://" -c 8 -D 20
36
echo "## Margo OFI/VERBS (bw, 1MB unaligned):"
37
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1000000 -n "ofi+verbs;ofi_rxm://" -c 1 -D 20
38
echo "## Margo OFI/VERBS (bw, 1MB unaligned, 8x concurrency):"
39
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1000000 -n "ofi+verbs;ofi_rxm://" -c 8 -D 20
40

41
42
43
sleep 1 

echo "## Margo OFI/VERBS (round trip, Hg busy spin):"
44
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-latency -i 100000 -n "ofi+verbs;ofi_rxm://mlx5_0:3339" -t 0,0
45
echo "## Margo OFI/VERBS (bw, 1MiB, Hg busy spin):"
46
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1048576 -n "ofi+verbs;ofi_rxm://mlx5_0:3339" -c 1 -D 20 -t 0,0
47
echo "## Margo OFI/VERBS (bw, 1MiB, 8x concurrency, Hg busy spin):"
48
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1048576 -n "ofi+verbs;ofi_rxm://mlx5_0:3339" -c 8 -D 20 -t 0,0
49
echo "## Margo OFI/VERBS (bw, 8MiB, Hg busy spin):"
50
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 8388608 -n "ofi+verbs;ofi_rxm://" -c 1 -D 20 -t 0,0
51
echo "## Margo OFI/VERBS (bw, 8MiB, 8x concurrency, Hg busy spin):"
52
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 8388608 -n "ofi+verbs;ofi_rxm://" -c 8 -D 20 -t 0,0
53
echo "## Margo OFI/VERBS (bw, 1MB unaligned, Hg busy spin):"
54
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1000000 -n "ofi+verbs;ofi_rxm://" -c 1 -D 20 -t 0,0
55
echo "## Margo OFI/VERBS (bw, 1MB unaligned, 8x concurrency, Hg busy spin):"
56
mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./margo-p2p-bw -x 1000000 -n "ofi+verbs;ofi_rxm://" -c 8 -D 20 -t 0,0
57

58

59
60

# echo "## Mercury-runner CCI/VERBS (round trip):"
61
# mpirun -f $COBALT_NODEFILE -n 2 numactl -N 1 -m 1 ./mercury-runner -q -c 100000 -l 1 -m c -M -d `pwd` 1 h0=verbs;ofi_rxm:// h1