Commit 2289297b authored by incardon's avatar incardon

Fixing example to nit use VC by default

parent fdf82a8b
#include "Grid/grid_dist_id.hpp"
#include "data_type/aggregate.hpp"
#include "timer.hpp"
#include "Vc/Vc"
......@@ -10,6 +15,11 @@
* # Solving a gray scott-system in 3D # {#e3_gs_gray_scott_vector}
* This example is just an improved version of the previous 3D Gray scott example.
* It can use VCDevel library for vectorization in C++ or Fortran multi-array code update. For the first case
* the library VCDevel must be installed. It can be installed using the command ./script/
* /where/are/the/dependencies/directory and changing the Makefile to include the VCDevel library
* like show in the Makefile. By default this example use fortran update because does not require
* external libraries.
* In particular we do the following improvements we separate U and V in two grids
* in order to vectorize. Every loop now handle 4 double in case of AVX-256 and 2 double
* in case of SSE. We also avoid to use the function copy and we alternate the use of the
......@@ -36,7 +46,6 @@
//! \cond [constants] \endcond
constexpr int x = 0;
constexpr int y = 1;
#! /bin/bash
# check if the directory $1/VCDEVEL exist
if [ -d "$1/VCDEVEL" ]; then
echo "VCDEVEL already installed"
exit 0
#rm -rf Vc
tar -xf Vc-1.3.2.tar.gz
cd Vc-1.3.2
mkdir build
cd build
make install
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