Seuquential version finished. Start with MPI stuff

Does not compile.
This commit is contained in:
2025-01-06 12:17:19 +01:00
parent 3428d84c3d
commit 512e2903c8
14 changed files with 874 additions and 203 deletions

View File

@@ -1,7 +1,13 @@
ifeq ($(strip $(ENABLE_MPI)),true)
CC = mpicc
DEFINES = -D_MPI
else
CC = clang
endif
LD = $(CC)
ifeq ($(ENABLE_OPENMP),true)
ifeq ($(strip $(ENABLE_OPENMP)),true)
OPENMP = -fopenmp
#OPENMP = -Xpreprocessor -fopenmp #required on Macos with homebrew libomp
LIBS = # -lomp
@@ -11,5 +17,5 @@ VERSION = --version
CFLAGS = -Ofast -std=c99 $(OPENMP)
#CFLAGS = -Ofast -fnt-store=aggressive -std=c99 $(OPENMP) #AMD CLANG
LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE
INCLUDES = -I~/.local/include
DEFINES += -D_GNU_SOURCE
INCLUDES = -I/Users/jan/.local/include