Commit f8d6ec58 authored by incardon's avatar incardon
Browse files

Fixing Vortex in cell

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