Skip to content
Snippets Groups Projects
Commit 742340a8 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing example compilation

parent 7dd0e4db
No related branches found
No related tags found
No related merge requests found
# This example does not work using clang
# Eliminate the comment to activate it
include ../../../example.mk
CC=mpic++
......@@ -9,15 +12,15 @@ OBJ_128 = main_float128.o
%.o: %.cpp
$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
pse_1d_128: $(OBJ_128)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
# pse_1d_128: $(OBJ_128)
# $(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
all: pse_1d_128
#all: pse_1d_128
run: all
source $$HOME/openfpm_vars; ./pse_1d_128
#run: all
# source $$HOME/openfpm_vars; ./pse_1d_128
.PHONY: clean all run
#.PHONY: clean all run
clean:
rm -f *.o *~ core pse_1d_128
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment