From 4dc47bb8f446b0e010c806ce4e49c2347f9d8641 Mon Sep 17 00:00:00 2001 From: Christos Choutouridis Date: Tue, 31 Dec 2024 14:26:53 +0200 Subject: [PATCH] HW2: Add perf rule --- homework_2/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/homework_2/Makefile b/homework_2/Makefile index 7efe1b6..6bb7fa0 100644 --- a/homework_2/Makefile +++ b/homework_2/Makefile @@ -224,6 +224,16 @@ tests: $(BUILD_DIR)/$(TARGET) @mkdir -p out cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) +perfbitonic: CC := mpicc +perfbitonic: CXX := mpic++ +perfbitonic: CFLAGS := $(REL_CFLAGS) -g -DCODE_VERSION=BITONIC +perfbitonic: CXXFLAGS := $(REL_CXXFLAGS) -g -DCODE_VERSION=BITONIC +perfbitonic: TARGET := distbitonic +perfbitonic: $(BUILD_DIR)/$(TARGET) + @mkdir -p out + cp $(BUILD_DIR)/$(TARGET) out/$(TARGET) + + hpc-build: make clean make distbubbletonic