From 9c9746739ae9ca57791607ace03ed187fb435d33 Mon Sep 17 00:00:00 2001 From: Edgar Gabriel Date: Mon, 31 Oct 2022 19:01:22 +0000 Subject: [PATCH] add the rccl/lib directory to the link path --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index dd01c484f9..ea925ad3fc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -21,7 +21,7 @@ HIPLDFLAGS := ifneq ($(NCCL_HOME), "") HIPCUFLAGS += -I$(NCCL_HOME)/ -I$(NCCL_HOME)/include -HIPLDFLAGS += -Wl,-rpath,$(NCCL_HOME) -L$(NCCL_HOME) +HIPLDFLAGS += -Wl,-rpath,$(NCCL_HOME) -L$(NCCL_HOME) -L$(NCCL_HOME)/lib endif HIPCUFLAGS += -I$(ROCM_PATH)/include HIPCUFLAGS += -I$(ROCM_PATH)/include/hip