Commit f8d6ec58 authored by incardon's avatar incardon
Browse files

Fixing Vortex in cell

parent 68fd5bca
......@@ -4,22 +4,18 @@ CC=mpic++
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
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