1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00
Go to file
paboyle 5a80930dd2 Charge conjugation boundary conditions for gauge fields implemented as a policy
class, changing the nature of covariant Cshifts used in
plaquettes, rectangles and staples.

As a result same code is used for the plaq and rect action independent of the BC type.

Should probably isolate the BC in a separate class that Gimpl takes as a template param.
Do the same with smearing policies.

This would then allow composition of BC with smearing etc....
2016-01-02 13:37:25 +00:00
benchmarks Fix a regression failure on Mobius; chroma regression added 2015-12-10 22:55:00 +00:00
docs Small modification to the configure files 2015-06-04 14:17:58 +09:00
gcc-bug-report Sizable improvement in multigrid for unsquared. 2015-07-24 01:31:13 +09:00
lib Charge conjugation boundary conditions for gauge fields implemented as a policy 2016-01-02 13:37:25 +00:00
m4 fix of AX_GCC_X86_AVX_XGETBV macro 2015-07-17 11:15:57 +09:00
scripts Added TM fermions for DSDR etc.. 2015-12-17 22:34:28 +00:00
tests Charge conjugation boundary conditions for gauge fields implemented as a policy 2016-01-02 13:37:25 +00:00
.gitignore ignore Config.h.in 2015-12-08 13:52:44 +00:00
AUTHORS Update AUTHORS 2015-03-07 07:00:39 +00:00
ChangeLog Updating build system 2015-03-04 04:53:40 +00:00
configure Options to use mersenne twister OR ranlux48 via --enable-rng flag at configure time. 2015-12-19 18:32:25 +00:00
configure.ac Options to use mersenne twister OR ranlux48 via --enable-rng flag at configure time. 2015-12-19 18:32:25 +00:00
COPYING Extra files 2015-03-04 12:03:07 +00:00
LICENSE Initial commit 2015-03-04 02:30:11 +00:00
Makefile.am Reorganise of file naming 2015-06-03 12:47:05 +01:00
NEWS Updating build system 2015-03-04 04:53:40 +00:00
README Added check of mpfr and gmp at configure time 2015-05-19 13:54:55 +09:00
README.md Check at configure time if CPU supports the requested SIMD optimization 2015-05-27 18:30:11 +09:00
TODO Plaq, Rectangle, Iwasaki, Symanzik and DBW2 workign and HMC regresses to http://arxiv.org/pdf/hep-lat/0610075.pdf 2015-12-28 16:38:31 +00:00

Grid

Data parallel C++ mathematical object library

This library provides data parallel C++ container classes with internal memory layout that is transformed to map efficiently to SIMD architectures. CSHIFT facilities are provided, similar to HPF and cmfortran, and user control is given over the mapping of array indices to both MPI tasks and SIMD processing elements.

  • Identically shaped arrays then be processed with perfect data parallelisation.
  • Such identically shapped arrays are called conformable arrays.

The transformation is based on the observation that Cartesian array processing involves identical processing to be performed on different regions of the Cartesian array.

The library will both geometrically decompose into MPI tasks and across SIMD lanes. Local vector loops are parallelised with OpenMP pragmas.

Data parallel array operations can then be specified with a SINGLE data parallel paradigm, but optimally use MPI, OpenMP and SIMD parallelism under the hood. This is a significant simplification for most programmers.

The layout transformations are parametrised by the SIMD vector length. This adapts according to the architecture. Presently SSE4 (128 bit) AVX, AVX2 (256 bit) and IMCI and AVX512 (512 bit) targets are supported.

These are presented as

vRealF, vRealD, vComplexF, vComplexD

internal vector data types. These may be useful in themselves for other programmers. The corresponding scalar types are named

RealF, RealD, ComplexF, ComplexD

MPI, OpenMP, and SIMD parallelism are present in the library.

You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here are examples:

 ./configure CXX=clang++ CXXFLAGS="-std=c++11 -O3 -msse4" --enable-simd=SSE4

 ./configure CXX=clang++ CXXFLAGS="-std=c++11 -O3 -mavx" --enable-simd=AVX1

 ./configure CXX=clang++ CXXFLAGS="-std=c++11 -O3 -mavx2" --enable-simd=AVX2

 ./configure CXX=icpc CXXFLAGS="-std=c++11 -O3 -mmic" --enable-simd=AVX512 --host=none

For developers: Use reconfigure_script in the scripts/ directory to create the autotools environment