From 9ba7dc58e3126a1dfa2529eda63616f507da863a Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Thu, 16 Apr 2020 10:21:12 +0200 Subject: [PATCH] Fixing example for testing --- example/Grid/3_gray_scott_3d_vectorization/Makefile | 4 ++-- example/Grid/3_gray_scott_3d_vectorization/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/Grid/3_gray_scott_3d_vectorization/Makefile b/example/Grid/3_gray_scott_3d_vectorization/Makefile index 73b29934d..873ad49ed 100644 --- a/example/Grid/3_gray_scott_3d_vectorization/Makefile +++ b/example/Grid/3_gray_scott_3d_vectorization/Makefile @@ -10,10 +10,10 @@ OBJ = main.o update_new.o mpif90 -ffree-line-length-none -fno-range-check -fno-second-underscore -fimplicit-none -mavx -O3 -c -g -o $@ $< %.o: %.cpp - $(CC) -O3 -mavx -g -c --std=c++11 -Wno-ignored-attributes -o $@ $< $(INCLUDE_PATH) -I/home/i-bird/VCDEVEL/include + $(CC) -O3 -mavx -g -c --std=c++11 -Wno-ignored-attributes -o $@ $< $(INCLUDE_PATH) # -I/where/you/have/Vc gray_scott: $(OBJ) - $(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -L/home/i-bird/VCDEVEL/lib -lVc #(Add -lVc if you use VCDevel) + $(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -L/home/i-bird/VCDEVEL/lib # -lVc (Add -lVc if you use VCDevel) all: gray_scott diff --git a/example/Grid/3_gray_scott_3d_vectorization/main.cpp b/example/Grid/3_gray_scott_3d_vectorization/main.cpp index 76ecebd40..cf1ee02c1 100644 --- a/example/Grid/3_gray_scott_3d_vectorization/main.cpp +++ b/example/Grid/3_gray_scott_3d_vectorization/main.cpp @@ -2,7 +2,7 @@ #include "data_type/aggregate.hpp" #include "timer.hpp" -//#define FORTRAN_UPDATE +#define FORTRAN_UPDATE #ifndef FORTRAN_UPDATE #include "Vc/Vc" -- GitLab