Commit Graph
100 Commits
Author SHA1 Message Date
paboyle aae8bf31a7 Global edit adding copyright and license info to every source file. 2016-01-02 14:51:32 +00:00
paboyle 1e68b1c1bd Create a benign default for gparity twists 2016-01-02 14:06:53 +00:00
paboyle 491a708225 Twist params set up correctly in gparity even odd 2f DWF + Wilson HMC test 2016-01-02 14:02:41 +00:00
paboyle 5a80930dd2 Charge conjugation boundary conditions for gauge fields implemented as a policy
class, changing the nature of covariant Cshifts used in
plaquettes, rectangles and staples.

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

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

This would then allow composition of BC with smearing etc....
2016-01-02 13:37:25 +00:00
paboyle 145a295231 Bug fix for stencil with large shifts (3+), would be important to naik term for example but did not
impact Wilson based nearest neighbour stencils.
2015-12-30 19:29:48 +00:00
paboyle 841a37f941 Fix to WilsonCompressor that fixes a bug in comms phase due to the sign change on gamma
matrix in hopping term.
Add logging of time spent in CG.
2015-12-29 23:49:41 +00:00
paboyle 0afcf1cf13 Moved all the HMC tests over to using a single HmcRunner class that manages checkpoint strategies and such like 2015-12-22 11:19:25 +00:00
paboyle 08edbb5cbe HMC bit repro across checkpoints. Fixed parallel RNG issue with threading.
Conclusion: c++11 distributions not thread safe and must us distinct dist as well as distinct engine
per site. Makes sense when you think of box muller. Also added a reset of dist on fill to ensure
repro across checkpoints.
2015-12-22 08:54:40 +00:00
paboyle 0abfbcc8eb Naming of files improvement. 2015-12-21 15:37:26 +00:00
paboyle 1b94253ba4 Logging improvement 2015-12-21 15:36:28 +00:00
paboyle 36e6f9ac7b Bug fix. Guess not initialised in refresh step; didn't hit before due to luck in not having a vector
created with NAN data.
2015-12-21 15:34:35 +00:00
paboyle 2f41691c11 Bug fix. Guess was not zeroed prior to CG call. Was earlier accidentally benign just due to luck. 2015-12-21 15:33:36 +00:00
paboyle 09bfe52840 Remove extraneous variable 2015-12-21 15:30:28 +00:00
paboyle 8c9010d0f4 Isnan check on guess and convergence assert on result 2015-12-21 15:29:46 +00:00
paboyle 42c583265c Remove timestamp 2015-12-21 15:28:03 +00:00
paboyle 539d698492 Prototypes for CML routines 2015-12-21 15:26:42 +00:00
paboyle 31ca609d12 HMC checkpointing .
Need a general HMC framework to work in restart.
2015-12-20 02:29:51 +00:00
paboyle 5710966324 Options to use mersenne twister OR ranlux48 via --enable-rng flag at configure time.
Can save and restore RNG state via new (serial) I/O routines in a NERSC header style file.
Store a Parallel (one per site) and a single serial RNG file.
2015-12-19 18:32:25 +00:00
paboyle e108e708a3 Wilson TM tests and compiles in 2015-12-17 23:06:33 +00:00
paboyle 6f0198d4d9 Merge branch 'master' of https://github.com/paboyle/Grid 2015-12-17 22:34:54 +00:00
paboyle 67ccb043f1 Added TM fermions for DSDR etc.. 2015-12-17 22:34:28 +00:00
paboyle 34a0fde2ad Fixes to fermion force terms after sign of gamma_mu (0...3) change.
Thought I had already committed these.

Believe I have got the Gparity fermion force working.

* tests/Test_gpdwf_force.cc     -- correctly predicts dS for two flavour pseudofermion
                                   based on a small dt update of U field.

* tests/Test_hmc_EODWFRatio_Gparity.cc -- ran 1 trajectory on 8^4 with dH=0.21.

