Commit c0d5aa02 authored by incardon's avatar incardon
Browse files

Fixing Packer for general packing

parent 6bcf7186
......@@ -7,8 +7,10 @@ LDIR =
OBJ = main.o
OBJ_SER = main_ser.o
all: vect_cp vect_ser
%.o: %.cpp
$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
$(CC) -O0 -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
vect_cp: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
......@@ -16,13 +18,11 @@ vect_cp: $(OBJ)
vect_ser: $(OBJ_SER)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
all: vect_cp vect_ser
run: all
source $$HOME/openfpm_vars && mpirun -np 2 ./vect_cp && mpirun -np 2 ./vect_ser
.PHONY: clean all run
rm -f *.o *~ core vect
rm -f *.o *~ core vect_cp vect_ser
openfpm_data @ e1dae56f
Subproject commit f378ee11c3aa2be8d0fde9fe5308d86d1d705aa7
Subproject commit e1dae56f0742ee6b4c2e39ea92fdbfc0ad301822
openfpm_vcluster @ 83903de6
Subproject commit b84c798cc25b8dbcc02c7642948aca3eacba9a4c
Subproject commit 83903de6f7d93f11f24e66d6a02d020358eed427
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment