bake-regression.qsub 1.95 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
get_pmdk_lib_path() {
9
        module show `spack module tcl find pmdk` |&grep LIBRARY_PATH | awk '{print $3}'
10 11
}

12 13 14 15 16
export FI_FORK_UNSAFE=1

. $SANDBOX/spack/share/spack/setup-env.sh
spack load -r ssg 
spack load -r bake
17
spack load -r mvapich2
18 19 20

module list

21 22 23 24
# note, pmdk library not setting rpath correctly
LIB_PATH_HACK=$(get_pmdk_lib_path)
export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"

Philip Carns's avatar
Philip Carns committed
25 26
echo "### NOTE: ALL BAKE RESULTS BELOW are using 2nd socket on cooley nodes: cores 6-11"

27 28 29 30 31 32 33 34 35 36
echo "## Bake OFI/VERBS:"
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
mpirun -f $COBALT_NODEFILE -n 2 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+verbs;ofi_rxm://" -p /dev/shm/foo.dat -c 1 

echo "## Bake OFI/VERBS (8x concurrency):"
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
mpirun -f $COBALT_NODEFILE -n 2 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+verbs;ofi_rxm://" -p /dev/shm/foo.dat -c 8 

Philip Carns's avatar
Philip Carns committed
37
echo "## Bake OFI/VERBS (4 rpc es):"
38 39
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
40
mpirun -f $COBALT_NODEFILE -n 2 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+verbs;ofi_rxm://" -p /dev/shm/foo.dat -c 1 -r 4
41

Philip Carns's avatar
Philip Carns committed
42
echo "## Bake OFI/VERBS (8x concurrency, 4 rpc es):"
43 44
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
45
mpirun -f $COBALT_NODEFILE -n 2 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+verbs;ofi_rxm://" -p /dev/shm/foo.dat -c 8 -r 4
46

Philip Carns's avatar
Philip Carns committed
47
echo "## Bake OFI/VERBS (4 rpc es, pipelining):"
48 49
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
50
mpirun -f $COBALT_NODEFILE -n 2 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+verbs;ofi_rxm://" -p /dev/shm/foo.dat -c 1 -r 4 -i 
51

Philip Carns's avatar
Philip Carns committed
52
echo "## Bake OFI/VERBS (8x concurrency, 4 rpc es, pipelining):"
53 54
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
55
mpirun -f $COBALT_NODEFILE -n 2 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+verbs;ofi_rxm://" -p /dev/shm/foo.dat -c 8 -r 4 -i
56