enable building with mpich

Use following command to build: MPICH=1 make
This commit is contained in:
Wenkai Du
2019-05-13 23:45:28 +00:00
vanhempi 677e2701e7
commit 86f053be84
+4
Näytä tiedosto
@@ -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%)