From e3f9e281f1a03abf983b81e1a1804ef7214dee6b Mon Sep 17 00:00:00 2001 From: Wenkai Du Date: Mon, 19 Oct 2020 14:43:01 -0700 Subject: [PATCH] Fix mpich linking option --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index f4e1f805c0..8b33b66b13 100644 --- a/src/Makefile +++ b/src/Makefile @@ -48,7 +48,7 @@ HIPCUFLAGS += -DMPI_SUPPORT -I${MPI_HOME}/include -I${MPI_HOME}/include/mpi HIPLDFLAGS += -L${MPI_HOME}/lib -lmpi else ifeq ($(MPICH), 1) HIPCUFLAGS += -DMPI_SUPPORT -I/usr/include/mpich -HIPLDFLAGS += -L/usr/lib -lmpi +HIPLDFLAGS += -L/usr/lib -lmpich endif LIBRARIES += rccl