mirror of
https://github.com/microsoft/mscclpp.git
synced 2026-05-13 01:36:10 +00:00
12 lines
333 B
Bash
Executable File
12 lines
333 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -lt 2 ]; then
|
|
echo "Usage: $0 <test_name> <np> [test_args]"
|
|
exit 1
|
|
fi
|
|
test_name=$1
|
|
np=$2
|
|
shift 2 # Pass the rest of the arguments to the test
|
|
|
|
mpirun --bind-to numa --tag-output -x MSCCLPP_DEBUG=INFO -x LD_LIBRARY_PATH=@CMAKE_BINARY_DIR@:$LD_LIBRARY_PATH -np $np @CMAKE_CURRENT_BINARY_DIR@/$test_name $@
|