2022-02-14 20:09:08 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Begin LSF Directives
|
|
|
|
#SBATCH -A LGT104
|
|
|
|
#SBATCH -t 01:00:00
|
|
|
|
##SBATCH -U openmpThu
|
|
|
|
#SBATCH -J DWF
|
|
|
|
#SBATCH -o DWF.%J
|
|
|
|
#SBATCH -e DWF.%J
|
|
|
|
#SBATCH -N 1
|
2022-06-16 00:18:58 +01:00
|
|
|
#SBATCH -n 2
|
|
|
|
#SBATCH --gpu-bind=map_gpu:0,1
|
2022-02-14 20:09:08 +00:00
|
|
|
|
|
|
|
DIR=.
|
2022-06-16 00:18:58 +01:00
|
|
|
source setup.sh
|
|
|
|
|
|
|
|
export MPICH_OFI_NIC_POLICY=GPU
|
2022-02-14 20:09:08 +00:00
|
|
|
export MPIR_CVAR_GPU_EAGER_DEVICE_MEM=0
|
|
|
|
export MPICH_GPU_SUPPORT_ENABLED=1
|
2022-06-16 00:18:58 +01:00
|
|
|
export OMP_NUM_THREADS=16
|
2022-02-14 20:09:08 +00:00
|
|
|
|
|
|
|
echo MPICH_SMP_SINGLE_COPY_MODE $MPICH_SMP_SINGLE_COPY_MODE
|
2022-02-14 22:55:16 +00:00
|
|
|
|
2022-06-16 00:18:58 +01:00
|
|
|
srun --gpus-per-task 1 -N1 -n2 ./benchmarks/Benchmark_dwf_fp32 --mpi 1.1.1.2 --grid 16.16.32.64 --shm-mpi 1 --shm 2048 --comms-sequential --accelerator-threads 8
|
2022-02-14 22:55:16 +00:00
|
|
|
|
2022-02-14 20:09:08 +00:00
|
|
|
|