pmdk-regression.sbatch 1.26 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash
#SBATCH -N 1
#SBATCH -A startup-carns
#SBATCH --ntasks-per-node=1
#SBATCH --time=15:00
#SBATCH -p bdwall

# example of running benchmarks with spack-compiled software stack

export LMOD_PAGER=none

module load numactl boost cmake

Philip Carns's avatar
Philip Carns committed
14
. $SANDBOX/spack/share/spack/setup-env.sh
15

Philip Carns's avatar
Philip Carns committed
16 17
spack load -r mochi-ssg
spack load -r mochi-bake
18

Rob Latham's avatar
Rob Latham committed
19
spack find --loaded
20

Philip Carns's avatar
Philip Carns committed
21 22
# make sure that MPI and libfabric can share PSM2
export PSM2_MULTI_EP=1
23 24 25 26 27

echo "## PMDK (8x concurrency):"
rm -f /dev/shm/foo.dat
truncate -s 60G /dev/shm/foo.dat
pmempool create obj /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
28
./pmdk-bw -x 16777216 -m 34359738368 -p /dev/shm/foo.dat -c 8
29 30 31 32 33

echo "## PMDK (8x concurrency, 8 es):"
rm -f /dev/shm/foo.dat
truncate -s 60G /dev/shm/foo.dat
pmempool create obj /dev/shm/foo.dat
Philip Carns's avatar
Philip Carns committed
34
./pmdk-bw -x 16777216 -m 34359738368 -p /dev/shm/foo.dat -c 8 -T 8
35 36 37 38 39 40 41 42 43 44 45 46

echo "## PMDK (8x concurrency, preallocated pool):"
rm -f /dev/shm/foo.dat
dd if=/dev/zero of=/dev/shm/foo.dat bs=1M count=61440
pmempool create obj /dev/shm/foo.dat
./pmdk-bw -x 16777216 -m 34359738368 -p /dev/shm/foo.dat -c 8

echo "## PMDK (8x concurrency, 8 es, preallocated pool):"
rm -f /dev/shm/foo.dat
dd if=/dev/zero of=/dev/shm/foo.dat bs=1M count=61440
pmempool create obj /dev/shm/foo.dat
./pmdk-bw -x 16777216 -m 34359738368 -p /dev/shm/foo.dat -c 8 -T 8