Add MPI_IBM build option

This commit is contained in:
David Addison committed 2021-10-25 16:30:57 -07:00
1 orang tua f773748b46
melakukan 7130fa6096
1 file changed
+4
+4
Melihat File
@@ -64,6 +64,10 @@ ifeq ($(MPI), 1)
NVCUFLAGS += -DMPI_SUPPORT -I$(MPI_HOME)/include
NVLDFLAGS += -L$(MPI_HOME)/lib -L$(MPI_HOME)/lib64 -lmpi
endif
ifeq ($(MPI_IBM),1)
NVCUFLAGS += -DMPI_SUPPORT
NVLDFLAGS += -lmpi_ibm
endif
LIBRARIES += curand nccl nvToolsExt
NVLDFLAGS += $(LIBRARIES:%=-l%)