Skip to content

Commit d2eadc7

Browse files
committed
add extra output to stderr as requested by @chillenzer
1 parent 018fd29 commit d2eadc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/cuda_memtest.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ output=`cuda_memtest --disable_all --device $host_rank $enable_gpu_tests --num_p
4040
if [ $? -ne 0 ] ; then
4141
host_name=`hostname`
4242
if [ ! -d "$old_path" ]; then
43-
echo "Error: $0 did not find directory: $old_path (on host: $host_name with rank: $host_rank)" >&2
43+
echo "Error: $0 did not find directory: $old_path (on host: $host_name with rank: $host_rank)" >&2
44+
echo "error message of memtest is:" >&2
45+
echo -e "$output" >&2
4446
exit 2
4547
else
4648
echo -e "$output" > $old_path/cuda_memtest_"$host_name"_"$host_rank".err

0 commit comments

Comments
 (0)