1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-21 19:25:56 +01:00

1366 Commits

Author SHA1 Message Date
Quadro
990d976241 More precision to convince Chris Kelly it's right 2021-06-08 20:29:27 -04:00
Quadro
1cc706b2f4 Better precision 2021-06-03 17:27:49 -04:00
Quadro
b83bbe2dd1 Mixed precision 2021-06-01 13:34:05 -04:00
Quadro
3f2d8eb727 Mixed precision change 2021-06-01 13:33:18 -04:00
Quadro
64b3b37476 Force test - try degenerate ratio and check for zero force 2021-05-25 18:27:46 -04:00
Quadro
5f081d87b0 MacOS file system capitals got me. Will rename filter to Filter later 2021-05-18 16:36:58 -04:00
Peter Boyle
9400c207f7 Force test passing for boundary det 2021-05-15 08:38:26 -04:00
Peter Boyle
c8db9ddb33 Massively improved test 2021-05-14 21:56:24 -04:00
Peter Boyle
e39e326b79 sRNG compile fix 2021-05-12 11:00:43 -04:00
Peter Boyle
69a2c8769a Testing out the DDHMC constituent parts 2021-05-11 13:56:52 -04:00
Peter Boyle
281b55df04 srng changes 2021-05-11 13:52:24 -04:00
Peter Boyle
a36e797bfc Use Integer 2021-05-11 13:52:05 -04:00
Peter Boyle
b5b930d5bb Merge branch 'feature/ddhmc' of https://github.com/paboyle/Grid into feature/ddhmc 2021-05-06 23:51:25 +02:00
Peter Boyle
bd181b9481 Merge branch 'feature/ddhmc' of https://github.com/paboyle/Grid into feature/ddhmc 2021-05-06 23:42:39 +02:00
Peter Boyle
374fb325f3 Remove LIME dependency 2021-05-06 23:26:42 +02:00
Peter Boyle
bab88bc4f7 Fix compile 2021-05-06 23:25:12 +02:00
Peter Boyle
7533f66b54 Fix compile 2021-05-06 23:24:39 +02:00
Peter Boyle
805cde5899 Fix compile 2021-05-06 23:24:19 +02:00
Peter Boyle
a0534e03f9 Augmented test 2021-05-06 23:23:57 +02:00
Peter Boyle
f776a7fe4a Merge branch 'feature/gparity_HMC' into feature/ddhmc 2021-05-06 20:55:03 +02:00
Peter Boyle
cff884929c Merge branch 'develop' into feature/ddhmc 2021-05-05 23:40:23 -04:00
Peter Boyle
3b734ee397 two point function example 2021-05-05 17:36:19 -04:00
Peter Boyle
0f08364e4f Mom filter refresh sRNG 2021-04-26 23:18:11 +02:00
Peter Boyle
8cd4263974 Tests compile 2021-04-25 22:20:37 -04:00
Peter Boyle
3a4f5f2324 Merge develop, strengthen force tests 2021-04-22 18:54:00 -04:00
Peter Boyle
824d84473f Merge branch 'develop' into feature/gparity_HMC 2021-04-22 16:32:41 -04:00
Peter Boyle
38964a4076 Switch twist direction 2021-04-22 15:57:37 -04:00
Peter Boyle
0d9aa87228 Reduce momentum to the GP plane 2021-04-22 15:56:59 -04:00
Peter Boyle
86e11743ca set twists 2021-04-20 10:19:11 -04:00
Christopher Kelly
e0e42873c1 Const correctness for Lattice::Replicate
Adapted GeneralEvenOddRationalRatio and Test_rhmc_EOWilsonRatio_doubleVsMixedPrec to recent changes that require passing in serial RNG

For GeneralEvenOddRationalRatio and TwoFlavourEvenOddRatio, broke refresh into two stages, the first of which generates the random field and the second that computes the pseudofermion field.
This allows derived classes to override the generation of the random field, for example in testing.

Test_dwf_gpforce now uses Gparity in x-direction and APBC in time as opposed to G-parity in time

Added Test_action_dwf_gparity2fvs1f that compares the DWF fermion action with the 2f and the 1f (doubled-lattice) implementations of Gparity
2021-04-14 16:41:27 -04:00
Peter Boyle
b53059344e Better test on non-unit gauge 2021-03-31 13:45:06 -04:00
Christopher Kelly
0ff3bf6dc5 Merge branch 'develop' into feature/gparity_HMC 2021-03-22 15:33:13 -04:00
Peter Boyle
49b0af2c95 Update of tests to compile with the sRNG addition.
Audited the code conventions (again) with the CPS momentum denominator
and added anti periodic in time to the Test_mobius_force.cc and
tested the Test_dwf_gpforce.

Promoted thesee to test full HMC hamiltonian, tr P^2/2 + phidag MdagM phi

with the same pdot and Udot as audited in the Integrator.h etc...

With full comments and sources for factors.
2021-03-18 09:10:02 -04:00
Peter Boyle
cd5891eecd Test that fails on Cuda 11.0 2021-03-11 22:34:28 +01:00
Peter Boyle
f786ff8d69 Extend test from Fionn, fails on A100 apparently 2021-03-10 14:32:06 -05:00
Peter Boyle
58bf9b9e6d Clean up test 2021-03-10 02:45:22 +01:00
Christopher Kelly
feee5ccde2 Added Gparity flavour Pauli matrix algebra and associated tensor types mirroring strategy used for Gamma matrices
Added test program for the above
2021-03-03 15:39:41 -05:00
Michael Marshall
d620b303ff Merge branch 'develop' into feature/mres_schur
* develop: (26 commits)
  Added the ability to apply a custom "filter" to the conjugate momentum in the Integrator classes, applied both after refresh and after applying the forces Added a conjugate momentum "filter" that applies a phase to each site. With sites set to 1.0 or 0.0 this acts as a mask and enables, for example, the freezing of inactive gauge links in DDHMC Added tests/forces/Test_momentum_filter demonstrating the use of the filter to freeze boundary links
  Correct misleading ac help string
  Enable performance counting in WilsonFermion like in others
  changed back A2AUtils warning
  changed if and accelerator_for - no runtime errors any more
  Mac OS (Darwin) sed -i flag for in-place editing differs from posix / gnu
  Seems the intention with AutoConf produced Grid/Config.h was to use sed to translate standard PACKAGE_ #defines into GRID_ however due to missing '' after -i this hasn't been working. Perhaps it is too late to fix this, since we don't know who/what is relying on this downstream? ... but if they are, and AutoConf is being used, then likely these #defines have just been redefined anyway. Seems reasonable to redefine PACKAGE and VERSION as well, as none of these macros are used throughout Grid or Hadrons.
  Fixed compile issues with maxLocalNorm2 for non-scalar lattices maxLocalNorm2 test now reuses the random field
  MADWF 5d source option for hadrons - look at Grid of source Abort on GPU error
  maxLocalNorm2()
  change back benchmark_ITT
  prettify
  Flop cout matches DiRAC-ITT-2020
  revert changes
  merge develop
  fixes
  weird bug in 2pt function...
  revert changes
  final version, tested on CPU and GPU
  bugfix
  ...
2021-02-24 18:07:27 +00:00
Christopher Kelly
d5ab571a89 Added the ability to apply a custom "filter" to the conjugate momentum in the Integrator classes, applied both after refresh and after applying the forces
Added a conjugate momentum "filter" that applies a phase to each site. With sites set to 1.0 or 0.0 this acts as a mask and enables, for example, the freezing of inactive gauge links in DDHMC
Added tests/forces/Test_momentum_filter demonstrating the use of the filter to freeze boundary links
2021-02-23 11:49:56 -05:00
Christopher Kelly
c2676853ca Merge branch 'bugfix/maxnorm2' into feature/gparity_HMC 2021-02-08 12:17:33 -05:00
Christopher Kelly
55de69a569 Fixed compile issues with maxLocalNorm2 for non-scalar lattices
maxLocalNorm2 test now reuses the random field
2021-02-08 12:03:16 -05:00
Christopher Kelly
6a824033f8 Merge branch 'develop' into feature/gparity_HMC 2021-02-08 09:31:49 -05:00
Peter Boyle
cd99edcc5f maxLocalNorm2() 2021-02-04 18:25:49 -05:00
Christopher Kelly
d10d0c4e7f Merge branch 'develop' into feature/gparity_HMC 2021-01-25 15:13:29 -05:00
Christopher Kelly
6795bbca31 Generalized GeneralEvenOddRatioRationalPseudoFermionAction such that the multi-shift CG algorithm can be overridden by derived classes
Added a mixed-precision variant of GeneralEvenOddRatioRationalPseudoFermionAction and a verification test against double prec class
Fixed non-const reference used in passing RHMC approx to multishift classes
2021-01-25 14:22:31 -05:00
Michael Marshall
2983b6fdf6 Optional (superficial) changes to make comparison with Hadrons WardIdentity module easier: use Schur solver; example of Hadrons random gauge init; logging updates; only solve reverse propagator if provided 2021-01-23 12:41:48 +00:00
Peter Boyle
69f1f04f74 Merge branch 'develop' of https://github.com/paboyle/Grid into develop 2021-01-21 21:39:59 -05:00
Peter Boyle
11a5fd09d6 Hot config 2021-01-21 21:39:41 -05:00
Christopher Kelly
d161c2dc35 Improved formating of timing output in mixed-prec multishift
In test of mixed-prec multishift, added comparison against full double precision multishift both for timing and to cross-check the results
2021-01-20 15:42:06 -05:00
Christopher Kelly
7a06826cf1 Added option to NerscIO to disable exit on failing plaquette check allowing for circumvention of factor of 2 error in CPS-generated G-parity config headers
Adapted mixed-prec multi-shift test to new way to pass gauge BC directions and added cmdline option to perform the G-parity plaquette comparison with the corrected plaquette when loading config
2021-01-20 13:31:50 -05:00