2021-09-22 14:02:34 +01:00
|
|
|
#!/bin/bash
|
2022-05-17 17:08:12 +01:00
|
|
|
#SBATCH -A m3886_g
|
2021-09-22 14:02:34 +01:00
|
|
|
#SBATCH -C gpu
|
2022-05-17 17:08:12 +01:00
|
|
|
#SBATCH -q debug
|
2022-05-25 02:25:00 +01:00
|
|
|
#SBATCH -t 0:20:00
|
|
|
|
#SBATCH -c 32
|
|
|
|
#SBATCH -N 1
|
2022-05-17 17:08:12 +01:00
|
|
|
#SBATCH -n 4
|
2021-09-22 14:02:34 +01:00
|
|
|
#SBATCH --ntasks-per-node=4
|
|
|
|
#SBATCH --gpus-per-task=1
|
2022-05-25 02:25:00 +01:00
|
|
|
#SBATCH --exclusive
|
2022-05-17 17:08:12 +01:00
|
|
|
#SBATCH --gpu-bind=none
|
2021-09-22 14:02:34 +01:00
|
|
|
|
|
|
|
export SLURM_CPU_BIND="cores"
|
|
|
|
export MPICH_GPU_SUPPORT_ENABLED=1
|
2022-05-25 02:25:00 +01:00
|
|
|
export MPICH_RDMA_ENABLED_CUDA=1
|
|
|
|
export MPICH_GPU_IPC_ENABLED=1
|
2022-05-17 17:08:12 +01:00
|
|
|
export MPICH_GPU_EAGER_REGISTER_HOST_MEM=0
|
2022-05-25 02:25:00 +01:00
|
|
|
export MPICH_GPU_NO_ASYNC_MEMCPY=0
|
|
|
|
#export MPICH_SMP_SINGLE_COPY_MODE=CMA
|
|
|
|
|
2022-05-29 01:18:08 +01:00
|
|
|
OPT="--comms-sequential --shm-mpi 1"
|
|
|
|
VOL=64.64.64.64
|
2022-05-25 02:25:00 +01:00
|
|
|
srun ./benchmarks/Benchmark_dwf_fp32 --mpi 2.2.1.1 --grid $VOL --accelerator-threads 8 --shm 2048 $OPT
|
|
|
|
#srun ./benchmarks/Benchmark_dwf_fp32 --mpi 2.1.1.4 --grid $VOL --accelerator-threads 8 --shm 2048 $OPT
|
|
|
|
#srun ./benchmarks/Benchmark_dwf_fp32 --mpi 1.1.1.8 --grid $VOL --accelerator-threads 8 --shm 2048 $OPT
|
|
|
|
|