1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00
Grid/systems/Summit/dwf16.lsf

40 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2021-10-05 19:56:17 +01:00
#!/bin/bash
#BSUB -P LGT104
2022-06-16 00:19:44 +01:00
#BSUB -W 0:20
2021-10-06 02:22:10 +01:00
#BSUB -nnodes 16
2021-10-05 19:56:17 +01:00
#BSUB -J DWF
2022-06-16 00:19:44 +01:00
2021-10-05 19:56:17 +01:00
export OMP_NUM_THREADS=6
export PAMI_IBV_ADAPTER_AFFINITY=1
export PAMI_ENABLE_STRIPING=1
2022-06-16 00:19:44 +01:00
DIR=.
source sourceme.sh
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
echo MPICH_SMP_SINGLE_COPY_MODE $MPICH_SMP_SINGLE_COPY_MODE
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
VOLS=( 32.32.32.16 32.32.32.64 64.32.32.64 64.32.64.64 64.64.64.64 64.64.64.128 64.64.64.256 64.64.64.512 128.64.64.64.512)
MPI=( 1.1.1.1 1.1.1.4 2.1.1.4 2.1.2.4 2.2.2.4 2.2.2.8 2.2.2.16 2.2.2.32 4.4.2.32 )
RANKS=( 1 4 8 16 32 64 128 256 1024)
NODES=( 1 1 2 4 8 16 32 64 128)
INTS=( 0 1 2 3 4 5 6 7 8)
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
for i in 5
do
vol=${VOLS[$i]}
nodes=${NODES[$i]}
mpi=${MPI[$i]}
ranks=${RANKS[$i]}
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
JSRUN="jsrun --nrs $nodes -a4 -g4 -c42 -dpacked -b packed:10 --latency_priority gpu-cpu --smpiargs=-gpu"
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
PARAMS=" --accelerator-threads 8 --grid $vol --mpi $mpi --comms-sequential --shm 2048 --shm-mpi 0"
$JSRUN ./benchmarks/Benchmark_dwf_fp32 $PARAMS > run.v${vol}.n${nodes}.m${mpi}.seq.ker
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
PARAMS=" --accelerator-threads 8 --grid $vol --mpi $mpi --comms-overlap --shm 2048 --shm-mpi 0"
$JSRUN ./benchmarks/Benchmark_dwf_fp32 $PARAMS > run.v${vol}.n${nodes}.m${mpi}.over.ker
2021-10-05 19:56:17 +01:00
2022-06-16 00:19:44 +01:00
done
2021-10-05 19:56:17 +01:00