From 3ff9e1617cdd91e0168f0afcbcd243a8f91cfe94 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Fri, 11 Nov 2022 08:37:34 +0000 Subject: [PATCH] Fix cuda support detection when passed UCX_DIR --- packages/mpi/openmpi/openmpi-4.1.4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mpi/openmpi/openmpi-4.1.4 b/packages/mpi/openmpi/openmpi-4.1.4 index cdd83a7..a23c53d 100755 --- a/packages/mpi/openmpi/openmpi-4.1.4 +++ b/packages/mpi/openmpi/openmpi-4.1.4 @@ -50,7 +50,7 @@ fi if [ ! -z $CUDA_DIR ] ; then [ -z "$UCX_DIR" ] && sit_fail "Have to be configured with external UCX" - ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support" + $UCX_DIR/bin/ucx_info -b | grep -e "HAVE_CUDA *1" >/dev/null || sit_fail "UCX must be built with CUDA support" CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR" fi