Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Sat, Jan 4, 00:37

Makefile

CXX=mpic++
#CXX=g++
LD=${CXX}
#VERIFY=-fsanitize=thread
VERIFY= -D_DEBUG -D_DEBUG_MPI
OPENMP=-fopenmp
NOOPENMP=-fno-openmp -Wno-unknown-pragmas
#OPTIM+=-O3 -D_MPI $(NOOPENMP)
OPTIM+=-O3 -D_MPI $(NOOPENMP) -march=native
CXXFLAGS+=-Wall -Wextra -Werror -pedantic -std=c++14 -g $(OPTIM) $(VERIFY)
LDFLAGS+=-lm $(CXXFLAGS)
OBJS=poisson.o grid.o double_buffer.o simulation.o dumpers.o
all: poisson
poisson: $(OBJS)
$(LD) -o $@ $(OBJS) $(LDFLAGS)
clean:
rm -f hello poisson *.o *~

Event Timeline