enable building with mpich

Use following command to build: MPICH=1 make


[ROCm/rccl-tests commit: 86f053be84]
此提交包含在:
Wenkai Du
2019-05-13 23:45:28 +00:00
父節點 e9b2bd3c6f
當前提交 514e912b49
+4
查看文件
@@ -44,7 +44,11 @@ endif
ifeq ($(MPI), 1)
HIPCUFLAGS += -DMPI_SUPPORT -I${MPI_HOME}/include
HIPLDFLAGS += -L${MPI_HOME}/lib -lmpi
else ifeq($(MPICH), 1)
HIPCUFLAGS += -DMPI_SUPPORT -I/usr/include/mpich
HIPLDFLAGS += -L/usr/lib -lmpi
endif
LIBRARIES += rccl
HIPLDFLAGS += $(LIBRARIES:%=-l%)