1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-04-29 23:16:00 +01:00
Commit Graph

48 Commits

Author SHA1 Message Date
Peter Boyle cf3584ad15 Convenient to monitor memory across an HMC trajectory 2024-07-11 15:30:32 +00:00
Peter Boyle 63c223ea5d Verbose 2024-06-18 03:22:01 +00:00
edbennett 97f7a9ecb3 fix HMC for non-fundamental representations 2024-02-21 08:27:55 +00:00
Peter Boyle f48298ad4e Bug fix 2023-12-11 20:57:02 -05:00
Peter Boyle d1d9827263 Integrator logging update 2023-12-08 12:14:00 -05:00
Peter Boyle c5f1420dea Merge remote-tracking branch 'LupoA/develop' into LupoA-develop 2023-10-02 16:22:35 -04:00
Alessandro Lupo de30c4e22a minor improvements 2023-06-23 10:49:41 +01:00
Alessandro Lupo e09dfbf1c2 definetely the right merge upstream/develop 2023-06-16 14:19:46 +01:00
Peter Boyle 3b5254e2d5 Optional checkpoint smeared configs for FTHMC 2023-06-15 10:43:04 -04:00
Peter Boyle 8b01ff4ce7 Integrator over to smeared force structure 2023-06-15 10:43:04 -04:00
Alessandro Lupo 5aabe074fe Rename Sympl* to Sp* 2023-04-18 11:50:20 +01:00
Peter Boyle 6af97069b9 Preparing for close of feature/dirichlet
Initial code change review complete
2023-03-28 13:39:44 -07:00
Peter Boyle 68428fceab Integrator update 2023-03-21 15:58:49 -04:00
Peter Boyle 67f569354e Partial dirichlet changes 2022-11-30 15:51:13 -05:00
Peter Boyle e51eaedc56 Making tests compile 2022-11-15 22:58:30 -05:00
Peter Boyle 8a07b52009 Dirichlet 2022-10-13 18:44:47 -04:00
Peter Boyle c82b164f6b Merge branch 'feature/dirichlet' of https://github.com/paboyle/Grid into feature/dirichlet 2022-10-04 17:41:48 -04:00
Peter Boyle a0d682687e Better logging of Fdt for force gradient 2022-09-23 16:22:53 -04:00
Peter Boyle eb552c3ecd dt info 2022-09-23 16:22:28 -04:00
Christopher Kelly 19da647e3c Added support for non-periodic gauge field implementations in the random gauge shift performed at the start of the HMC trajectory
(The above required exposing the gauge implementation to the HMC class through the Integrator class)
Made the random shift optional (default on) through a parameter in HMCparameters
Modified ConjugateBC::CshiftLink such that it supports any shift in  -L < shift < L rather than just +-1
Added a tester for the BC-respecting Cshift
Fixed a missing system header include in SSE4 intrinsics wrapper
Fixed sumD_cpu for single-prec types performing an incorrect conversion to a single-prec data type at the end, that fails to compile on some systems
2022-09-09 12:47:09 -04:00
Peter Boyle 06d7b88c78 Force reporting improved 2022-08-31 17:32:21 -04:00
Peter Boyle fab50c57d9 More loggin 2022-07-11 18:42:27 +01:00
Peter Boyle 1f903d9296 Merge branch 'feature/dirichlet' into feature/dirichlet-gparity 2022-07-01 12:12:50 -04:00
Christopher Kelly fd933420c6 Imported changes from feature/gparity_HMC branch:
Added a bounds-check function for the RHMC with arbitrary power
	Added a pseudofermion action for the rational ratio with an arbitrary power and a mixed-precision variant of the same. The existing one-flavor rational ratio class now uses the general class under the hood
	To support testing of the two-flavor even-odd ratio pseudofermion, separated the functionality of generating the random field and performing the heatbath step, and added a method to obtain the pseudofermion field
	Added a new HMC runner start type: CheckpointStartReseed, which reseeds the RNG from scratch, allowing for the creation of new evolution streams from an existing checkpoint. Added log output of seeds used when the RNG is seeded.
	EOFA changes:
		To support mixed-precision inversion, generalized the class to maintain a separate solver for the L and R operators in the heatbath (separate solvers are already implemented for the other stages)
		To support mixed-precision, the action of setting the operator shift coefficients is now maintained in a virtual function. A derived class for mixed-precision solvers ensures the coefficients are applied to both the double and single-prec operators
		The ||^2 of the random source is now stored by the heatbath and compared to the initial action when it is computed. These should be equal but may differ if the rational bounds are not chosen correctly, hence serving as a useful and free test
		Fixed calculation of M_eofa (previously incomplete and #if'd out)
		Added functionality to compute M_eofa^-1 to complement the calculation of M_eofa (both are equally expensive!)
		To support testing, separated the functionality of generating the random field and performing the heatbath step, and added a method to obtain the pseudofermion field
	Added a test program which computes the G-parity force using the 1 and 2 flavor implementations and compares the result. Test supports DWF, EOFA and DSDR actions, chosen by a command line option.
	The Mobius EOFA force test now also checks the rational approximation used for the heatbath
	Added a test program for the mixed precision EOFA compared to the double-prec implementation,
	G-parity HMC test now applied GPBC in the y direction and not the t direction (GPBC in t are no longer supported) and checkpoints after every configuration
	Added a test program which computes the two-flavor G-parity action (via RHMC) with both the 1 and 2 flavor implementations and checks they agree
	Added a test program to check the implementation of M_eofa^{-1}
2022-06-22 10:27:48 -04:00
Peter Boyle 6efd80f104 Printing 2022-06-15 18:23:46 -04:00
Peter Boyle b808d48fa1 Tone down printing in integrator 2022-04-05 16:25:22 -04:00
Peter Boyle 83f818a99d Updates for DDHMC 2022-04-05 16:24:34 -04:00
Peter Boyle 5340e50427 HMC running with new formulation 2022-03-01 17:10:25 -05:00
Peter Boyle 0f1c5b08a1 Dirichlet filters running on AMD and now integrated in Fermion op 2022-02-23 19:29:28 -05:00
edbennett f824d99059 update documentation for GenericHMCRunner 2021-10-18 09:50:16 +01:00
Alessandro Lupo 89457e25e3 sp fermion instantiation 2021-10-12 16:00:32 +01:00
Peter Boyle 1eea9d73b9 Pass serial RNG around 2021-03-03 23:50:01 +01: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
Peter Boyle 99445673f6 Gparity fix, and plaquette IO 2021-01-14 21:00:36 -05:00
Peter Boyle 321f0f51b5 Project to SU(N) 2020-11-24 21:46:10 -05:00
kanamori d060341168 add an error check for Parameters.StartingType 2020-10-16 21:39:17 +09:00
Peter Boyle 0b787e9fe0 Avoid namespaec collision to make gcc happy 2020-08-20 22:23:29 +02:00
Daniel Richtmann 989af65807 Check in parallel reader for openqcd configs 2020-03-24 11:20:54 +01:00
Daniel Richtmann 037bb6ea73 Check in reader for openqcd configs
This reader is suboptimal in the sense that it opens the entire config on every MPI rank.
2020-03-16 14:28:02 +01:00
asmussen ad01290545 remove remnants of the namespace QCD 2019-08-19 20:30:33 +01:00
Peter Boyle fa9cd50c5b Merge branch 'develop' into feature/gpu-port 2019-07-16 11:55:17 +01:00
Peter Boyle 6d0b985697 Verbose 2019-04-24 06:29:52 +01:00
Peter Boyle e1124d9572 Integrator verbosity updates 2019-04-23 21:50:15 +01:00
Peter Boyle d416156c16 Mobius 2+1f sign off. 2019-04-19 07:57:08 +01:00
Peter Boyle ea5b3ed8a2 Momentum rescaling 2019-04-17 12:01:06 +01:00
Peter Boyle 422764757d Updates in tests to make all of Grid compile 2018-12-14 16:55:54 +00:00
Peter Boyle b57a4d32aa Merge branch 'develop' into feature/gpu-port 2018-12-13 05:11:34 +00:00
portelli fb7d021b9d Hadrons: moving Hadrons to root directory, build system improvements 2018-08-28 15:00:40 +01:00