Closed kostrzewa closed 5 years ago
Fixed with commit 625278d5fe510e3d0530942032a2e0d42c3e9ca1.
I can confirm that this is addressed by #794 thanks!
Thanks for confirming this @kostrzewa. The issue came up due to a hole in the solver testing: the default did not test solving the full system with e/o preconditioning. I will ensure this hole is plugged going forward though so we include this by default in the regression testing.
It seems that there is a correctness regression for the non-clover twisted mass case. Below, I show output from some inversions on a 16c40 quenched Wilson plaquette lattice at beta=5.85. Inversions are done using double-single mixed-CG.
All calls are from within tmLQCD and the QUDA head commit is 50ea7fdb2919e7e628a29744a4a640470a55b53e and we're running on K20m here, but I've observed the same on our P100.
The thing to look for below is the "residue = xxx" line which is the residual check performed using tmLQCD-native operators.
Wilson, Wilson clover and twisted clover work fine
plain Wilson, kappa=0.162
Wilson clover, kappa=0.15, csw=1.0
Twisted clover, kappa=0.15, csw=1.0, mu=0.0005
Twisted clover, kappa=0.15, csw=1.0, mu=0.005
Twisted clover, kappa=0.15, csw=1.0, mu=0.05
plain twisted mass, however, does not
Twisted mass, kappa=0.163279 (kappa_c), mu=0.0005
Twisted mass, kappa=0.163279 (kappa_c), mu=0.005
Twisted mass, kappa=0.163279 (kappa_c), mu=0.05
Comparison to correct run before new Dslash
To compare, below the same twisted mass inversions using 8e9b6a32ca1b8e4397e1f18f0800e76a9a9416c6 as a QUDA head commit (Feb 15)
Twisted mass, kappa=0.163279 (kappa_c), mu=0.0005
Twisted mass, kappa=0.163279 (kappa_c), mu=0.005
Twisted mass, kappa=0.163279 (kappa_c), mu=0.05
As everything is extremely similar and it's only the plain twisted mass case which differs in a mass-dependent way, perhaps there's an issue with the gamma basis that the twisted mass term is applied in in the plain twisted mass operator only?