... | ... | @@ -24,8 +24,35 @@ with the following optional options (default values in parathesis): |
|
|
-o/--output VAL output file name (pingpong_results_bin.sion)
|
|
|
|
|
|
```
|
|
|
exampleRun.sh showcases the execution assuming the build procedure used exampleBuild.sh
|
|
|
The transport layer is usually given through the --mode option. In rare cases where this doesn't work, you can fall back to the linktest.LAYER executables, and/or set the environment variable `LINKTEST_VCLUSTER_IMPL`.
|
|
|
|
|
|
The arguments num-warmup-messages, num-messages & size-messages are required. The transport layer is usually given through the --mode option. In rare cases where this doesn't work, you can fall back to the linktest.LAYER executables, and/or set the environment variable `LINKTEST_VCLUSTER_IMPL`.
|
|
|
|
|
|
```
|
|
|
# Option 1: Using mode to specify the virtual-cluster implementation
|
|
|
srun \
|
|
|
--ntasks 4 \
|
|
|
./linktest \
|
|
|
--mode mpi \
|
|
|
--num-warmup-messages 10 \
|
|
|
--num-messages 100 \
|
|
|
--size-messages $((16*1024*1024));
|
|
|
# Option 2: Using a linktest executable with a suffix
|
|
|
srun \
|
|
|
--ntasks 4 \
|
|
|
./linktest.mpi \
|
|
|
--num-warmup-messages 10 \
|
|
|
--num-messages 100 \
|
|
|
--size-messages $((16*1024*1024));
|
|
|
|
|
|
# Option 3: Using the LINKTEST_VCLUSTER_IMPL enviroment variable
|
|
|
export LINKTEST_VCLUSTER_IMPL=mpi;
|
|
|
srun \
|
|
|
--ntasks 4 \
|
|
|
./linktest \
|
|
|
--num-warmup-messages 10 \
|
|
|
--num-messages 100 \
|
|
|
--size-messages $((16*1024*1024));
|
|
|
```
|
|
|
|
|
|
Except for the MPI and the node-internal CUDA transport layer, all layers utilize the TCP sockets implementation underneath for setup and exchange of data in non-benchmark code segments. The TCP layer implementation uses a lookup of the hostname of the node to determine the IPs for the initial connection setup. There are currently only limited methods to customize this behavior. The code supports the option to set `LINKTEST_SYSTEM_NODENAME_SUFFIX` as a suffix to be added to the short hostname. For example, on JSC systems, `LINKTEST_SYSTEM_NODENAME_SUFFIX=i` may need to be exported to make sure the out-of-band connection setup is done via the IPoIB network.
|
|
|
|
... | ... | |