-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convergence of the parameter length_cycle #164
Comments
Hi @LeoGaspard,
Be also advised that the auto_corr_time is a single number, reporting the upper bound of correlation time. It is not an anverage, i.e. if you have multiple orbitals it could of course be that certain components of G(tau) de-correlate faster than others. In this case it might be still advantageous to choose a lengt_cycle that measures more often to sample more of the components that already de-correlated. Maybe you can try if option 1 might be also a viable option for you at this point. This would not require to run cthyb multiple times per DMFT iteration. |
Hi @the-hampel , The problem is that the "correct" length_cycle parameters may vary a lot between the iterations, in a way that I am not fully sure I understand. |
If you look at the self-energy in the iteration where you observe the large change in auto_corr_time, is this maybe just very close to a phase transition? While you converge the Weiss-field it could be that one of your DMFT steps is very close to a transition. In those cases the auto_corr_time could maybe suddenly change drastically? Again just as a reminder as long as your length-cycle is shorter than ideal and not longer you should not have any sampling problems, only measurement overhead. |
Dear TRIQS developpers,
I recently posted about an issue I had about the auto-correlation time and you suggested the tutorial on the unstable branch about how to chose the parameters for the DMFT calculation.
I followed this tutorial for a calculation that I am trying to do, and similarly to the tutorial I found a nice decreasing curve for the convergence of length_cycle :
I then decided to chose a value for length cycle and launched the calculation, but what happened was that the auto-correlation time changed drastically after some iterations, due to the updated self-energy :
I figured that maybe the parameter shoud be chosen at each iteration, and changed the code so that it always choses a value such that the auto-correlation time is "acceptable", this is what I get :
Which seems better. However, this is very expensive as the only way to decide if the auto-correlation time is to already perform a complete iteration. And as the auto-correlation time needed to be high in the end of the calculation (cf next figure), I needed to perform in total 99 iteration that were only used to adjust the parameter length_cycle during the calculation.
My question is the following : is it necessary to converge the parameter length_cycle at each iteration, and if so, do you think that there would be a way that would waste less ressources than doing the full calculation for each trial value ?
Best regards,
Léo Gaspard
The text was updated successfully, but these errors were encountered: