enable building with mpich
Use following command to build: MPICH=1 make
此提交包含在:
1 父節點
677e2701e7
當前提交
86f053be84
1 file changed
+4
+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%)
|
||||
|
||||
|
||||
Reference in new issue
封鎖使用者