Verified Commit 7b065397 authored by Kelleher, Michael's avatar Kelleher, Michael
Browse files

Add gpu-aware mpi libraries to Frontier makefile

parent 0f3981e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
CC := hipcc
INC_DIRS := $(HIP_PATH)/include/hip  $(MPICH_DIR)/include
FLAGS := --rocm-path=$(ROCM_PATH) --offload-arch=gfx90a -x hip
LIBRARIES := -L$(MPICH_DIR)/lib -L$(HIP_PATH)/../lib -lmpi
LIBRARIES := -L$(MPICH_DIR)/lib -L$(HIP_PATH)/../lib -lmpi $(PE_MPICH_GTL_DIR_amd_gfx90a) $(PE_MPICH_GTL_LIBS_amd_gfx90a)
DFLAGS := -D__HIP_ROCclr__ -D__HIP_ARCH_GFX90A__=1 -DACTIVE_GPU=1 -DAMDGPU=1

triton: $(SRCDIR)/main.cpp