Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97281148
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jan 4, 00:37
Size
482 B
Mime Type
text/x-makefile
Expires
Mon, Jan 6, 00:37 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23372396
Attached To
R7871 phys-743-exercises
Makefile
View Options
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
Log In to Comment