paboyle / Grid

Data parallel C++ mathematical object library
GNU General Public License v2.0
149 stars 106 forks source link

Very low acceptance for SU(2) 1 adjoint flavour RHMC #374

Open edbennett opened 2 years ago

edbennett commented 2 years ago

I'm seeing very low acceptance rates when running the RHMC for SU(2) with one adjoint flavour when compared to what I believe are exactly the same run parameters for HiRep. With HiRep this is around 90%, while with the same parameters in Grid it is very close to 0%.

What I've checked:

I've tested CPU and GPU builds (with and without MPI for the latter) and see the same issue in both.

Increasing the number of MD steps per trajectory increases the acceptance, but makes each trajectory take correspondingly longer.

Does anyone have any idea what might be going on, and how I could fix it, please?

If it's useful, I've attached an example grid.configure.summary, the program I'm running, an example submit script to see the parameters being used, and the equivalent input file used with HiRep.

Many thanks in advance for any advice.

edbennett commented 2 years ago

Two more things that I have checked:

edbennett commented 2 years ago

Some more testing shows that with a thermalised configuration (the same one for both codes), and controlling for all the factors above, the acceptances match much more closely between HiRep and Grid. Additionally, setting --Thermalizations to a number larger than zero (I've been using 20) will immediately overcome this initial barrier and allow the acceptance to stabilise at the same parameters as work for HiRep (which does not do this thermalisation step, as far as I am aware). This raises three possibilities that I can see: