mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-11 02:08:06 +01:00
Open up dependency on Eigen and FFTW
This commit is contained in:
1 parent
fc4a043663
commit
a0676beeb1
146 files changed
+754
-602
No files matched your search
+3
-2
@@ -1,5 +1,6 @@
|
|||||||
# additional include paths necessary to compile the C++ library
|
# additional include paths necessary to compile the C++ library
|
||||||
AM_CXXFLAGS = -I$(top_srcdir)/
|
AM_CXXFLAGS = -I$(top_srcdir)/include/
|
||||||
SUBDIRS = lib tests benchmarks
|
|
||||||
|
SUBDIRS = prerequisites lib benchmarks tests
|
||||||
|
|
||||||
filelist: $(SUBDIRS)
|
filelist: $(SUBDIRS)
|
||||||
File renamed without changes.
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,8 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
#include <PerfCount.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,8 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
#include <PerfCount.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,8 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
#include <PerfCount.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Author: Peter Boyle <peterboyle@Peters-MacBook-Pro-2.local>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -25,8 +25,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
#include <PerfCount.h>
|
|
||||||
|
|
||||||
|
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# additional include paths necessary to compile the C++ library
|
# additional include paths necessary to compile the C++ library
|
||||||
AM_CXXFLAGS = -I$(top_srcdir)/lib
|
AM_CXXFLAGS = -I$(top_srcdir)/include
|
||||||
AM_LDFLAGS = -L$(top_builddir)/lib
|
AM_LDFLAGS = -L$(top_builddir)/lib
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
+16
-9
@@ -10,6 +10,7 @@ AC_INIT([Grid], [1.0], [paboyle@ph.ed.ac.uk])
|
|||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
AM_INIT_AUTOMAKE(subdir-objects)
|
AM_INIT_AUTOMAKE(subdir-objects)
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
AC_LINK_FILES(lib,include/Grid )
|
||||||
AC_CONFIG_SRCDIR([lib/Grid.h])
|
AC_CONFIG_SRCDIR([lib/Grid.h])
|
||||||
AC_CONFIG_HEADERS([lib/Config.h])
|
AC_CONFIG_HEADERS([lib/Config.h])
|
||||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
@@ -231,7 +232,6 @@ esac
|
|||||||
# Chroma regression tests
|
# Chroma regression tests
|
||||||
#
|
#
|
||||||
AC_ARG_ENABLE([chroma],[AC_HELP_STRING([--enable-chroma],[Expect chroma compiled under c++11 ])],ac_CHROMA=yes,ac_CHROMA=no)
|
AC_ARG_ENABLE([chroma],[AC_HELP_STRING([--enable-chroma],[Expect chroma compiled under c++11 ])],ac_CHROMA=yes,ac_CHROMA=no)
|
||||||
|
|
||||||
case ${ac_CHROMA} in
|
case ${ac_CHROMA} in
|
||||||
yes)
|
yes)
|
||||||
echo Enabling tests regressing to Chroma
|
echo Enabling tests regressing to Chroma
|
||||||
@@ -269,15 +269,15 @@ AM_CONDITIONAL(USE_LAPACK_LIB,[ test "X${ac_LAPACK}X" != "XyesX" ])
|
|||||||
###################################################################
|
###################################################################
|
||||||
# Checks for doxygen support
|
# Checks for doxygen support
|
||||||
# if present enables the "make doxyfile" command
|
# if present enables the "make doxyfile" command
|
||||||
#echo
|
echo
|
||||||
#echo Checking doxygen support
|
echo Checking doxygen support
|
||||||
#echo :::::::::::::::::::::::::::::::::::::::::::
|
echo :::::::::::::::::::::::::::::::::::::::::::
|
||||||
#AC_PROG_DOXYGEN
|
AC_PROG_DOXYGEN
|
||||||
|
|
||||||
#if test -n "$DOXYGEN"
|
if test -n "$DOXYGEN"
|
||||||
#then
|
then
|
||||||
#AC_CONFIG_FILES([docs/doxy.cfg])
|
AC_CONFIG_FILES([docs/doxy.cfg])
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo Creating configuration files
|
echo Creating configuration files
|
||||||
@@ -285,8 +285,15 @@ echo :::::::::::::::::::::::::::::::::::::::::::
|
|||||||
AC_CONFIG_FILES(Makefile)
|
AC_CONFIG_FILES(Makefile)
|
||||||
AC_CONFIG_FILES(lib/Makefile)
|
AC_CONFIG_FILES(lib/Makefile)
|
||||||
AC_CONFIG_FILES(tests/Makefile)
|
AC_CONFIG_FILES(tests/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/IO/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/core/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/debug/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/forces/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/hmc/Makefile)
|
||||||
|
AC_CONFIG_FILES(tests/solver/Makefile)
|
||||||
AC_CONFIG_FILES(tests/qdpxx/Makefile)
|
AC_CONFIG_FILES(tests/qdpxx/Makefile)
|
||||||
AC_CONFIG_FILES(benchmarks/Makefile)
|
AC_CONFIG_FILES(benchmarks/Makefile)
|
||||||
|
AC_CONFIG_FILES(prerequisites/Makefile)
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../lib
|
||||||
+15
-15
@@ -29,27 +29,27 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_ALGORITHMS_H
|
#ifndef GRID_ALGORITHMS_H
|
||||||
#define GRID_ALGORITHMS_H
|
#define GRID_ALGORITHMS_H
|
||||||
|
|
||||||
#include <algorithms/SparseMatrix.h>
|
#include <Grid/algorithms/SparseMatrix.h>
|
||||||
#include <algorithms/LinearOperator.h>
|
#include <Grid/algorithms/LinearOperator.h>
|
||||||
#include <algorithms/Preconditioner.h>
|
#include <Grid/algorithms/Preconditioner.h>
|
||||||
|
|
||||||
#include <algorithms/approx/Zolotarev.h>
|
#include <Grid/algorithms/approx/Zolotarev.h>
|
||||||
#include <algorithms/approx/Chebyshev.h>
|
#include <Grid/algorithms/approx/Chebyshev.h>
|
||||||
#include <algorithms/approx/Remez.h>
|
#include <Grid/algorithms/approx/Remez.h>
|
||||||
#include <algorithms/approx/MultiShiftFunction.h>
|
#include <Grid/algorithms/approx/MultiShiftFunction.h>
|
||||||
|
|
||||||
#include <algorithms/iterative/ConjugateGradient.h>
|
#include <Grid/algorithms/iterative/ConjugateGradient.h>
|
||||||
#include <algorithms/iterative/ConjugateResidual.h>
|
#include <Grid/algorithms/iterative/ConjugateResidual.h>
|
||||||
#include <algorithms/iterative/NormalEquations.h>
|
#include <Grid/algorithms/iterative/NormalEquations.h>
|
||||||
#include <algorithms/iterative/SchurRedBlack.h>
|
#include <Grid/algorithms/iterative/SchurRedBlack.h>
|
||||||
|
|
||||||
#include <algorithms/iterative/ConjugateGradientMultiShift.h>
|
#include <Grid/algorithms/iterative/ConjugateGradientMultiShift.h>
|
||||||
|
|
||||||
// Lanczos support
|
// Lanczos support
|
||||||
#include <algorithms/iterative/MatrixUtils.h>
|
#include <Grid/algorithms/iterative/MatrixUtils.h>
|
||||||
#include <algorithms/iterative/ImplicitlyRestartedLanczos.h>
|
#include <Grid/algorithms/iterative/ImplicitlyRestartedLanczos.h>
|
||||||
|
|
||||||
#include <algorithms/CoarsenedMatrix.h>
|
#include <Grid/algorithms/CoarsenedMatrix.h>
|
||||||
|
|
||||||
// Eigen/lanczos
|
// Eigen/lanczos
|
||||||
// EigCg
|
// EigCg
|
||||||
|
|||||||
+3
-3
@@ -28,8 +28,8 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_CARTESIAN_H
|
#ifndef GRID_CARTESIAN_H
|
||||||
#define GRID_CARTESIAN_H
|
#define GRID_CARTESIAN_H
|
||||||
|
|
||||||
#include <cartesian/Cartesian_base.h>
|
#include <Grid/cartesian/Cartesian_base.h>
|
||||||
#include <cartesian/Cartesian_full.h>
|
#include <Grid/cartesian/Cartesian_full.h>
|
||||||
#include <cartesian/Cartesian_red_black.h>
|
#include <Grid/cartesian/Cartesian_red_black.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
+1
-1
@@ -28,6 +28,6 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_COMMUNICATOR_H
|
#ifndef GRID_COMMUNICATOR_H
|
||||||
#define GRID_COMMUNICATOR_H
|
#define GRID_COMMUNICATOR_H
|
||||||
|
|
||||||
#include <communicator/Communicator_base.h>
|
#include <Grid/communicator/Communicator_base.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
+4
-4
@@ -28,17 +28,17 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef _GRID_CSHIFT_H_
|
#ifndef _GRID_CSHIFT_H_
|
||||||
#define _GRID_CSHIFT_H_
|
#define _GRID_CSHIFT_H_
|
||||||
|
|
||||||
#include <cshift/Cshift_common.h>
|
#include <Grid/cshift/Cshift_common.h>
|
||||||
|
|
||||||
#ifdef GRID_COMMS_NONE
|
#ifdef GRID_COMMS_NONE
|
||||||
#include <cshift/Cshift_none.h>
|
#include <Grid/cshift/Cshift_none.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRID_COMMS_MPI
|
#ifdef GRID_COMMS_MPI
|
||||||
#include <cshift/Cshift_mpi.h>
|
#include <Grid/cshift/Cshift_mpi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GRID_COMMS_SHMEM
|
#ifdef GRID_COMMS_SHMEM
|
||||||
#include <cshift/Cshift_mpi.h> // uses same implementation of communicator
|
#include <Grid/cshift/Cshift_mpi.h> // uses same implementation of communicator
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
EFILES=Eigen/src/Cholesky/LDLT.h Eigen/src/Cholesky/LLT.h Eigen/src/Cholesky/LLT_MKL.h Eigen/src/CholmodSupport/CholmodSupport.h Eigen/src/Core/arch/AltiVec/Complex.h Eigen/src/Core/arch/AltiVec/PacketMath.h Eigen/src/Core/arch/Default/Settings.h Eigen/src/Core/arch/NEON/Complex.h Eigen/src/Core/arch/NEON/PacketMath.h Eigen/src/Core/arch/SSE/Complex.h Eigen/src/Core/arch/SSE/MathFunctions.h Eigen/src/Core/arch/SSE/PacketMath.h Eigen/src/Core/Array.h Eigen/src/Core/ArrayBase.h Eigen/src/Core/ArrayWrapper.h Eigen/src/Core/Assign.h Eigen/src/Core/Assign_MKL.h Eigen/src/Core/BandMatrix.h Eigen/src/Core/Block.h Eigen/src/Core/BooleanRedux.h Eigen/src/Core/CommaInitializer.h Eigen/src/Core/CoreIterators.h Eigen/src/Core/CwiseBinaryOp.h Eigen/src/Core/CwiseNullaryOp.h Eigen/src/Core/CwiseUnaryOp.h Eigen/src/Core/CwiseUnaryView.h Eigen/src/Core/DenseBase.h Eigen/src/Core/DenseCoeffsBase.h Eigen/src/Core/DenseStorage.h Eigen/src/Core/Diagonal.h Eigen/src/Core/DiagonalMatrix.h Eigen/src/Core/DiagonalProduct.h Eigen/src/Core/Dot.h Eigen/src/Core/EigenBase.h Eigen/src/Core/Flagged.h Eigen/src/Core/ForceAlignedAccess.h Eigen/src/Core/Functors.h Eigen/src/Core/Fuzzy.h Eigen/src/Core/GeneralProduct.h Eigen/src/Core/GenericPacketMath.h Eigen/src/Core/GlobalFunctions.h Eigen/src/Core/IO.h Eigen/src/Core/Map.h Eigen/src/Core/MapBase.h Eigen/src/Core/MathFunctions.h Eigen/src/Core/Matrix.h Eigen/src/Core/MatrixBase.h Eigen/src/Core/NestByValue.h Eigen/src/Core/NoAlias.h Eigen/src/Core/NumTraits.h Eigen/src/Core/PermutationMatrix.h Eigen/src/Core/PlainObjectBase.h Eigen/src/Core/ProductBase.h Eigen/src/Core/products/CoeffBasedProduct.h Eigen/src/Core/products/GeneralBlockPanelKernel.h Eigen/src/Core/products/GeneralMatrixMatrix.h Eigen/src/Core/products/GeneralMatrixMatrix_MKL.h Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h Eigen/src/Core/products/GeneralMatrixMatrixTriangular_MKL.h Eigen/src/Core/products/GeneralMatrixVector.h Eigen/src/Core/products/GeneralMatrixVector_MKL.h Eigen/src/Core/products/Parallelizer.h Eigen/src/Core/products/SelfadjointMatrixMatrix.h Eigen/src/Core/products/SelfadjointMatrixMatrix_MKL.h Eigen/src/Core/products/SelfadjointMatrixVector.h Eigen/src/Core/products/SelfadjointMatrixVector_MKL.h Eigen/src/Core/products/SelfadjointProduct.h Eigen/src/Core/products/SelfadjointRank2Update.h Eigen/src/Core/products/TriangularMatrixMatrix.h Eigen/src/Core/products/TriangularMatrixMatrix_MKL.h Eigen/src/Core/products/TriangularMatrixVector.h Eigen/src/Core/products/TriangularMatrixVector_MKL.h Eigen/src/Core/products/TriangularSolverMatrix.h Eigen/src/Core/products/TriangularSolverMatrix_MKL.h Eigen/src/Core/products/TriangularSolverVector.h Eigen/src/Core/Random.h Eigen/src/Core/Redux.h Eigen/src/Core/Ref.h Eigen/src/Core/Replicate.h Eigen/src/Core/ReturnByValue.h Eigen/src/Core/Reverse.h Eigen/src/Core/Select.h Eigen/src/Core/SelfAdjointView.h Eigen/src/Core/SelfCwiseBinaryOp.h Eigen/src/Core/SolveTriangular.h Eigen/src/Core/StableNorm.h Eigen/src/Core/Stride.h Eigen/src/Core/Swap.h Eigen/src/Core/Transpose.h Eigen/src/Core/Transpositions.h Eigen/src/Core/TriangularMatrix.h Eigen/src/Core/util/BlasUtil.h Eigen/src/Core/util/Constants.h Eigen/src/Core/util/DisableStupidWarnings.h Eigen/src/Core/util/ForwardDeclarations.h Eigen/src/Core/util/Macros.h Eigen/src/Core/util/Memory.h Eigen/src/Core/util/Meta.h Eigen/src/Core/util/MKL_support.h Eigen/src/Core/util/NonMPL2.h Eigen/src/Core/util/ReenableStupidWarnings.h Eigen/src/Core/util/StaticAssert.h Eigen/src/Core/util/XprHelper.h Eigen/src/Core/VectorBlock.h Eigen/src/Core/VectorwiseOp.h Eigen/src/Core/Visitor.h Eigen/src/Eigen2Support/Block.h Eigen/src/Eigen2Support/Cwise.h Eigen/src/Eigen2Support/CwiseOperators.h Eigen/src/Eigen2Support/Geometry/AlignedBox.h Eigen/src/Eigen2Support/Geometry/All.h Eigen/src/Eigen2Support/Geometry/AngleAxis.h Eigen/src/Eigen2Support/Geometry/Hyperplane.h Eigen/src/Eigen2Support/Geometry/ParametrizedLine.h Eigen/src/Eigen2Support/Geometry/Quaternion.h Eigen/src/Eigen2Support/Geometry/Rotation2D.h Eigen/src/Eigen2Support/Geometry/RotationBase.h Eigen/src/Eigen2Support/Geometry/Scaling.h Eigen/src/Eigen2Support/Geometry/Transform.h Eigen/src/Eigen2Support/Geometry/Translation.h Eigen/src/Eigen2Support/Lazy.h Eigen/src/Eigen2Support/LeastSquares.h Eigen/src/Eigen2Support/LU.h Eigen/src/Eigen2Support/Macros.h Eigen/src/Eigen2Support/MathFunctions.h Eigen/src/Eigen2Support/Memory.h Eigen/src/Eigen2Support/Meta.h Eigen/src/Eigen2Support/Minor.h Eigen/src/Eigen2Support/QR.h Eigen/src/Eigen2Support/SVD.h Eigen/src/Eigen2Support/TriangularSolver.h Eigen/src/Eigen2Support/VectorBlock.h Eigen/src/Eigenvalues/ComplexEigenSolver.h Eigen/src/Eigenvalues/ComplexSchur.h Eigen/src/Eigenvalues/ComplexSchur_MKL.h Eigen/src/Eigenvalues/EigenSolver.h Eigen/src/Eigenvalues/GeneralizedEigenSolver.h Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h Eigen/src/Eigenvalues/HessenbergDecomposition.h Eigen/src/Eigenvalues/MatrixBaseEigenvLine truncated
|
||||||
+22
-22
@@ -59,29 +59,29 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
///////////////////
|
///////////////////
|
||||||
// Grid headers
|
// Grid headers
|
||||||
///////////////////
|
///////////////////
|
||||||
#include <serialisation/Serialisation.h>
|
#include <Grid/serialisation/Serialisation.h>
|
||||||
#include <Config.h>
|
#include "Config.h"
|
||||||
#include <Timer.h>
|
#include <Grid/Timer.h>
|
||||||
#include <PerfCount.h>
|
#include <Grid/PerfCount.h>
|
||||||
#include <Log.h>
|
#include <Grid/Log.h>
|
||||||
#include <AlignedAllocator.h>
|
#include <Grid/AlignedAllocator.h>
|
||||||
#include <Simd.h>
|
#include <Grid/Simd.h>
|
||||||
#include <Threads.h>
|
#include <Grid/Threads.h>
|
||||||
#include <Lexicographic.h>
|
#include <Grid/Lexicographic.h>
|
||||||
#include <Communicator.h>
|
#include <Grid/Communicator.h>
|
||||||
#include <Cartesian.h>
|
#include <Grid/Cartesian.h>
|
||||||
#include <Tensors.h>
|
#include <Grid/Tensors.h>
|
||||||
#include <Lattice.h>
|
#include <Grid/Lattice.h>
|
||||||
#include <Cshift.h>
|
#include <Grid/Cshift.h>
|
||||||
#include <Stencil.h>
|
#include <Grid/Stencil.h>
|
||||||
#include <Algorithms.h>
|
#include <Grid/Algorithms.h>
|
||||||
#include <parallelIO/BinaryIO.h>
|
#include <Grid/parallelIO/BinaryIO.h>
|
||||||
#include <qcd/QCD.h>
|
#include <Grid/qcd/QCD.h>
|
||||||
#include <parallelIO/NerscIO.h>
|
#include <Grid/parallelIO/NerscIO.h>
|
||||||
#include <Init.h>
|
#include <Grid/Init.h>
|
||||||
|
|
||||||
#include <qcd/hmc/NerscCheckpointer.h>
|
#include <Grid/qcd/hmc/NerscCheckpointer.h>
|
||||||
#include <qcd/hmc/HmcRunner.h>
|
#include <Grid/qcd/hmc/HmcRunner.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -28,6 +28,6 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_LATTICE_H
|
#ifndef GRID_LATTICE_H
|
||||||
#define GRID_LATTICE_H
|
#define GRID_LATTICE_H
|
||||||
|
|
||||||
#include <lattice/Lattice_base.h>
|
#include <Grid/lattice/Lattice_base.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
HFILES=./Algorithms.h ./AlignedAllocator.h ./Cartesian.h ./Communicator.h ./Cshift.h ./Grid.h ./Init.h ./Lattice.h ./Lexicographic.h ./Log.h ./Old/Tensor_peek.h ./Old/Tensor_poke.h ./PerfCount.h ./Simd.h ./Stencil.h ./Tensors.h ./Threads.h ./Timer.h ./algorithms/CoarsenedMatrix.h ./algorithms/LinearOperator.h ./algorithms/Preconditioner.h ./algorithms/SparseMatrix.h ./algorithms/approx/Chebyshev.h ./algorithms/approx/MultiShiftFunction.h ./algorithms/approx/Remez.h ./algorithms/approx/Zolotarev.h ./algorithms/approx/bigfloat.h ./algorithms/approx/bigfloat_double.h ./algorithms/iterative/AdefGeneric.h ./algorithms/iterative/ConjugateGradient.h ./algorithms/iterative/ConjugateGradientMultiShift.h ./algorithms/iterative/ConjugateResidual.h ./algorithms/iterative/DenseMatrix.h ./algorithms/iterative/EigenSort.h ./algorithms/iterative/Francis.h ./algorithms/iterative/Householder.h ./algorithms/iterative/ImplicitlyRestartedLanczos.h ./algorithms/iterative/Matrix.h ./algorithms/iterative/MatrixUtils.h ./algorithms/iterative/NormalEquations.h ./algorithms/iterative/PrecConjugateResidual.h ./algorithms/iterative/PrecGeneralisedConjugateResidual.h ./algorithms/iterative/SchurRedBlack.h ./cartesian/Cartesian_base.h ./cartesian/Cartesian_full.h ./cartesian/Cartesian_red_black.h ./communicator/Communicator_base.h ./cshift/Cshift_common.h ./cshift/Cshift_mpi.h ./cshift/Cshift_none.h ./lattice/Lattice_ET.h ./lattice/Lattice_arith.h ./lattice/Lattice_base.h ./lattice/Lattice_comparison.h ./lattice/Lattice_comparison_utils.h ./lattice/Lattice_conformable.h ./lattice/Lattice_coordinate.h ./lattice/Lattice_local.h ./lattice/Lattice_overload.h ./lattice/Lattice_peekpoke.h ./lattice/Lattice_reality.h ./lattice/Lattice_reduction.h ./lattice/Lattice_rng.h ./lattice/Lattice_trace.h ./lattice/Lattice_transfer.h ./lattice/Lattice_transpose.h ./lattice/Lattice_unary.h ./lattice/Lattice_where.h ./parallelIO/BinaryIO.h ./parallelIO/NerscIO.h ./pugixml/pugixml.h ./qcd/QCD.h ./qcd/action/ActionBase.h ./qcd/action/ActionParams.h ./qcd/action/Actions.h ./qcd/action/fermion/CayleyFermion5D.h ./qcd/action/fermion/ContinuedFractionFermion5D.h ./qcd/action/fermion/DomainWallFermion.h ./qcd/action/fermion/FermionOperator.h ./qcd/action/fermion/FermionOperatorImpl.h ./qcd/action/fermion/MobiusFermion.h ./qcd/action/fermion/MobiusZolotarevFermion.h ./qcd/action/fermion/OverlapWilsonCayleyTanhFermion.h ./qcd/action/fermion/OverlapWilsonCayleyZolotarevFermion.h ./qcd/action/fermion/OverlapWilsonContfracTanhFermion.h ./qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h ./qcd/action/fermion/OverlapWilsonPartialFractionTanhFermion.h ./qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h ./qcd/action/fermion/PartialFractionFermion5D.h ./qcd/action/fermion/ScaledShamirFermion.h ./qcd/action/fermion/ShamirZolotarevFermion.h ./qcd/action/fermion/WilsonCompressor.h ./qcd/action/fermion/WilsonFermion.h ./qcd/action/fermion/WilsonFermion5D.h ./qcd/action/fermion/WilsonKernels.h ./qcd/action/fermion/WilsonTMFermion.h ./qcd/action/fermion/g5HermitianLinop.h ./qcd/action/fermion/WilsonKernelsAsmBody.h ./qcd/action/gauge/GaugeImpl.h ./qcd/action/gauge/PlaqPlusRectangleAction.h ./qcd/action/gauge/WilsonGaugeAction.h ./qcd/action/pseudofermion/EvenOddSchurDifferentiable.h ./qcd/action/pseudofermion/OneFlavourEvenOddRational.h ./qcd/action/pseudofermion/OneFlavourEvenOddRationalRatio.h ./qcd/action/pseudofermion/OneFlavourRational.h ./qcd/action/pseudofermion/OneFlavourRationalRatio.h ./qcd/action/pseudofermion/TwoFlavour.h ./qcd/action/pseudofermion/TwoFlavourEvenOdd.h ./qcd/action/pseudofermion/TwoFlavourEvenOddRatio.h ./qcd/action/pseudofermion/TwoFlavourRatio.h ./qcd/hmc/HMC.h ./qcd/hmc/HmcRunner.h ./qcd/hmc/NerscCheckpointer.h ./qcd/hmc/integrators/Integrator.h ./qcd/hmc/integrators/Integrator_algorithm.h ./qcd/spin/Dirac.h ./qcd/spin/TwoSpinor.h ./qcd/utils/CovariantCshift.h ./qcd/utils/LinalgUtils.h ./qcd/utils/SUn.h ./qcd/utils/SpaceTimeGrid.h ./qcd/utils/WilsonLoops.h ./serialisation/BaseIO.h ./serialisation/BinaryIO.h ./serialisation/MacroMagic.h ./serialisation/Serialisation.h ./serialisation/TextIO.h ./serialisation/XmlIO.h ./simd/Grid_avx.h ./simd/Grid_avx512.h ./simd/Grid_empty.h ./simd/Grid_imci.h ./simd/Grid_neon.h ./simd/Grid_qpx.h ./simd/Grid_sse4.h ./simd/Grid_vector_types.h ./simd/Grid_vector_unops.h ./simd/Intel512avx.h ./simd/Intel512wilson.h ./simd/Intel512common.h ./simd/Intel512double.h ./simd/Intel512imci.h ./simd/Intel512single.h ./stencil/Lebesgue.h ./tensors/Tensor_Ta.h ./tensors/Tensor_arith.h ./tensors/Tensor_arith_add.h ./tensors/Tensor_arith_mac.h ./tensors/Tensor_arith_mul.h ./tensors/Tensor_arith_scalar.h ./tensors/Tensor_arith_sub.h ./tensors/Tensor_class.h ./tensors/Tensor_determinant.h ./tensors/Tensor_exp.h ./tensors/Tensor_extract_merge.h ./tensors/Tensor_index.h ./tensors/Tensor_inner.h ./tensors/Tensor_logical.h ./tensors/Tensor_outer.h ./tensors/Tensor_reality.h ./tensors/Tensor_trace.h ./tensors/TensLine truncated
|
HFILES=./algorithms/approx/bigfloat.h ./algorithms/approx/bigfloat_double.h ./algorithms/approx/Chebyshev.h ./algorithms/approx/MultiShiftFunction.h ./algorithms/approx/Remez.h ./algorithms/approx/Zolotarev.h ./algorithms/CoarsenedMatrix.h ./algorithms/iterative/AdefGeneric.h ./algorithms/iterative/ConjugateGradient.h ./algorithms/iterative/ConjugateGradientMultiShift.h ./algorithms/iterative/ConjugateResidual.h ./algorithms/iterative/DenseMatrix.h ./algorithms/iterative/EigenSort.h ./algorithms/iterative/Francis.h ./algorithms/iterative/Householder.h ./algorithms/iterative/ImplicitlyRestartedLanczos.h ./algorithms/iterative/Matrix.h ./algorithms/iterative/MatrixUtils.h ./algorithms/iterative/NormalEquations.h ./algorithms/iterative/PrecConjugateResidual.h ./algorithms/iterative/PrecGeneralisedConjugateResidual.h ./algorithms/iterative/SchurRedBlack.h ./algorithms/LinearOperator.h ./algorithms/Preconditioner.h ./algorithms/SparseMatrix.h ./Algorithms.h ./AlignedAllocator.h ./cartesian/Cartesian_base.h ./cartesian/Cartesian_full.h ./cartesian/Cartesian_red_black.h ./Cartesian.h ./communicator/Communicator_base.h ./Communicator.h ./cshift/Cshift_common.h ./cshift/Cshift_mpi.h ./cshift/Cshift_none.h ./Cshift.h ./Grid.h ./Init.h ./lattice/Lattice_arith.h ./lattice/Lattice_base.h ./lattice/Lattice_comparison.h ./lattice/Lattice_comparison_utils.h ./lattice/Lattice_conformable.h ./lattice/Lattice_coordinate.h ./lattice/Lattice_ET.h ./lattice/Lattice_local.h ./lattice/Lattice_overload.h ./lattice/Lattice_peekpoke.h ./lattice/Lattice_reality.h ./lattice/Lattice_reduction.h ./lattice/Lattice_rng.h ./lattice/Lattice_trace.h ./lattice/Lattice_transfer.h ./lattice/Lattice_transpose.h ./lattice/Lattice_unary.h ./lattice/Lattice_where.h ./Lattice.h ./Lexicographic.h ./Log.h ./Old/Tensor_peek.h ./Old/Tensor_poke.h ./parallelIO/BinaryIO.h ./parallelIO/NerscIO.h ./PerfCount.h ./pugixml/pugixml.h ./qcd/action/ActionBase.h ./qcd/action/ActionParams.h ./qcd/action/Actions.h ./qcd/action/fermion/CayleyFermion5D.h ./qcd/action/fermion/ContinuedFractionFermion5D.h ./qcd/action/fermion/DomainWallFermion.h ./qcd/action/fermion/FermionOperator.h ./qcd/action/fermion/FermionOperatorImpl.h ./qcd/action/fermion/g5HermitianLinop.h ./qcd/action/fermion/MobiusFermion.h ./qcd/action/fermion/MobiusZolotarevFermion.h ./qcd/action/fermion/OverlapWilsonCayleyTanhFermion.h ./qcd/action/fermion/OverlapWilsonCayleyZolotarevFermion.h ./qcd/action/fermion/OverlapWilsonContfracTanhFermion.h ./qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h ./qcd/action/fermion/OverlapWilsonPartialFractionTanhFermion.h ./qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h ./qcd/action/fermion/PartialFractionFermion5D.h ./qcd/action/fermion/ScaledShamirFermion.h ./qcd/action/fermion/ShamirZolotarevFermion.h ./qcd/action/fermion/WilsonCompressor.h ./qcd/action/fermion/WilsonFermion.h ./qcd/action/fermion/WilsonFermion5D.h ./qcd/action/fermion/WilsonKernels.h ./qcd/action/fermion/WilsonKernelsAsmBody.h ./qcd/action/fermion/WilsonTMFermion.h ./qcd/action/gauge/GaugeImpl.h ./qcd/action/gauge/PlaqPlusRectangleAction.h ./qcd/action/gauge/WilsonGaugeAction.h ./qcd/action/pseudofermion/EvenOddSchurDifferentiable.h ./qcd/action/pseudofermion/OneFlavourEvenOddRational.h ./qcd/action/pseudofermion/OneFlavourEvenOddRationalRatio.h ./qcd/action/pseudofermion/OneFlavourRational.h ./qcd/action/pseudofermion/OneFlavourRationalRatio.h ./qcd/action/pseudofermion/TwoFlavour.h ./qcd/action/pseudofermion/TwoFlavourEvenOdd.h ./qcd/action/pseudofermion/TwoFlavourEvenOddRatio.h ./qcd/action/pseudofermion/TwoFlavourRatio.h ./qcd/hmc/HMC.h ./qcd/hmc/HmcRunner.h ./qcd/hmc/integrators/Integrator.h ./qcd/hmc/integrators/Integrator_algorithm.h ./qcd/hmc/NerscCheckpointer.h ./qcd/QCD.h ./qcd/spin/Dirac.h ./qcd/spin/TwoSpinor.h ./qcd/utils/CovariantCshift.h ./qcd/utils/LinalgUtils.h ./qcd/utils/SpaceTimeGrid.h ./qcd/utils/SUn.h ./qcd/utils/WilsonLoops.h ./serialisation/BaseIO.h ./serialisation/BinaryIO.h ./serialisation/MacroMagic.h ./serialisation/Serialisation.h ./serialisation/TextIO.h ./serialisation/XmlIO.h ./simd/Grid_avx.h ./simd/Grid_avx512.h ./simd/Grid_empty.h ./simd/Grid_imci.h ./simd/Grid_neon.h ./simd/Grid_qpx.h ./simd/Grid_sse4.h ./simd/Grid_vector_types.h ./simd/Grid_vector_unops.h ./simd/Intel512avx.h ./simd/Intel512common.h ./simd/Intel512double.h ./simd/Intel512imci.h ./simd/Intel512single.h ./simd/Intel512wilson.h ./Simd.h ./stencil/Lebesgue.h ./Stencil.h ./tensors/Tensor_arith.h ./tensors/Tensor_arith_add.h ./tensors/Tensor_arith_mac.h ./tensors/Tensor_arith_mul.h ./tensors/Tensor_arith_scalar.h ./tensors/Tensor_arith_sub.h ./tensors/Tensor_class.h ./tensors/Tensor_determinant.h ./tensors/Tensor_exp.h ./tensors/Tensor_extract_merge.h ./tensors/Tensor_index.h ./tensors/Tensor_inner.h ./tensors/Tensor_logical.h ./tensors/Tensor_outer.h ./tensors/Tensor_reality.h ./tensors/Tensor_Ta.h ./tensors/Tensor_trace.h ./tensors/Tensor_traits.h ./tensors/Tensor_transLine truncated
|
||||||
|
|
||||||
CCFILES=./Init.cc ./Log.cc ./PerfCount.cc ./algorithms/approx/MultiShiftFunction.cc ./algorithms/approx/Remez.cc ./algorithms/approx/Zolotarev.cc ./pugixml/pugixml.cc ./qcd/action/fermion/CayleyFermion5D.cc ./qcd/action/fermion/ContinuedFractionFermion5D.cc ./qcd/action/fermion/PartialFractionFermion5D.cc ./qcd/action/fermion/WilsonFermion.cc ./qcd/action/fermion/WilsonFermion5D.cc ./qcd/action/fermion/WilsonKernels.cc ./qcd/action/fermion/WilsonKernelsAsm.cc ./qcd/action/fermion/WilsonKernelsHand.cc ./qcd/action/fermion/WilsonTMFermion.cc ./qcd/hmc/HMC.cc ./qcd/spin/Dirac.cc ./qcd/utils/SpaceTimeGrid.cc ./serialisation/BinaryIO.cc ./serialisation/TextIO.cc ./serialisation/XmlIO.cc ./stencil/Lebesgue.cc ./stencil/Stencil_common.cc
|
CCFILES=./algorithms/approx/MultiShiftFunction.cc ./algorithms/approx/Remez.cc ./algorithms/approx/Zolotarev.cc ./Init.cc ./Log.cc ./PerfCount.cc ./pugixml/pugixml.cc ./qcd/action/fermion/CayleyFermion5D.cc ./qcd/action/fermion/ContinuedFractionFermion5D.cc ./qcd/action/fermion/PartialFractionFermion5D.cc ./qcd/action/fermion/WilsonFermion.cc ./qcd/action/fermion/WilsonFermion5D.cc ./qcd/action/fermion/WilsonKernels.cc ./qcd/action/fermion/WilsonKernelsAsm.cc ./qcd/action/fermion/WilsonKernelsHand.cc ./qcd/action/fermion/WilsonTMFermion.cc ./qcd/hmc/HMC.cc ./qcd/spin/Dirac.cc ./qcd/utils/SpaceTimeGrid.cc ./serialisation/BinaryIO.cc ./serialisation/TextIO.cc ./serialisation/XmlIO.cc ./stencil/Lebesgue.cc ./stencil/Stencil_common.cc
|
||||||
+7
-4
@@ -1,5 +1,5 @@
|
|||||||
# additional include paths necessary to compile the C++ library
|
# additional include paths necessary to compile the C++ library
|
||||||
AM_CXXFLAGS = -I$(top_srcdir)/
|
AM_CXXFLAGS = -I$(top_srcdir)/include/
|
||||||
|
|
||||||
extra_sources=
|
extra_sources=
|
||||||
if BUILD_COMMS_MPI
|
if BUILD_COMMS_MPI
|
||||||
@@ -17,16 +17,19 @@ endif
|
|||||||
#
|
#
|
||||||
# Libraries
|
# Libraries
|
||||||
#
|
#
|
||||||
|
|
||||||
include Make.inc
|
include Make.inc
|
||||||
|
include Eigen.inc
|
||||||
|
|
||||||
lib_LIBRARIES = libGrid.a
|
lib_LIBRARIES = libGrid.a
|
||||||
|
|
||||||
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
|
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
|
||||||
|
|
||||||
|
fftwdir = $(prefix)/lib/
|
||||||
|
fftw_DATA = libfftw3.a
|
||||||
|
|
||||||
# qcd/action/fermion/PartialFractionFermion5D.cc\ \
|
|
||||||
#
|
#
|
||||||
# Include files
|
# Include files
|
||||||
#
|
#
|
||||||
nobase_include_HEADERS=$(HFILES)
|
otherincludedir = $(includedir)/Grid
|
||||||
|
nobase_otherinclude_HEADERS =$(HFILES) $(EFILES) fftw3.h Config.h
|
||||||
|
|
||||||
+2
-2
@@ -163,8 +163,8 @@ namespace Grid {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <simd/Grid_vector_types.h>
|
#include "simd/Grid_vector_types.h"
|
||||||
#include <simd/Grid_vector_unops.h>
|
#include "simd/Grid_vector_unops.h"
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
// Default precision
|
// Default precision
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
#include <stencil/Lebesgue.h> // subdir aggregate
|
#include <Grid/stencil/Lebesgue.h> // subdir aggregate
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Must not lose sight that goal is to be able to construct really efficient
|
// Must not lose sight that goal is to be able to construct really efficient
|
||||||
|
|||||||
+17
-17
@@ -30,22 +30,22 @@ Author: neo <cossu@post.kek.jp>
|
|||||||
#ifndef GRID_MATH_H
|
#ifndef GRID_MATH_H
|
||||||
#define GRID_MATH_H
|
#define GRID_MATH_H
|
||||||
|
|
||||||
#include <tensors/Tensor_traits.h>
|
#include <Grid/tensors/Tensor_traits.h>
|
||||||
#include <tensors/Tensor_class.h>
|
#include <Grid/tensors/Tensor_class.h>
|
||||||
#include <tensors/Tensor_arith.h>
|
#include <Grid/tensors/Tensor_arith.h>
|
||||||
#include <tensors/Tensor_inner.h>
|
#include <Grid/tensors/Tensor_inner.h>
|
||||||
#include <tensors/Tensor_outer.h>
|
#include <Grid/tensors/Tensor_outer.h>
|
||||||
#include <tensors/Tensor_transpose.h>
|
#include <Grid/tensors/Tensor_transpose.h>
|
||||||
#include <tensors/Tensor_trace.h>
|
#include <Grid/tensors/Tensor_trace.h>
|
||||||
#include <tensors/Tensor_index.h>
|
#include <Grid/tensors/Tensor_index.h>
|
||||||
#include <tensors/Tensor_Ta.h>
|
#include <Grid/tensors/Tensor_Ta.h>
|
||||||
#include <tensors/Tensor_determinant.h>
|
#include <Grid/tensors/Tensor_determinant.h>
|
||||||
#include <tensors/Tensor_exp.h>
|
#include <Grid/tensors/Tensor_exp.h>
|
||||||
//#include <tensors/Tensor_peek.h>
|
//#include <Grid/tensors/Tensor_peek.h>
|
||||||
//#include <tensors/Tensor_poke.h>
|
//#include <Grid/tensors/Tensor_poke.h>
|
||||||
#include <tensors/Tensor_reality.h>
|
#include <Grid/tensors/Tensor_reality.h>
|
||||||
#include <tensors/Tensor_unary.h>
|
#include <Grid/tensors/Tensor_unary.h>
|
||||||
#include <tensors/Tensor_extract_merge.h>
|
#include <Grid/tensors/Tensor_extract_merge.h>
|
||||||
#include <tensors/Tensor_logical.h>
|
#include <Grid/tensors/Tensor_logical.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -31,7 +31,6 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_ALGORITHM_COARSENED_MATRIX_H
|
#ifndef GRID_ALGORITHM_COARSENED_MATRIX_H
|
||||||
#define GRID_ALGORITHM_COARSENED_MATRIX_H
|
#define GRID_ALGORITHM_COARSENED_MATRIX_H
|
||||||
|
|
||||||
#include <Grid.h>
|
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_ALGORITHM_SPARSE_MATRIX_H
|
#ifndef GRID_ALGORITHM_SPARSE_MATRIX_H
|
||||||
#define GRID_ALGORITHM_SPARSE_MATRIX_H
|
#define GRID_ALGORITHM_SPARSE_MATRIX_H
|
||||||
|
|
||||||
#include <Grid.h>
|
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,8 +29,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_CHEBYSHEV_H
|
#ifndef GRID_CHEBYSHEV_H
|
||||||
#define GRID_CHEBYSHEV_H
|
#define GRID_CHEBYSHEV_H
|
||||||
|
|
||||||
#include<Grid.h>
|
#include <Grid/algorithms/LinearOperator.h>
|
||||||
#include<algorithms/LinearOperator.h>
|
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -19,9 +19,9 @@
|
|||||||
#include <Config.h>
|
#include <Config.h>
|
||||||
|
|
||||||
#ifdef HAVE_GMP_H
|
#ifdef HAVE_GMP_H
|
||||||
#include <algorithms/approx/bigfloat.h>
|
#include "bigfloat.h"
|
||||||
#else
|
#else
|
||||||
#include <algorithms/approx/bigfloat_double.h>
|
#include "algorithms/approx/bigfloat_double.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define JMAX 10000 //Maximum number of iterations of Newton's approximation
|
#define JMAX 10000 //Maximum number of iterations of Newton's approximation
|
||||||
|
|||||||
@@ -130,8 +130,8 @@ DenseMatrix<T> GetSubMtx(DenseMatrix<T> &A,int row_st, int row_end, int col_st,
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <algorithms/iterative/Householder.h>
|
#include "Householder.h"
|
||||||
#include <algorithms/iterative/Francis.h>
|
#include "Francis.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -33,8 +33,8 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifdef USE_LAPACK
|
#ifdef USE_LAPACK
|
||||||
#include <lapacke.h>
|
#include <lapacke.h>
|
||||||
#endif
|
#endif
|
||||||
#include <algorithms/iterative/DenseMatrix.h>
|
#include "DenseMatrix.h"
|
||||||
#include <algorithms/iterative/EigenSort.h>
|
#include "EigenSort.h"
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_CARTESIAN_BASE_H
|
#ifndef GRID_CARTESIAN_BASE_H
|
||||||
#define GRID_CARTESIAN_BASE_H
|
#define GRID_CARTESIAN_BASE_H
|
||||||
|
|
||||||
#include <Grid.h>
|
|
||||||
|
|
||||||
namespace Grid{
|
namespace Grid{
|
||||||
|
|
||||||
|
|||||||
+17
-17
@@ -324,27 +324,27 @@ PARALLEL_FOR_LOOP
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <lattice/Lattice_conformable.h>
|
#include "Lattice_conformable.h"
|
||||||
#define GRID_LATTICE_EXPRESSION_TEMPLATES
|
#define GRID_LATTICE_EXPRESSION_TEMPLATES
|
||||||
#ifdef GRID_LATTICE_EXPRESSION_TEMPLATES
|
#ifdef GRID_LATTICE_EXPRESSION_TEMPLATES
|
||||||
#include <lattice/Lattice_ET.h>
|
#include "Lattice_ET.h"
|
||||||
#else
|
#else
|
||||||
#include <lattice/Lattice_overload.h>
|
#include "Lattice_overload.h"
|
||||||
#endif
|
#endif
|
||||||
#include <lattice/Lattice_arith.h>
|
#include "Lattice_arith.h"
|
||||||
#include <lattice/Lattice_trace.h>
|
#include "Lattice_trace.h"
|
||||||
#include <lattice/Lattice_transpose.h>
|
#include "Lattice_transpose.h"
|
||||||
#include <lattice/Lattice_local.h>
|
#include "Lattice_local.h"
|
||||||
#include <lattice/Lattice_reduction.h>
|
#include "Lattice_reduction.h"
|
||||||
#include <lattice/Lattice_peekpoke.h>
|
#include "Lattice_peekpoke.h"
|
||||||
#include <lattice/Lattice_reality.h>
|
#include "Lattice_reality.h"
|
||||||
#include <lattice/Lattice_comparison_utils.h>
|
#include "Lattice_comparison_utils.h"
|
||||||
#include <lattice/Lattice_comparison.h>
|
#include "Lattice_comparison.h"
|
||||||
#include <lattice/Lattice_coordinate.h>
|
#include "Lattice_coordinate.h"
|
||||||
#include <lattice/Lattice_where.h>
|
#include "Lattice_where.h"
|
||||||
#include <lattice/Lattice_rng.h>
|
#include "Lattice_rng.h"
|
||||||
#include <lattice/Lattice_unary.h>
|
#include "Lattice_unary.h"
|
||||||
#include <lattice/Lattice_transfer.h>
|
#include "Lattice_transfer.h"
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Include user configuration file (this can define various configuration macros)
|
// Include user configuration file (this can define various configuration macros)
|
||||||
#include <pugixml/pugiconfig.hpp>
|
#include "pugiconfig.hpp"
|
||||||
|
|
||||||
#ifndef HEADER_PUGIXML_HPP
|
#ifndef HEADER_PUGIXML_HPP
|
||||||
#define HEADER_PUGIXML_HPP
|
#define HEADER_PUGIXML_HPP
|
||||||
|
|||||||
+10
-10
@@ -484,16 +484,16 @@ namespace QCD {
|
|||||||
} //namespace QCD
|
} //namespace QCD
|
||||||
} // Grid
|
} // Grid
|
||||||
|
|
||||||
#include <qcd/utils/SpaceTimeGrid.h>
|
#include <Grid/qcd/utils/SpaceTimeGrid.h>
|
||||||
#include <qcd/spin/Dirac.h>
|
#include <Grid/qcd/spin/Dirac.h>
|
||||||
#include <qcd/spin/TwoSpinor.h>
|
#include <Grid/qcd/spin/TwoSpinor.h>
|
||||||
#include <qcd/utils/LinalgUtils.h>
|
#include <Grid/qcd/utils/LinalgUtils.h>
|
||||||
#include <qcd/utils/CovariantCshift.h>
|
#include <Grid/qcd/utils/CovariantCshift.h>
|
||||||
#include <qcd/utils/SUn.h>
|
#include <Grid/qcd/utils/SUn.h>
|
||||||
#include <qcd/action/Actions.h>
|
#include <Grid/qcd/action/Actions.h>
|
||||||
#include <qcd/hmc/integrators/Integrator.h>
|
#include <Grid/qcd/hmc/integrators/Integrator.h>
|
||||||
#include <qcd/hmc/integrators/Integrator_algorithm.h>
|
#include <Grid/qcd/hmc/integrators/Integrator_algorithm.h>
|
||||||
#include <qcd/hmc/HMC.h>
|
#include <Grid/qcd/hmc/HMC.h>
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
+39
-39
@@ -40,25 +40,25 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
// Abstract base interface
|
// Abstract base interface
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
#include <qcd/action/ActionBase.h>
|
#include <Grid/qcd/action/ActionBase.h>
|
||||||
#include <qcd/action/ActionParams.h>
|
#include <Grid/qcd/action/ActionParams.h>
|
||||||
|
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
// Utility functions
|
// Utility functions
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
#include <qcd/action/gauge/GaugeImpl.h>
|
#include <Grid/qcd/action/gauge/GaugeImpl.h>
|
||||||
#include <qcd/utils/WilsonLoops.h>
|
#include <Grid/qcd/utils/WilsonLoops.h>
|
||||||
|
|
||||||
#include <qcd/action/fermion/WilsonCompressor.h> //used by all wilson type fermions
|
#include <Grid/qcd/action/fermion/WilsonCompressor.h> //used by all wilson type fermions
|
||||||
#include <qcd/action/fermion/FermionOperatorImpl.h>
|
#include <Grid/qcd/action/fermion/FermionOperatorImpl.h>
|
||||||
#include <qcd/action/fermion/FermionOperator.h>
|
#include <Grid/qcd/action/fermion/FermionOperator.h>
|
||||||
#include <qcd/action/fermion/WilsonKernels.h> //used by all wilson type fermions
|
#include <Grid/qcd/action/fermion/WilsonKernels.h> //used by all wilson type fermions
|
||||||
|
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
// Gauge Actions
|
// Gauge Actions
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
#include <qcd/action/gauge/WilsonGaugeAction.h>
|
#include <Grid/qcd/action/gauge/WilsonGaugeAction.h>
|
||||||
#include <qcd/action/gauge/PlaqPlusRectangleAction.h>
|
#include <Grid/qcd/action/gauge/PlaqPlusRectangleAction.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
namespace QCD {
|
namespace QCD {
|
||||||
@@ -119,29 +119,29 @@ typedef SymanzikGaugeAction<ConjugateGimplD> ConjugateSymanzikGaugeAction
|
|||||||
// Fermion operators / actions
|
// Fermion operators / actions
|
||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
|
|
||||||
#include <qcd/action/fermion/WilsonFermion.h> // 4d wilson like
|
#include <Grid/qcd/action/fermion/WilsonFermion.h> // 4d wilson like
|
||||||
#include <qcd/action/fermion/WilsonTMFermion.h> // 4d wilson like
|
#include <Grid/qcd/action/fermion/WilsonTMFermion.h> // 4d wilson like
|
||||||
#include <qcd/action/fermion/WilsonFermion5D.h> // 5d base used by all 5d overlap types
|
#include <Grid/qcd/action/fermion/WilsonFermion5D.h> // 5d base used by all 5d overlap types
|
||||||
|
|
||||||
//#include <qcd/action/fermion/CloverFermion.h>
|
//#include <Grid/qcd/action/fermion/CloverFermion.h>
|
||||||
|
|
||||||
#include <qcd/action/fermion/CayleyFermion5D.h> // Cayley types
|
#include <Grid/qcd/action/fermion/CayleyFermion5D.h> // Cayley types
|
||||||
#include <qcd/action/fermion/DomainWallFermion.h>
|
#include <Grid/qcd/action/fermion/DomainWallFermion.h>
|
||||||
#include <qcd/action/fermion/DomainWallFermion.h>
|
#include <Grid/qcd/action/fermion/DomainWallFermion.h>
|
||||||
#include <qcd/action/fermion/MobiusFermion.h>
|
#include <Grid/qcd/action/fermion/MobiusFermion.h>
|
||||||
#include <qcd/action/fermion/ScaledShamirFermion.h>
|
#include <Grid/qcd/action/fermion/ScaledShamirFermion.h>
|
||||||
#include <qcd/action/fermion/MobiusZolotarevFermion.h>
|
#include <Grid/qcd/action/fermion/MobiusZolotarevFermion.h>
|
||||||
#include <qcd/action/fermion/ShamirZolotarevFermion.h>
|
#include <Grid/qcd/action/fermion/ShamirZolotarevFermion.h>
|
||||||
#include <qcd/action/fermion/OverlapWilsonCayleyTanhFermion.h>
|
#include <Grid/qcd/action/fermion/OverlapWilsonCayleyTanhFermion.h>
|
||||||
#include <qcd/action/fermion/OverlapWilsonCayleyZolotarevFermion.h>
|
#include <Grid/qcd/action/fermion/OverlapWilsonCayleyZolotarevFermion.h>
|
||||||
|
|
||||||
#include <qcd/action/fermion/ContinuedFractionFermion5D.h> // Continued fraction
|
#include <Grid/qcd/action/fermion/ContinuedFractionFermion5D.h> // Continued fraction
|
||||||
#include <qcd/action/fermion/OverlapWilsonContfracTanhFermion.h>
|
#include <Grid/qcd/action/fermion/OverlapWilsonContfracTanhFermion.h>
|
||||||
#include <qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h>
|
#include <Grid/qcd/action/fermion/OverlapWilsonContfracZolotarevFermion.h>
|
||||||
|
|
||||||
#include <qcd/action/fermion/PartialFractionFermion5D.h> // Partial fraction
|
#include <Grid/qcd/action/fermion/PartialFractionFermion5D.h> // Partial fraction
|
||||||
#include <qcd/action/fermion/OverlapWilsonPartialFractionTanhFermion.h>
|
#include <Grid/qcd/action/fermion/OverlapWilsonPartialFractionTanhFermion.h>
|
||||||
#include <qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h>
|
#include <Grid/qcd/action/fermion/OverlapWilsonPartialFractionZolotarevFermion.h>
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// More maintainable to maintain the following typedef list centrally, as more "impl" targets
|
// More maintainable to maintain the following typedef list centrally, as more "impl" targets
|
||||||
@@ -222,21 +222,21 @@ typedef MobiusFermion<GparityWilsonImplD> GparityMobiusFermionD;
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// G5 herm -- this has to live in QCD since dirac matrix is not in the broader sector of code
|
// G5 herm -- this has to live in QCD since dirac matrix is not in the broader sector of code
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#include <qcd/action/fermion/g5HermitianLinop.h>
|
#include <Grid/qcd/action/fermion/g5HermitianLinop.h>
|
||||||
|
|
||||||
////////////////////////////////////////
|
////////////////////////////////////////
|
||||||
// Pseudo fermion combinations for HMC
|
// Pseudo fermion combinations for HMC
|
||||||
////////////////////////////////////////
|
////////////////////////////////////////
|
||||||
#include <qcd/action/pseudofermion/EvenOddSchurDifferentiable.h>
|
#include <Grid/qcd/action/pseudofermion/EvenOddSchurDifferentiable.h>
|
||||||
|
|
||||||
#include <qcd/action/pseudofermion/TwoFlavour.h>
|
#include <Grid/qcd/action/pseudofermion/TwoFlavour.h>
|
||||||
#include <qcd/action/pseudofermion/TwoFlavourRatio.h>
|
#include <Grid/qcd/action/pseudofermion/TwoFlavourRatio.h>
|
||||||
#include <qcd/action/pseudofermion/TwoFlavourEvenOdd.h>
|
#include <Grid/qcd/action/pseudofermion/TwoFlavourEvenOdd.h>
|
||||||
#include <qcd/action/pseudofermion/TwoFlavourEvenOddRatio.h>
|
#include <Grid/qcd/action/pseudofermion/TwoFlavourEvenOddRatio.h>
|
||||||
|
|
||||||
#include <qcd/action/pseudofermion/OneFlavourRational.h>
|
#include <Grid/qcd/action/pseudofermion/OneFlavourRational.h>
|
||||||
#include <qcd/action/pseudofermion/OneFlavourRationalRatio.h>
|
#include <Grid/qcd/action/pseudofermion/OneFlavourRationalRatio.h>
|
||||||
#include <qcd/action/pseudofermion/OneFlavourEvenOddRational.h>
|
#include <Grid/qcd/action/pseudofermion/OneFlavourEvenOddRational.h>
|
||||||
#include <qcd/action/pseudofermion/OneFlavourEvenOddRationalRatio.h>
|
#include <Grid/qcd/action/pseudofermion/OneFlavourEvenOddRationalRatio.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_QCD_DOMAIN_WALL_FERMION_H
|
#ifndef GRID_QCD_DOMAIN_WALL_FERMION_H
|
||||||
#define GRID_QCD_DOMAIN_WALL_FERMION_H
|
#define GRID_QCD_DOMAIN_WALL_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_QCD_MOBIUS_FERMION_H
|
#ifndef GRID_QCD_MOBIUS_FERMION_H
|
||||||
#define GRID_QCD_MOBIUS_FERMION_H
|
#define GRID_QCD_MOBIUS_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_QCD_MOBIUS_ZOLOTAREV_FERMION_H
|
#ifndef GRID_QCD_MOBIUS_ZOLOTAREV_FERMION_H
|
||||||
#define GRID_QCD_MOBIUS_ZOLOTAREV_FERMION_H
|
#define GRID_QCD_MOBIUS_ZOLOTAREV_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef OVERLAP_WILSON_CAYLEY_TANH_FERMION_H
|
#ifndef OVERLAP_WILSON_CAYLEY_TANH_FERMION_H
|
||||||
#define OVERLAP_WILSON_CAYLEY_TANH_FERMION_H
|
#define OVERLAP_WILSON_CAYLEY_TANH_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef OVERLAP_WILSON_CAYLEY_ZOLOTAREV_FERMION_H
|
#ifndef OVERLAP_WILSON_CAYLEY_ZOLOTAREV_FERMION_H
|
||||||
#define OVERLAP_WILSON_CAYLEY_ZOLOTAREV_FERMION_H
|
#define OVERLAP_WILSON_CAYLEY_ZOLOTAREV_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef OVERLAP_WILSON_CONTFRAC_TANH_FERMION_H
|
#ifndef OVERLAP_WILSON_CONTFRAC_TANH_FERMION_H
|
||||||
#define OVERLAP_WILSON_CONTFRAC_TANH_FERMION_H
|
#define OVERLAP_WILSON_CONTFRAC_TANH_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef OVERLAP_WILSON_CONTFRAC_ZOLOTAREV_FERMION_H
|
#ifndef OVERLAP_WILSON_CONTFRAC_ZOLOTAREV_FERMION_H
|
||||||
#define OVERLAP_WILSON_CONTFRAC_ZOLOTAREV_FERMION_H
|
#define OVERLAP_WILSON_CONTFRAC_ZOLOTAREV_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef OVERLAP_WILSON_PARTFRAC_TANH_FERMION_H
|
#ifndef OVERLAP_WILSON_PARTFRAC_TANH_FERMION_H
|
||||||
#define OVERLAP_WILSON_PARTFRAC_TANH_FERMION_H
|
#define OVERLAP_WILSON_PARTFRAC_TANH_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef OVERLAP_WILSON_PARTFRAC_ZOLOTAREV_FERMION_H
|
#ifndef OVERLAP_WILSON_PARTFRAC_ZOLOTAREV_FERMION_H
|
||||||
#define OVERLAP_WILSON_PARTFRAC_ZOLOTAREV_FERMION_H
|
#define OVERLAP_WILSON_PARTFRAC_ZOLOTAREV_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_QCD_SCALED_SHAMIR_FERMION_H
|
#ifndef GRID_QCD_SCALED_SHAMIR_FERMION_H
|
||||||
#define GRID_QCD_SCALED_SHAMIR_FERMION_H
|
#define GRID_QCD_SCALED_SHAMIR_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_QCD_SHAMIR_ZOLOTAREV_FERMION_H
|
#ifndef GRID_QCD_SHAMIR_ZOLOTAREV_FERMION_H
|
||||||
#define GRID_QCD_SHAMIR_ZOLOTAREV_FERMION_H
|
#define GRID_QCD_SHAMIR_ZOLOTAREV_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_QCD_WILSON_TM_FERMION_H
|
#ifndef GRID_QCD_WILSON_TM_FERMION_H
|
||||||
#define GRID_QCD_WILSON_TM_FERMION_H
|
#define GRID_QCD_WILSON_TM_FERMION_H
|
||||||
|
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
|
|||||||
@@ -29,18 +29,18 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_SERIALISATION_READER_H
|
#ifndef GRID_SERIALISATION_READER_H
|
||||||
#define GRID_SERIALISATION_READER_H
|
#define GRID_SERIALISATION_READER_H
|
||||||
|
|
||||||
#include <serialisation/MacroMagic.h>
|
|
||||||
#include <serialisation/BaseIO.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "MacroMagic.h"
|
||||||
|
#include "BaseIO.h"
|
||||||
|
#include "BinaryIO.h"
|
||||||
|
#include "TextIO.h"
|
||||||
|
#include "XmlIO.h"
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
// Todo:
|
// Todo:
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
#include <serialisation/BinaryIO.h>
|
//#include "JsonIO.h"
|
||||||
#include <serialisation/TextIO.h>
|
//#include "YamlIO.h"
|
||||||
//#include <serialisation/JsonIO.h>
|
|
||||||
//#include <serialisation/YamlIO.h>
|
|
||||||
#include <serialisation/XmlIO.h>
|
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
// Select the default serialiser use ifdef's
|
// Select the default serialiser use ifdef's
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "pugixml/pugixml.h"
|
#include <Grid/pugixml/pugixml.h>
|
||||||
|
|
||||||
namespace Grid
|
namespace Grid
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -90,8 +90,8 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
#define Chimu_31 UChi_11
|
#define Chimu_31 UChi_11
|
||||||
#define Chimu_32 UChi_12
|
#define Chimu_32 UChi_12
|
||||||
|
|
||||||
#include <simd/Intel512common.h>
|
#include "Intel512common.h"
|
||||||
#include <simd/Intel512avx.h>
|
#include "Intel512avx.h"
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
// Macros used to build wilson kernel -- can rationalise and simplify
|
// Macros used to build wilson kernel -- can rationalise and simplify
|
||||||
|
|||||||
@@ -28,11 +28,11 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
#ifndef GRID_MATH_ARITH_H
|
#ifndef GRID_MATH_ARITH_H
|
||||||
#define GRID_MATH_ARITH_H
|
#define GRID_MATH_ARITH_H
|
||||||
|
|
||||||
#include <tensors/Tensor_arith_add.h>
|
#include "Tensor_arith_add.h"
|
||||||
#include <tensors/Tensor_arith_sub.h>
|
#include "Tensor_arith_sub.h"
|
||||||
#include <tensors/Tensor_arith_mac.h>
|
#include "Tensor_arith_mac.h"
|
||||||
#include <tensors/Tensor_arith_mul.h>
|
#include "Tensor_arith_mul.h"
|
||||||
#include <tensors/Tensor_arith_scalar.h>
|
#include "Tensor_arith_scalar.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
FFTFLAGS=$(filter-out -std=c++11, $(CXXFLAGS) )
|
||||||
|
|
||||||
|
EIGENVER=3.2.8
|
||||||
|
EIGEN=eigen$(EIGENVER)
|
||||||
|
EIGENTAR=$(EIGEN).tar.bz2
|
||||||
|
EIGENURL=https://bitbucket.org/eigen/eigen/get/$(EIGENVER).tar.bz2
|
||||||
|
|
||||||
|
FFTWVER=3.3.4
|
||||||
|
FFTW=fftw-$(FFTWVER)
|
||||||
|
FFTWTAR=fftw-$(FFTWVER).tar.gz
|
||||||
|
FFTWURL=http://www.fftw.org/$(FFTWTAR)
|
||||||
|
|
||||||
|
all: Eigen FFTW headerlist
|
||||||
|
|
||||||
|
$(top_srcdir)/prerequisites/$(EIGENTAR):
|
||||||
|
curl -v $(EIGENURL) -o $(top_srcdir)/prerequisites/$(EIGENTAR)
|
||||||
|
|
||||||
|
$(top_srcdir)/prerequisites/$(FFTWTAR):
|
||||||
|
curl -v $(FFTWURL) -o $(top_srcdir)/prerequisites/$(FFTWTAR)
|
||||||
|
|
||||||
|
Eigen: $(top_srcdir)/prerequisites/$(EIGENTAR)
|
||||||
|
tar xvf $(top_srcdir)/prerequisites/$(EIGENTAR)
|
||||||
|
- rm -rf ../include/Grid/Eigen
|
||||||
|
mv eigen-eigen*/Eigen .
|
||||||
|
echo EFILES=`find Eigen -type f -name '*.h' ` | sed > $(top_srcdir)/lib/Eigen.inc
|
||||||
|
mv Eigen ../include/Grid/
|
||||||
|
touch Eigen
|
||||||
|
|
||||||
|
FFTW: $(top_srcdir)/prerequisites/$(FFTWTAR)
|
||||||
|
tar xvf $(top_srcdir)/prerequisites/$(FFTWTAR)
|
||||||
|
cd $(FFTW) && ./configure --prefix=@abs_top_builddir@/prerequisites/fftwinstall CFLAGS="$(FFTFLAGS)" CC=$(CC) LDFLAGS="$(LDFLAGS)" && make all install
|
||||||
|
cp -pr fftwinstall/include/fftw3.h ../include/Grid/
|
||||||
|
cp -pr fftwinstall/lib/libfftw3.a ../lib/
|
||||||
|
touch FFTW
|
||||||
|
|
||||||
|
headerlist:
|
||||||
|
cd $(top_srcdir) && ./scripts/filelist
|
||||||
|
touch headerlist
|
||||||
Binary file not shown.
Binary file not shown.
+14
-28
@@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd lib
|
|
||||||
|
|
||||||
|
home=`pwd`
|
||||||
|
|
||||||
|
cd $home/lib
|
||||||
HFILES=`find . -type f -name '*.h'`
|
HFILES=`find . -type f -name '*.h'`
|
||||||
CCFILES=`find . -type f -name '*.cc' -not -name '*ommunicator*.cc'`
|
CCFILES=`find . -type f -name '*.cc' -not -name '*ommunicator*.cc'`
|
||||||
echo> Make.inc
|
echo> Make.inc
|
||||||
@@ -9,18 +10,24 @@ echo HFILES=$HFILES >> Make.inc
|
|||||||
echo >> Make.inc
|
echo >> Make.inc
|
||||||
echo CCFILES=$CCFILES >> Make.inc
|
echo CCFILES=$CCFILES >> Make.inc
|
||||||
|
|
||||||
cd ..
|
cd $home/tests
|
||||||
|
|
||||||
cd tests
|
dirs=`find . -type d `
|
||||||
|
|
||||||
|
for subdir in $dirs
|
||||||
|
do
|
||||||
|
|
||||||
|
pwd
|
||||||
|
echo subdir is $subdir of $dirs
|
||||||
|
|
||||||
|
cd $home/tests/$subdir
|
||||||
|
|
||||||
echo> Make.inc
|
|
||||||
TESTS=`ls T*.cc`
|
TESTS=`ls T*.cc`
|
||||||
TESTLIST=`echo ${TESTS} | sed s/.cc//g `
|
TESTLIST=`echo ${TESTS} | sed s/.cc//g `
|
||||||
|
|
||||||
echo > Make.inc
|
echo > Make.inc
|
||||||
echo bin_PROGRAMS += ${TESTLIST} | sed s/Test_zmm//g >> Make.inc
|
echo bin_PROGRAMS += ${TESTLIST} | sed s/Test_zmm//g >> Make.inc
|
||||||
echo >> Make.inc
|
echo >> Make.inc
|
||||||
|
|
||||||
for f in $TESTS
|
for f in $TESTS
|
||||||
do
|
do
|
||||||
BNAME=`basename $f .cc`
|
BNAME=`basename $f .cc`
|
||||||
@@ -30,31 +37,10 @@ echo ${BNAME}_LDADD=-lGrid>> Make.inc
|
|||||||
echo >> Make.inc
|
echo >> Make.inc
|
||||||
done
|
done
|
||||||
|
|
||||||
cd qdpxx
|
|
||||||
|
|
||||||
echo> Make.inc
|
|
||||||
TESTS=`ls T*.cc`
|
|
||||||
TESTLIST=`echo ${TESTS} | sed s/.cc//g `
|
|
||||||
|
|
||||||
echo > Make.inc
|
|
||||||
echo bin_PROGRAMS = ${TESTLIST} >> Make.inc
|
|
||||||
echo >> Make.inc
|
|
||||||
|
|
||||||
for f in $TESTS
|
|
||||||
do
|
|
||||||
BNAME=`basename $f .cc`
|
|
||||||
echo >> Make.inc
|
|
||||||
echo ${BNAME}_SOURCES=$f >> Make.inc
|
|
||||||
echo ${BNAME}_LDADD=-lGrid>> Make.inc
|
|
||||||
echo >> Make.inc
|
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ..
|
cd $home/benchmarks
|
||||||
cd ..
|
|
||||||
|
|
||||||
|
|
||||||
cd benchmarks
|
|
||||||
|
|
||||||
|
|
||||||
echo> Make.inc
|
echo> Make.inc
|
||||||
TESTS=`ls B*.cc`
|
TESTS=`ls B*.cc`
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
bin_PROGRAMS += Test_nersc_io Test_serialisation
|
||||||
|
|
||||||
|
|
||||||
|
Test_nersc_io_SOURCES=Test_nersc_io.cc
|
||||||
|
Test_nersc_io_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_serialisation_SOURCES=Test_serialisation.cc
|
||||||
|
Test_serialisation_LDADD=-lGrid
|
||||||
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# additional include paths necessary to compile the C++ library
|
||||||
|
|
||||||
|
bin_PROGRAMS =
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
AM_CXXFLAGS = -I$(top_srcdir)/include
|
||||||
|
AM_LDFLAGS = -L$(top_builddir)/lib
|
||||||
|
|
||||||
|
if USE_LAPACK
|
||||||
|
AM_CXXFLAGS += -DUSE_LAPACK
|
||||||
|
if USE_LAPACK_LIB
|
||||||
|
#if test "X${ac_LAPACK}X" != XyesX
|
||||||
|
AM_CXXFLAGS += -I$(ac_LAPACK)/include
|
||||||
|
AM_LDFLAGS += -L$(ac_LAPACK)/lib
|
||||||
|
#fi
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
include Make.inc
|
||||||
@@ -27,7 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,7 +26,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
+1
-273
@@ -1,239 +1,11 @@
|
|||||||
|
|
||||||
bin_PROGRAMS += Test_GaugeAction Test_RectPlaq Test_cayley_cg Test_cayley_coarsen_support Test_cayley_even_odd Test_cayley_ldop_cr Test_cf_coarsen_support Test_cf_cr_unprec Test_cheby Test_contfrac_cg Test_contfrac_even_odd Test_contfrac_force Test_cshift Test_cshift_red_black Test_cshift_red_black_rotate Test_cshift_rotate Test_dwf_cg_prec Test_dwf_cg_schur Test_dwf_cg_unprec Test_dwf_cr_unprec Test_dwf_even_odd Test_dwf_force Test_dwf_fpgcr Test_dwf_gpforce Test_dwf_hdcr Test_dwf_lanczos Test_dwf_rb5d Test_gamma Test_gp_rect_force Test_gparity Test_gpdwf_force Test_gpwilson_even_odd Test_hmc_EODWFRatio Test_hmc_EODWFRatio_Gparity Test_hmc_EOWilsonFermionGauge Test_hmc_EOWilsonRatio Test_hmc_GparityIwasakiGauge Test_hmc_GparityWilsonGauge Test_hmc_IwasakiGauge Test_hmc_RectGauge Test_hmc_WilsonFermionGauge Test_hmc_WilsonGauge Test_hmc_WilsonRatio Test_lie_generators Test_main Test_multishift_sqrt Test_nersc_io Test_partfrac_force Test_quenched_update Test_rect_force Test_remez Test_rhmc_EOWilson1p1 Test_rhmc_EOWilsonRatio Test_rhmc_Wilson1p1 Test_rhmc_WilsonRatio Test_rng Test_rng_fixed Test_serialisation Test_simd Test_stencil Test_synthetic_lanczos Test_wilson_cg_prec Test_wilson_cg_schur Test_wilson_cg_unprec Test_wilson_cr_unprec Test_wilson_even_odd Test_wilson_force Test_wilson_force_phiMdagMphi Test_wilson_force_phiMphi Test_wilson_tm_even_odd
|
bin_PROGRAMS += Test_cshift Test_simd Test_stencil
|
||||||
|
|
||||||
|
|
||||||
Test_GaugeAction_SOURCES=Test_GaugeAction.cc
|
|
||||||
Test_GaugeAction_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_RectPlaq_SOURCES=Test_RectPlaq.cc
|
|
||||||
Test_RectPlaq_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cayley_cg_SOURCES=Test_cayley_cg.cc
|
|
||||||
Test_cayley_cg_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cayley_coarsen_support_SOURCES=Test_cayley_coarsen_support.cc
|
|
||||||
Test_cayley_coarsen_support_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cayley_even_odd_SOURCES=Test_cayley_even_odd.cc
|
|
||||||
Test_cayley_even_odd_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cayley_ldop_cr_SOURCES=Test_cayley_ldop_cr.cc
|
|
||||||
Test_cayley_ldop_cr_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cf_coarsen_support_SOURCES=Test_cf_coarsen_support.cc
|
|
||||||
Test_cf_coarsen_support_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cf_cr_unprec_SOURCES=Test_cf_cr_unprec.cc
|
|
||||||
Test_cf_cr_unprec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cheby_SOURCES=Test_cheby.cc
|
|
||||||
Test_cheby_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_contfrac_cg_SOURCES=Test_contfrac_cg.cc
|
|
||||||
Test_contfrac_cg_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_contfrac_even_odd_SOURCES=Test_contfrac_even_odd.cc
|
|
||||||
Test_contfrac_even_odd_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_contfrac_force_SOURCES=Test_contfrac_force.cc
|
|
||||||
Test_contfrac_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cshift_SOURCES=Test_cshift.cc
|
Test_cshift_SOURCES=Test_cshift.cc
|
||||||
Test_cshift_LDADD=-lGrid
|
Test_cshift_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
Test_cshift_red_black_SOURCES=Test_cshift_red_black.cc
|
|
||||||
Test_cshift_red_black_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cshift_red_black_rotate_SOURCES=Test_cshift_red_black_rotate.cc
|
|
||||||
Test_cshift_red_black_rotate_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_cshift_rotate_SOURCES=Test_cshift_rotate.cc
|
|
||||||
Test_cshift_rotate_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_cg_prec_SOURCES=Test_dwf_cg_prec.cc
|
|
||||||
Test_dwf_cg_prec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_cg_schur_SOURCES=Test_dwf_cg_schur.cc
|
|
||||||
Test_dwf_cg_schur_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_cg_unprec_SOURCES=Test_dwf_cg_unprec.cc
|
|
||||||
Test_dwf_cg_unprec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_cr_unprec_SOURCES=Test_dwf_cr_unprec.cc
|
|
||||||
Test_dwf_cr_unprec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_even_odd_SOURCES=Test_dwf_even_odd.cc
|
|
||||||
Test_dwf_even_odd_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_force_SOURCES=Test_dwf_force.cc
|
|
||||||
Test_dwf_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_fpgcr_SOURCES=Test_dwf_fpgcr.cc
|
|
||||||
Test_dwf_fpgcr_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_gpforce_SOURCES=Test_dwf_gpforce.cc
|
|
||||||
Test_dwf_gpforce_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_hdcr_SOURCES=Test_dwf_hdcr.cc
|
|
||||||
Test_dwf_hdcr_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_lanczos_SOURCES=Test_dwf_lanczos.cc
|
|
||||||
Test_dwf_lanczos_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_dwf_rb5d_SOURCES=Test_dwf_rb5d.cc
|
|
||||||
Test_dwf_rb5d_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_gamma_SOURCES=Test_gamma.cc
|
|
||||||
Test_gamma_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_gp_rect_force_SOURCES=Test_gp_rect_force.cc
|
|
||||||
Test_gp_rect_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_gparity_SOURCES=Test_gparity.cc
|
|
||||||
Test_gparity_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_gpdwf_force_SOURCES=Test_gpdwf_force.cc
|
|
||||||
Test_gpdwf_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_gpwilson_even_odd_SOURCES=Test_gpwilson_even_odd.cc
|
|
||||||
Test_gpwilson_even_odd_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_EODWFRatio_SOURCES=Test_hmc_EODWFRatio.cc
|
|
||||||
Test_hmc_EODWFRatio_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_EODWFRatio_Gparity_SOURCES=Test_hmc_EODWFRatio_Gparity.cc
|
|
||||||
Test_hmc_EODWFRatio_Gparity_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_EOWilsonFermionGauge_SOURCES=Test_hmc_EOWilsonFermionGauge.cc
|
|
||||||
Test_hmc_EOWilsonFermionGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_EOWilsonRatio_SOURCES=Test_hmc_EOWilsonRatio.cc
|
|
||||||
Test_hmc_EOWilsonRatio_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_GparityIwasakiGauge_SOURCES=Test_hmc_GparityIwasakiGauge.cc
|
|
||||||
Test_hmc_GparityIwasakiGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_GparityWilsonGauge_SOURCES=Test_hmc_GparityWilsonGauge.cc
|
|
||||||
Test_hmc_GparityWilsonGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_IwasakiGauge_SOURCES=Test_hmc_IwasakiGauge.cc
|
|
||||||
Test_hmc_IwasakiGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_RectGauge_SOURCES=Test_hmc_RectGauge.cc
|
|
||||||
Test_hmc_RectGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_WilsonFermionGauge_SOURCES=Test_hmc_WilsonFermionGauge.cc
|
|
||||||
Test_hmc_WilsonFermionGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_WilsonGauge_SOURCES=Test_hmc_WilsonGauge.cc
|
|
||||||
Test_hmc_WilsonGauge_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_hmc_WilsonRatio_SOURCES=Test_hmc_WilsonRatio.cc
|
|
||||||
Test_hmc_WilsonRatio_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_lie_generators_SOURCES=Test_lie_generators.cc
|
|
||||||
Test_lie_generators_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_main_SOURCES=Test_main.cc
|
|
||||||
Test_main_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_multishift_sqrt_SOURCES=Test_multishift_sqrt.cc
|
|
||||||
Test_multishift_sqrt_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_nersc_io_SOURCES=Test_nersc_io.cc
|
|
||||||
Test_nersc_io_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_partfrac_force_SOURCES=Test_partfrac_force.cc
|
|
||||||
Test_partfrac_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_quenched_update_SOURCES=Test_quenched_update.cc
|
|
||||||
Test_quenched_update_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rect_force_SOURCES=Test_rect_force.cc
|
|
||||||
Test_rect_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_remez_SOURCES=Test_remez.cc
|
|
||||||
Test_remez_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rhmc_EOWilson1p1_SOURCES=Test_rhmc_EOWilson1p1.cc
|
|
||||||
Test_rhmc_EOWilson1p1_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rhmc_EOWilsonRatio_SOURCES=Test_rhmc_EOWilsonRatio.cc
|
|
||||||
Test_rhmc_EOWilsonRatio_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rhmc_Wilson1p1_SOURCES=Test_rhmc_Wilson1p1.cc
|
|
||||||
Test_rhmc_Wilson1p1_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rhmc_WilsonRatio_SOURCES=Test_rhmc_WilsonRatio.cc
|
|
||||||
Test_rhmc_WilsonRatio_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rng_SOURCES=Test_rng.cc
|
|
||||||
Test_rng_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_rng_fixed_SOURCES=Test_rng_fixed.cc
|
|
||||||
Test_rng_fixed_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_serialisation_SOURCES=Test_serialisation.cc
|
|
||||||
Test_serialisation_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_simd_SOURCES=Test_simd.cc
|
Test_simd_SOURCES=Test_simd.cc
|
||||||
Test_simd_LDADD=-lGrid
|
Test_simd_LDADD=-lGrid
|
||||||
|
|
||||||
@@ -241,47 +13,3 @@ Test_simd_LDADD=-lGrid
|
|||||||
Test_stencil_SOURCES=Test_stencil.cc
|
Test_stencil_SOURCES=Test_stencil.cc
|
||||||
Test_stencil_LDADD=-lGrid
|
Test_stencil_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
Test_synthetic_lanczos_SOURCES=Test_synthetic_lanczos.cc
|
|
||||||
Test_synthetic_lanczos_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_cg_prec_SOURCES=Test_wilson_cg_prec.cc
|
|
||||||
Test_wilson_cg_prec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_cg_schur_SOURCES=Test_wilson_cg_schur.cc
|
|
||||||
Test_wilson_cg_schur_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_cg_unprec_SOURCES=Test_wilson_cg_unprec.cc
|
|
||||||
Test_wilson_cg_unprec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_cr_unprec_SOURCES=Test_wilson_cr_unprec.cc
|
|
||||||
Test_wilson_cr_unprec_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_even_odd_SOURCES=Test_wilson_even_odd.cc
|
|
||||||
Test_wilson_even_odd_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_force_SOURCES=Test_wilson_force.cc
|
|
||||||
Test_wilson_force_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_force_phiMdagMphi_SOURCES=Test_wilson_force_phiMdagMphi.cc
|
|
||||||
Test_wilson_force_phiMdagMphi_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_force_phiMphi_SOURCES=Test_wilson_force_phiMphi.cc
|
|
||||||
Test_wilson_force_phiMphi_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_wilson_tm_even_odd_SOURCES=Test_wilson_tm_even_odd.cc
|
|
||||||
Test_wilson_tm_even_odd_LDADD=-lGrid
|
|
||||||
|
|
||||||
|
|
||||||
Test_zmm_SOURCES=Test_zmm.cc
|
|
||||||
Test_zmm_LDADD=-lGrid
|
|
||||||
|
|
||||||
+7
-8
@@ -1,11 +1,16 @@
|
|||||||
# additional include paths necessary to compile the C++ library
|
# additional include paths necessary to compile the C++ library
|
||||||
|
|
||||||
SUBDIRS =
|
SUBDIRS = core
|
||||||
|
|
||||||
|
# Uncomment to enable complete test suite build
|
||||||
|
#SUBDIRS = core forces hmc solver debug
|
||||||
|
|
||||||
if BUILD_CHROMA_REGRESSION
|
if BUILD_CHROMA_REGRESSION
|
||||||
SUBDIRS+= qdpxx
|
SUBDIRS+= qdpxx
|
||||||
endif
|
endif
|
||||||
|
bin_PROGRAMS =
|
||||||
|
|
||||||
AM_CXXFLAGS = -I$(top_srcdir)/lib
|
AM_CXXFLAGS = -I$(top_srcdir)/include
|
||||||
AM_LDFLAGS = -L$(top_builddir)/lib
|
AM_LDFLAGS = -L$(top_builddir)/lib
|
||||||
|
|
||||||
if USE_LAPACK
|
if USE_LAPACK
|
||||||
@@ -18,10 +23,4 @@ AM_LDFLAGS += -L$(ac_LAPACK)/lib
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if BUILD_ZMM
|
|
||||||
bin_PROGRAMS=Test_zmm
|
|
||||||
else
|
|
||||||
bin_PROGRAMS=
|
|
||||||
endif
|
|
||||||
|
|
||||||
include Make.inc
|
include Make.inc
|
||||||
@@ -26,7 +26,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
using namespace Grid::QCD;
|
using namespace Grid::QCD;
|
||||||
|
|||||||
+1
-1
@@ -26,7 +26,7 @@ Author: neo <cossu@post.kek.jp>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include "Grid.h"
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
|
||||||
|
bin_PROGRAMS += Test_GaugeAction Test_RectPlaq Test_cf_coarsen_support Test_contfrac_even_odd Test_cshift_red_black Test_cshift_red_black_rotate Test_cshift_rotate Test_dwf_even_odd Test_dwf_rb5d Test_gamma Test_gparity Test_gpwilson_even_odd Test_lie_generators Test_main Test_quenched_update Test_rng Test_rng_fixed Test_wilson_even_odd Test_wilson_tm_even_odd
|
||||||
|
|
||||||
|
|
||||||
|
Test_GaugeAction_SOURCES=Test_GaugeAction.cc
|
||||||
|
Test_GaugeAction_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_RectPlaq_SOURCES=Test_RectPlaq.cc
|
||||||
|
Test_RectPlaq_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cf_coarsen_support_SOURCES=Test_cf_coarsen_support.cc
|
||||||
|
Test_cf_coarsen_support_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_contfrac_even_odd_SOURCES=Test_contfrac_even_odd.cc
|
||||||
|
Test_contfrac_even_odd_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cshift_red_black_SOURCES=Test_cshift_red_black.cc
|
||||||
|
Test_cshift_red_black_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cshift_red_black_rotate_SOURCES=Test_cshift_red_black_rotate.cc
|
||||||
|
Test_cshift_red_black_rotate_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cshift_rotate_SOURCES=Test_cshift_rotate.cc
|
||||||
|
Test_cshift_rotate_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_dwf_even_odd_SOURCES=Test_dwf_even_odd.cc
|
||||||
|
Test_dwf_even_odd_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_dwf_rb5d_SOURCES=Test_dwf_rb5d.cc
|
||||||
|
Test_dwf_rb5d_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_gamma_SOURCES=Test_gamma.cc
|
||||||
|
Test_gamma_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_gparity_SOURCES=Test_gparity.cc
|
||||||
|
Test_gparity_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_gpwilson_even_odd_SOURCES=Test_gpwilson_even_odd.cc
|
||||||
|
Test_gpwilson_even_odd_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_lie_generators_SOURCES=Test_lie_generators.cc
|
||||||
|
Test_lie_generators_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_main_SOURCES=Test_main.cc
|
||||||
|
Test_main_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_quenched_update_SOURCES=Test_quenched_update.cc
|
||||||
|
Test_quenched_update_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_rng_SOURCES=Test_rng.cc
|
||||||
|
Test_rng_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_rng_fixed_SOURCES=Test_rng_fixed.cc
|
||||||
|
Test_rng_fixed_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_wilson_even_odd_SOURCES=Test_wilson_even_odd.cc
|
||||||
|
Test_wilson_even_odd_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_wilson_tm_even_odd_SOURCES=Test_wilson_tm_even_odd.cc
|
||||||
|
Test_wilson_tm_even_odd_LDADD=-lGrid
|
||||||
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# additional include paths necessary to compile the C++ library
|
||||||
|
|
||||||
|
bin_PROGRAMS =
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
AM_CXXFLAGS = -I$(top_srcdir)/include
|
||||||
|
AM_LDFLAGS = -L$(top_builddir)/lib
|
||||||
|
|
||||||
|
if USE_LAPACK
|
||||||
|
AM_CXXFLAGS += -DUSE_LAPACK
|
||||||
|
if USE_LAPACK_LIB
|
||||||
|
#if test "X${ac_LAPACK}X" != XyesX
|
||||||
|
AM_CXXFLAGS += -I$(ac_LAPACK)/include
|
||||||
|
AM_LDFLAGS += -L$(ac_LAPACK)/lib
|
||||||
|
#fi
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
include Make.inc
|
||||||
@@ -27,10 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
#include <qcd/utils/CovariantCshift.h>
|
|
||||||
#include <qcd/utils/WilsonLoops.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,10 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
#include <qcd/utils/CovariantCshift.h>
|
|
||||||
#include <qcd/utils/WilsonLoops.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -27,7 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
using namespace Grid::QCD;
|
using namespace Grid::QCD;
|
||||||
@@ -27,7 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
using namespace Grid::QCD;
|
using namespace Grid::QCD;
|
||||||
@@ -26,7 +26,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
using namespace Grid::QCD;
|
using namespace Grid::QCD;
|
||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,7 +26,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -27,7 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,11 +26,8 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
#include <qcd/utils/CovariantCshift.h>
|
|
||||||
#include <qcd/utils/WilsonLoops.h>
|
|
||||||
#include <qcd/utils/SUn.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -28,7 +28,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include "Grid.h"
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@@ -26,11 +26,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
#include <qcd/utils/CovariantCshift.h>
|
|
||||||
#include <qcd/utils/WilsonLoops.h>
|
|
||||||
#include <qcd/utils/SUn.h>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
bin_PROGRAMS += Test_cayley_cg Test_cayley_coarsen_support Test_cayley_even_odd Test_cayley_ldop_cr Test_cheby Test_synthetic_lanczos
|
||||||
|
|
||||||
|
|
||||||
|
Test_cayley_cg_SOURCES=Test_cayley_cg.cc
|
||||||
|
Test_cayley_cg_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cayley_coarsen_support_SOURCES=Test_cayley_coarsen_support.cc
|
||||||
|
Test_cayley_coarsen_support_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cayley_even_odd_SOURCES=Test_cayley_even_odd.cc
|
||||||
|
Test_cayley_even_odd_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cayley_ldop_cr_SOURCES=Test_cayley_ldop_cr.cc
|
||||||
|
Test_cayley_ldop_cr_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_cheby_SOURCES=Test_cheby.cc
|
||||||
|
Test_cheby_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_synthetic_lanczos_SOURCES=Test_synthetic_lanczos.cc
|
||||||
|
Test_synthetic_lanczos_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_zmm_SOURCES=Test_zmm.cc
|
||||||
|
Test_zmm_LDADD=-lGrid
|
||||||
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# additional include paths necessary to compile the C++ library
|
||||||
|
|
||||||
|
bin_PROGRAMS =
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
AM_CXXFLAGS = -I$(top_srcdir)/include
|
||||||
|
AM_LDFLAGS = -L$(top_builddir)/lib
|
||||||
|
|
||||||
|
if USE_LAPACK
|
||||||
|
AM_CXXFLAGS += -DUSE_LAPACK
|
||||||
|
if USE_LAPACK_LIB
|
||||||
|
#if test "X${ac_LAPACK}X" != XyesX
|
||||||
|
AM_CXXFLAGS += -I$(ac_LAPACK)/include
|
||||||
|
AM_LDFLAGS += -L$(ac_LAPACK)/lib
|
||||||
|
#fi
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
include Make.inc
|
||||||
@@ -26,7 +26,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -26,7 +26,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -27,7 +27,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <fenv.h>
|
#include <fenv.h>
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -25,7 +25,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
#include <PerfCount.h>
|
#include <PerfCount.h>
|
||||||
|
|
||||||
int main(int argc,char **argv)
|
int main(int argc,char **argv)
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include "Grid.h"
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
|
||||||
|
bin_PROGRAMS += Test_contfrac_force Test_dwf_force Test_dwf_gpforce Test_gp_rect_force Test_gpdwf_force Test_partfrac_force Test_rect_force Test_wilson_force Test_wilson_force_phiMdagMphi Test_wilson_force_phiMphi
|
||||||
|
|
||||||
|
|
||||||
|
Test_contfrac_force_SOURCES=Test_contfrac_force.cc
|
||||||
|
Test_contfrac_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_dwf_force_SOURCES=Test_dwf_force.cc
|
||||||
|
Test_dwf_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_dwf_gpforce_SOURCES=Test_dwf_gpforce.cc
|
||||||
|
Test_dwf_gpforce_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_gp_rect_force_SOURCES=Test_gp_rect_force.cc
|
||||||
|
Test_gp_rect_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_gpdwf_force_SOURCES=Test_gpdwf_force.cc
|
||||||
|
Test_gpdwf_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_partfrac_force_SOURCES=Test_partfrac_force.cc
|
||||||
|
Test_partfrac_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_rect_force_SOURCES=Test_rect_force.cc
|
||||||
|
Test_rect_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_wilson_force_SOURCES=Test_wilson_force.cc
|
||||||
|
Test_wilson_force_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_wilson_force_phiMdagMphi_SOURCES=Test_wilson_force_phiMdagMphi.cc
|
||||||
|
Test_wilson_force_phiMdagMphi_LDADD=-lGrid
|
||||||
|
|
||||||
|
|
||||||
|
Test_wilson_force_phiMphi_SOURCES=Test_wilson_force_phiMphi.cc
|
||||||
|
Test_wilson_force_phiMphi_LDADD=-lGrid
|
||||||
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# additional include paths necessary to compile the C++ library
|
||||||
|
|
||||||
|
bin_PROGRAMS =
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
AM_CXXFLAGS = -I$(top_srcdir)/include
|
||||||
|
AM_LDFLAGS = -L$(top_builddir)/lib
|
||||||
|
|
||||||
|
if USE_LAPACK
|
||||||
|
AM_CXXFLAGS += -DUSE_LAPACK
|
||||||
|
if USE_LAPACK_LIB
|
||||||
|
#if test "X${ac_LAPACK}X" != XyesX
|
||||||
|
AM_CXXFLAGS += -I$(ac_LAPACK)/include
|
||||||
|
AM_LDFLAGS += -L$(ac_LAPACK)/lib
|
||||||
|
#fi
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
include Make.inc
|
||||||
@@ -25,7 +25,7 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid/Grid.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
Loaded 100 of 146 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user