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

Fixing Vortex in cell

parent 68fd5bca
No related branches found
No related tags found
No related merge requests found
......@@ -4,22 +4,18 @@ CC=mpic++
LDIR =
OBJ_VIC = main_vic.o
OBJ_VIC_PETSC = main_vic_petsc.o
%.o: %.cpp
$(CC) -O3 -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
all: vic vic_petsc
vic: $(OBJ_VIC)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS_SE2)
all: vic_petsc
vic_petsc: $(OBJ_VIC_PETSC)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS_SE2)
run: all
mpirun -np 3 ./vic && mpirun -np 3 ./vic
mpirun -np 3 ./vic_petsc
.PHONY: clean all
......
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