Files
mscclpp/test/run_mpi_test.sh.in
2023-05-16 16:16:00 -07:00

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 $@