HW2: First locally working version of the 2 variations
This commit is contained in:
@@ -185,6 +185,8 @@ distbubbletonic: CFLAGS := $(REL_CFLAGS) -DCODE_VERSION=BUBBLETONIC
|
||||
distbubbletonic: CXXFLAGS := $(REL_CXXFLAGS) -DCODE_VERSION=BUBBLETONIC
|
||||
distbubbletonic: TARGET := distbubbletonic
|
||||
distbubbletonic: $(BUILD_DIR)/$(TARGET)
|
||||
@mkdir -p out
|
||||
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||
|
||||
distbitonic: CC := mpicc
|
||||
distbitonic: CXX := mpic++
|
||||
@@ -192,6 +194,8 @@ distbitonic: CFLAGS := $(REL_CFLAGS) -DCODE_VERSION=BITONIC
|
||||
distbitonic: CXXFLAGS := $(REL_CXXFLAGS) -DCODE_VERSION=BITONIC
|
||||
distbitonic: TARGET := distbitonic
|
||||
distbitonic: $(BUILD_DIR)/$(TARGET)
|
||||
@mkdir -p out
|
||||
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||
|
||||
deb_distbubbletonic: CC := mpicc
|
||||
deb_distbubbletonic: CXX := mpic++
|
||||
@@ -199,6 +203,8 @@ deb_distbubbletonic: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BUBBLETONIC -DDEBUG
|
||||
deb_distbubbletonic: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BUBBLETONIC -DDEBUG
|
||||
deb_distbubbletonic: TARGET := deb_distbubbletonic
|
||||
deb_distbubbletonic: $(BUILD_DIR)/$(TARGET)
|
||||
@mkdir -p out
|
||||
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||
|
||||
deb_distbitonic: CC := mpicc
|
||||
deb_distbitonic: CXX := mpic++
|
||||
@@ -206,6 +212,8 @@ deb_distbitonic: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BITONIC -DDEBUG
|
||||
deb_distbitonic: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BITONIC -DDEBUG
|
||||
deb_distbitonic: TARGET := deb_distbitonic
|
||||
deb_distbitonic: $(BUILD_DIR)/$(TARGET)
|
||||
@mkdir -p out
|
||||
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||
|
||||
tests: CC := mpicc
|
||||
tests: CXX := mpic++
|
||||
@@ -213,6 +221,14 @@ tests: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BITONIC -DDEBUG -DTESTING
|
||||
tests: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BITONIC -DDEBUG -DTESTING
|
||||
tests: TARGET := tests
|
||||
tests: $(BUILD_DIR)/$(TARGET)
|
||||
@mkdir -p out
|
||||
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
|
||||
|
||||
measurements:
|
||||
make clean
|
||||
make distbubbletonic
|
||||
make clean
|
||||
make distbitonic
|
||||
|
||||
|
||||
all: debug distbubbletonic distbitonic
|
||||
|
||||
Reference in New Issue
Block a user