bake-regression.qsub 1.38 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash
#COBALT -n 2
#COBALT -t 20
#COBALT --mode script
#COBALT -A radix-io
#COBALT -q debug-cache-quad

# XXX xalt module currently eating '-M' flag for mercury-runner...disabling for now
# module unload xalt

module swap PrgEnv-intel PrgEnv-gnu
module load cce

. $SANDBOX/spack/share/spack/setup-env.sh
spack load -r ssg 
Philip Carns's avatar
bug fix  
Philip Carns committed
16
spack load -r bake
17 18 19

module list

Philip Carns's avatar
Philip Carns committed
20 21 22
# NOTE: rpath doesn't seem to be set correctly, and the paths we need are 
#  in LIBRARY_PATH instead of LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LIBRARY_PATH
23

Philip Carns's avatar
Philip Carns committed
24
echo "## Bake OFI/GNI:"
Philip Carns's avatar
Philip Carns committed
25
hostname
Philip Carns's avatar
Philip Carns committed
26 27
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
28
ls -alh /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
29
aprun -n 2 -N 1 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+gni://ipogif0:5000" -p /dev/shm/foo.dat -c 1 
30

Philip Carns's avatar
Philip Carns committed
31 32 33 34
echo "## Bake OFI/GNI (8x concurrency):"
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
aprun -n 2 -N 1 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+gni://ipogif0:5000" -p /dev/shm/foo.dat -c 8 
35

Philip Carns's avatar
Philip Carns committed
36 37 38 39
echo "## Bake OFI/GNI (Hg busy spin):"
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
aprun -n 2 -N 1 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+gni://ipogif0:5000" -p /dev/shm/foo.dat -c 1 -t 0,0
40

Philip Carns's avatar
Philip Carns committed
41 42 43 44
echo "## Bake OFI/GNI (8x concurrency, Hg busy spin):"
rm -f /dev/shm/foo.dat
bake-mkpool -s 60G /dev/shm/foo.dat
aprun -n 2 -N 1 ./bake-p2p-bw -x 16777216 -m 34359738368 -n "ofi+gni://ipogif0:5000" -p /dev/shm/foo.dat -c 8 -t 0,0
45