diff --git a/example/Grid/3_gray_scott/main.cpp b/example/Grid/3_gray_scott/main.cpp index b597d5ef0c51a7aafceec7a6fb8765b2df6f15e9..8e010f72271230cad25b148840c2435386b0589b 100644 --- a/example/Grid/3_gray_scott/main.cpp +++ b/example/Grid/3_gray_scott/main.cpp @@ -321,6 +321,7 @@ int main(int argc, char* argv[]) // visualization if (i % 100 == 0) { + Old.ghost_get<U,V>(); Old.write_frame("output",count); count++; } diff --git a/example/Numerics/Vortex_in_cell/config.cfg b/example/Numerics/Vortex_in_cell/config.cfg index 06f001c166c6fcd9deb84bcd1e15067b7277161e..6b74ad421983a4b11046960ec60205585cb5c9ce 100644 --- a/example/Numerics/Vortex_in_cell/config.cfg +++ b/example/Numerics/Vortex_in_cell/config.cfg @@ -1,2 +1,2 @@ [pack] -files = main_vic_petsc.cpp Makefile +files = main_vic_petsc.cpp main_vic_petsc_opt.cpp Makefile diff --git a/example/Vector/0_simple/Makefile b/example/Vector/0_simple/Makefile index 9839276507840d1f21d9093685eaa54e7aa5080b..4c6ce566bc1c60d24c3052a03da29571462db213 100644 --- a/example/Vector/0_simple/Makefile +++ b/example/Vector/0_simple/Makefile @@ -7,7 +7,7 @@ LDIR = OBJ = main.o %.o: %.cpp - $(CC) -O3 -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH) + $(CC) -O0 -g -c --std=c++11 -o $@ $< $(INCLUDE_PATH) vect: $(OBJ) $(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) diff --git a/src/Vector/vector_dist.hpp b/src/Vector/vector_dist.hpp index 8d39a884982bff5ecdc81d784733fe21341a4878..259329a2bed32bafc6198e982cc41e075c0c0685 100644 --- a/src/Vector/vector_dist.hpp +++ b/src/Vector/vector_dist.hpp @@ -450,7 +450,7 @@ public: // default constructor (structure contain garbage) vector_dist() - :v_cl(create_vcluster<Memory>()),opt(opt) + :v_cl(create_vcluster<Memory>()) {}