Commit 234f2bac authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding cell-list getParam

parent 9175f64c
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
SUBDIRS := $(wildcard */.)
all: $(SUBDIRS)
clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done
all clean run: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
.PHONY: all clean $(SUBDIRS)
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
......@@ -14,7 +14,10 @@ pse_1d: $(OBJ)
all: pse_1d
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; ./pse_1d
.PHONY: clean all run
clean:
rm -f *.o *~ core pse_1d
......
......@@ -14,7 +14,10 @@ pse_1d_128: $(OBJ_128)
all: pse_1d_128
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; ./pse_1d_128
.PHONY: clean all run
clean:
rm -f *.o *~ core pse_1d_128
......
......@@ -14,6 +14,9 @@ diff_1d: $(OBJ)
all: diff_1d
run: all
source $$HOME/openfpm_vars; mpirun -np 4 ./diff_1d
.PHONY: clean all
clean:
......
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
......@@ -18,7 +18,9 @@ stokes_2d_eigen: $(OBJ_EIGEN)
stokes_2d_petsc: $(OBJ_PETSC)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
run: all
source $$HOME/openfpm_vars; mpirun -np 3 ./stokes_2d_eigen; mpirun -np 3 ./stokes_2d_petsc
.PHONY: clean all
clean:
......
......@@ -18,8 +18,10 @@ stokes_3d_eigen: $(OBJ_EIGEN)
stokes_3d_petsc: $(OBJ_PETSC)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; mpirun -np 3 ./stokes_3d_eigen; mpirun -np 3 ./stokes_3d_petsc
.PHONY: clean all run
clean:
rm -f *.o *~ core stokes_3d_eigen stokes_3d_petsc
......
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
......@@ -14,7 +14,10 @@ plot: $(OBJ)
all: plot
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; ./plot
.PHONY: clean all run
clean:
rm -f *.o *~ core plot
......
......@@ -9,13 +9,16 @@ OBJ = main.o
%.o: %.cpp
$(CC) -O3 -g3 -c --std=c++11 -fext-numeric-literals -o $@ $< $(INCLUDE_PATH)
plot: $(OBJ)
conv_p: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
all: plot
all: conv_p
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; ./conv_p
.PHONY: clean all run
clean:
rm -f *.o *~ core plot
rm -f *.o *~ core conv_p
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
SUBDIRS := $(wildcard */.)
all clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir $@; \
done
all clean run: $(SUBDIRS)
clean: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
......@@ -14,7 +14,10 @@ vect: $(OBJ)
all: vect
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; mpirun -np 2 ./vect
.PHONY: clean all run
clean:
rm -f *.o *~ core vect
......
......@@ -14,7 +14,10 @@ cell: $(OBJ)
all: cell
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; mpirun -np 2 ./cell
.PHONY: clean all run
clean:
rm -f *.o *~ core cell
......
......@@ -14,7 +14,10 @@ expr: $(OBJ)
all: expr
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; mpirun -np 3 ./expr
.PHONY: clean all run
clean:
rm -f *.o *~ core expr
......
......@@ -18,7 +18,10 @@ md_dyn: $(OBJ)
md_dyn_expr: $(OBJ_EXPR)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; mpirun -np 3 ./md_dyn; mpirun -np 3 ./md_dyn_expr
.PHONY: clean all run
clean:
rm -f *.o *~ core md_dyn md_dyn_expr
......
......@@ -14,7 +14,10 @@ vect: $(OBJ)
all: vect
.PHONY: clean all
run: all
source $$HOME/openfpm_vars; mpirun -np 2 ./vect
.PHONY: clean all run
clean:
rm -f *.o *~ core vect
......
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