Need to accumulate a full plaquette log to believe fully which will take some hours of run time.
2015-12-15 23:14:12 +00:00
paboyle af855cc129 Updating to fix peek poke to checkerboarded arrays since Chulwoo needs this. 2015-12-12 07:11:46 +00:00
paboyle a5314eddbb Update todo list 2015-12-10 23:34:03 +00:00
paboyle 78ca15fdd8 Merge branch 'aportelli-master' 2015-12-10 23:15:16 +00:00
paboyle 47fe6b5a7c Merge branch 'master' of https://github.com/aportelli/Grid into aportelli-master 2015-12-10 23:14:52 +00:00
paboyle b3ef09a54d Merge branch 'master' of https://github.com/paboyle/Grid 2015-12-10 23:05:38 +00:00
paboyle 8ed3940048 New files for Chroma regression 2015-12-10 22:55:59 +00:00
paboyle 3ce10aa975 Fix a regression failure on Mobius; chroma regression added 2015-12-10 22:55:00 +00:00
Peter Boyle 26161addd0 Warn fix clang 2015-11-29 11:19:12 +00:00
paboyle 93356fd246 No compile fixes on gcc/Cray 2015-11-29 03:14:44 -08:00
Peter Boyle f35fc4b76c No compile fixes 2015-11-29 10:59:11 +00:00
paboyle ca42fe6d32 Merge branch 'master' of github.com:paboyle/Grid
Merge done
Conflicts:
	lib/serialisation/XmlIO.h
	tests/Test_stencil.cc
2015-11-28 17:03:43 -08:00
paboyle b8a38f292d Domain decomposition SAP precon implemented and working but not as fast as I hoped. 2015-11-28 17:01:51 -08:00
paboyle 6b97b271ae Integer divide useful 2015-11-28 17:01:20 -08:00
paboyle fa01ae5980 integer divide 2015-11-28 17:00:34 -08:00
paboyle 113131b01c THis failed for some reason. Suspect Antonin has made more progress. 2015-11-28 16:59:59 -08:00
paboyle b2c02a6106 Runs fastst on cori 2015-11-28 16:58:16 -08:00
paboyle 02d730513a Divide function 2015-11-28 16:54:43 -08:00
paboyle d875c2bd39 More verbose useful 2015-11-28 16:54:19 -08:00
paboyle cc32ba615a Verbose changes 2015-11-28 16:53:54 -08:00
paboyle 6684739452 Better to drop KMP_AFFINITY override 2015-11-28 16:52:44 -08:00
Peter Boyle bc4b252883 Merge branch 'master' of https://github.com/paboyle/Grid 2015-11-29 00:33:01 +00:00
Peter Boyle 11cf0f08f3 This file is not yet debugged. 2015-11-29 00:32:45 +00:00
Peter Boyle fff0f00552 Modest changes 2015-11-29 00:31:57 +00:00
Peter Boyle 42e6055746 Try 1/x for hermitian indef approx 2015-11-29 00:31:19 +00:00
Peter Boyle 01231ce824 Stencil fix 2015-11-29 00:31:02 +00:00
Peter Boyle ef84d54033 precision set 2015-11-29 00:30:44 +00:00
Peter Boyle 41e8038c56 Makefile update 2015-11-29 00:30:19 +00:00
Peter Boyle 8a33846095 No compile fix 2015-11-29 00:29:58 +00:00
paboyle e9ff25b06b Small threading change makes a difference on Cori. 2015-11-07 00:07:05 -08:00
paboyle 05a7029600 Stencil change 2015-11-07 00:06:31 -08:00
paboyle b04b8914fd EXECINFO change 2015-11-07 00:05:57 -08:00
paboyle 7522e3f0dd Stencil interface change fix no compile 2015-11-07 00:05:10 -08:00
paboyle 1cc0d7b811 Bigger ncall as timing loops got small on cori 2015-11-07 00:04:40 -08:00
paboyle 899ca41cb8 Merge branch 'master' of github.com:paboyle/Grid
Conflicts:
	lib/qcd/action/fermion/WilsonFermion5D.cc
2015-11-06 03:50:04 -08:00
paboyle d29b4c1dee Assembler files 2015-11-06 03:48:48 -08:00
paboyle a2ff068e29 Asm and threading for many core 2015-11-06 03:47:14 -08:00
paboyle b362f8d27b Threading for many core 2015-11-06 03:46:41 -08:00
paboyle 64770d9052 Threading changes for many core and asm calls 2015-11-06 03:46:21 -08:00
paboyle 17af18dcab Changes for AVX512 assembler 2015-11-06 03:45:51 -08:00
Peter Boyle 28022755ae Stencil class name global change to StencilImpl typedef 2015-11-06 05:30:17 -06:00
Peter Boyle 98d8ba6d14 Remove autogen files from CVS 2015-11-06 05:29:07 -06:00
Peter Boyle 27813cf518 More timing detail reported 2015-11-06 05:27:13 -06:00
Peter Boyle 955b482aaf Partial optimisation of the extraction/merger of simd vecs. 2015-11-06 05:26:20 -06:00
Peter Boyle f9b2fce93b Changing whole stencil class to be template and not just single functions 2015-11-06 05:25:10 -06:00
Peter Boyle 473fa28a6c Partial optimisation; comms in x-dir for red black dslash will be slow as the checker skipping block strided
loops are non threadable. Will need to write a kernel for these instead and drive them with a lookup table
to make a look sufficiently simple to thread.
2015-11-06 05:23:23 -06:00
Peter Boyle 5d854c869c Stencil interface changes 2015-11-06 05:22:33 -06:00
Peter Boyle 880ff88362 Comms optimisation 2015-11-06 05:22:18 -06:00
Peter Boyle f85b9ddd97 Remove nonfunctioning lanczos 2015-11-06 05:21:21 -06:00
paboyle 1159de165c Asm option for AVX512 2015-11-05 22:04:51 -08:00
paboyle 16c7993434 Merge branch 'master' of github.com:paboyle/Grid
Conflicts:
	lib/simd/Grid_avx512.h
	lib/simd/Grid_imci.h
