Coder Social home page Coder Social logo

Comments (2)

edbennett avatar edbennett commented on July 1, 2024

Two more things that I have checked:

  • @LupoA pointed out that there is a normalisation factor of HMC_MOMENTUM_DENOMINATOR that is by default set to 2, while in HiRep this factor is not included. Setting this to 1 (via removing the #define CPS_MD_TIME in Grid/qcd/action/gauge/GaugeImplTypes.h and Grid/qcd/action/scalar/ScalarImpl.h) does not remove the discrepancy.
  • HiRep multiplies the step size by beta / NG, which as far as I can see isn't done in Grid. Removing this factor further exacerbates the discrepancy.

from grid.

edbennett avatar edbennett commented on July 1, 2024

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:

  • HiRep does some thermalisation that I'm not aware of (although I have searched and haven't found evidence of this)
  • Grid's integrator behaves differently on very far-from-equilibrium configurations
  • Grid initialises a hot start differently from HiRep

from grid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.