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

Fixing testing for the examples

parent 05dba23f
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ OBJ_VIC_PETSC_OPT = main_vic_petsc_opt.o
all: vic_petsc vic_petsc_opt
vic_petsc_test: OPT += -DTEST_RUN
vic_petsc_test: vic_petsc
vic_petsc_test: vic_petsc vic_petsc_opt
%.o: %.cpp
$(CC) -O3 $(OPT) -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
......@@ -23,7 +23,7 @@ vic_petsc: $(OBJ_VIC_PETSC)
$(CC) -o $@ $^ $(LIBS_PATH) $(LIBS)
run: vic_petsc_test
mpirun -np 4 ./vic_petsc
mpirun -np 4 ./vic_petsc && mpirun -np 4 ./vic_petsc_opt
.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