2015-11-04 03:32:10 -08:00
paboyle 6be9716e6f New file 2015-11-04 03:26:28 -08:00
paboyle 32762346ad Better run time on KNC 2015-11-04 03:25:34 -08:00
paboyle 4a41c885ed Use Linux kernel interface to hardware performance counters. Dead useful. 2015-11-04 03:24:19 -08:00
paboyle 0f48658a27 Update minor 2015-11-04 03:23:46 -08:00
paboyle 757b31ed42 Threading for KNC mods. 2015-11-04 03:22:14 -08:00
paboyle 5aafdd7e1a Inline asm for KNL, KNC, Skylake Xeon 2015-11-04 03:21:15 -08:00
paboyle ac7d1f26ad Either blocking or lebesgue curve 2015-11-04 03:19:16 -08:00
paboyle 1a8bf938b3 Use either sub-blocking or lebesgue 2015-11-04 03:18:51 -08:00
paboyle 63a2993827 Exec info an cache blocking 2015-11-04 03:16:56 -08:00
paboyle 4e65ad21ac Adding a routine for AVX512 / IMCI with explicit assembly implementations 2015-11-04 03:15:08 -08:00
Peter Boyle dfc1de6f60 Merge branch 'master' of github.com:paboyle/Grid 2015-11-04 05:14:26 -06:00
Peter Boyle f87526a04f Make ICC happy 2015-11-04 05:14:03 -06:00
Peter Boyle 3b7576ad53 Switch off for now 2015-11-04 05:13:29 -06:00
paboyle 9b5d31ffc1 mac , mult routines
Lines# with '#' will be ignored, and an empty message aborts the commit.
2015-11-04 03:10:34 -08:00
paboyle a38762159c Inline assembly hooks for AVX 512. Better way in some ways than BAGEL to generate assembly.
Updated Grid_avx512.h
2015-11-04 03:09:06 -08:00
Peter Boyle ffc5dab17f AMD FMA4 support added for Interlagos/BlueWaters 2015-11-04 04:29:58 -06:00
Peter Boyle 96608c70d1 chrono causing some problems on Cray systems. Suspend use for now 2015-11-04 04:28:31 -06:00
Peter Boyle d35d63b171 Algorithm in 2015-11-04 04:27:44 -06:00
Peter Boyle 9183920e8b Added an even odd stencil test, shook out a problem with spread out x-direction.
Generalise test to allow different types of "Field" to be used.
2015-11-04 10:03:04 +00:00
Peter Boyle 01f286c9fe Better testing for red black cshift which was sufficient to chase down a spread out x-direction problem. 2015-11-04 10:02:17 +00:00
Peter Boyle 24044dbc56 Debugged a problem with checkerboarded cshift in the checker dimension which arose
only when mpi spread out in the checker dimension. Added a test that trapped and helped debug this
2015-11-04 10:00:55 +00:00
Peter Boyle abb23df83f formatting only 2015-11-04 10:00:27 +00:00
Peter Boyle 12c5ec813c Useful debug messages (commented out) are included for preservation in case I need to revisit this 2015-11-04 09:59:27 +00:00
Peter Boyle 1271508ca2 Bug fix for spread out in x (EO) direction.
This is really annoying -- it is very hard to thread the loops with the index
recursion on buffer offset in the red-black case. Must think of a good threading
solution here.
2015-11-04 09:57:57 +00:00
Peter Boyle ec5af35166 EO bug fix when spread out in x-direction 2015-11-04 09:56:58 +00:00
Peter Boyle b3d70a3bb2 Ncall change 2015-11-04 09:55:21 +00:00
Peter Boyle c26220e9ab EO benchmark as well as non-eo 2015-11-04 09:54:48 +00:00
Peter Boyle 0f59356e86 Problem in comms fixed 2015-11-02 00:00:15 +00:00