2024-05-07 19:38:15 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-09-17 14:34:27 +01:00
|
|
|
#PBS -q EarlyAppAccess
|
2024-05-07 19:38:15 +01:00
|
|
|
#PBS -l select=1
|
|
|
|
#PBS -l walltime=00:20:00
|
|
|
|
#PBS -A LatticeQCD_aesp_CNDA
|
|
|
|
|
|
|
|
cd $PBS_O_WORKDIR
|
|
|
|
|
|
|
|
source ../sourceme.sh
|
|
|
|
|
2024-09-23 10:43:50 +01:00
|
|
|
cp $PBS_NODEFILE nodefile
|
2024-05-07 19:38:15 +01:00
|
|
|
|
|
|
|
export OMP_NUM_THREADS=4
|
|
|
|
export MPIR_CVAR_CH4_OFI_ENABLE_GPU_PIPELINE=1
|
2024-09-23 10:43:50 +01:00
|
|
|
unset MPIR_CVAR_CH4_OFI_GPU_PIPELINE_D2H_ENGINE_TYPE
|
|
|
|
unset MPIR_CVAR_CH4_OFI_GPU_PIPELINE_H2D_ENGINE_TYPE
|
|
|
|
unset MPIR_CVAR_GPU_USE_IMMEDIATE_COMMAND_LIST
|
2024-05-07 19:38:15 +01:00
|
|
|
#export MPIR_CVAR_CH4_OFI_GPU_PIPELINE_D2H_ENGINE_TYPE=0
|
|
|
|
#export MPIR_CVAR_CH4_OFI_GPU_PIPELINE_H2D_ENGINE_TYPE=0
|
|
|
|
#export MPIR_CVAR_GPU_USE_IMMEDIATE_COMMAND_LIST=1
|
2024-09-23 10:43:50 +01:00
|
|
|
export MPIR_CVAR_CH4_OFI_GPU_PIPELINE_BUFFER_SZ=1048576
|
|
|
|
export MPIR_CVAR_CH4_OFI_GPU_PIPELINE_THRESHOLD=131072
|
|
|
|
export MPIR_CVAR_CH4_OFI_GPU_PIPELINE_NUM_BUFFERS_PER_CHUNK=16
|
|
|
|
export MPIR_CVAR_CH4_OFI_GPU_PIPELINE_MAX_NUM_BUFFERS=16
|
2024-05-07 19:38:15 +01:00
|
|
|
export MPICH_OFI_NIC_POLICY=GPU
|
|
|
|
|
|
|
|
CMD="mpiexec -np 12 -ppn 12 -envall \
|
2024-09-23 10:43:50 +01:00
|
|
|
./Benchmark_dwf_fp32 --mpi 2.1.2.3 --grid 32.32.64.48 \
|
|
|
|
--shm-mpi 1 --shm 2048 --device-mem 32000 --accelerator-threads 32 --debug-signals"
|
|
|
|
|
|
|
|
#for f in 1 2 3 4 5 6 7 8
|
|
|
|
for f in 1
|
|
|
|
do
|
|
|
|
echo $CMD
|
|
|
|
$CMD | tee 1node.32.32.64.48.dwf.hbm.$f
|
|
|
|
done
|
2024-05-07 19:38:15 +01:00
|
|
|
|