forked from merthidayetoglu/CommBench
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·28 lines (22 loc) · 786 Bytes
/
Copy pathrun.sh
File metadata and controls
executable file
·28 lines (22 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash -l
date
export OPAL_PREFIX=/opt/amazon/openmpi
ARG_TCP="--mca pml ^cm --mca btl tcp,self --mca btl_tcp_if_exclude lo,docker0"
ARG_OFI="-x LD_LIBRARY_PATH=/opt/aws-ofi-nccl/lib:$LD_LIBRARY_PATH"
# ARG_MPI="--display-map --display-allocation"
# rm debugfiles/*
# ARG_NCCL_DEBUG="-x NCCL_DEBUG=TRACE -x NCCL_DEBUG_FILE=filename.%h.%p -x NCCL_DEBUG_SUBSYS=ALL"
# ARG_NCCL="-x NCCL_NVLS_ENABLE=1" #"-x NCCL_LOCAL_REGISTER=1"
# count = 2^i, i_min <= i <= i_max
i_min=30
i_max=30
# window size
window=1
mpirun $ARG_TCP $ARG_OFI $ARG_MPI $ARG_NCCL $ARG_NCCL_DEBUG -np 16 -hostfile hostfile.txt ./CommBench $i_min $i_max $window
#export NCCL_DEBUG=INFO
#NCCL_CROSS_NIC=1
#NCCL_BUFFSIZE=8388608
#NCCL_P2P_NET_CHUNKSIZE=524288
#NCCL_CUMEM_ENABLE=0
#NCCL_SOCKET_IFNAME=eth0
date