Replies: 4 comments 13 replies
-
Hi @9yulo, I will start answering your second question first. DFTTools is just a library with functions and classes. You have to write your own DMFT loop etc to actually use it. solid_dmft is exactly doing that, using DFTTools to write a DMFT loop. There should be very little overhead in your calculation caused by solid_dmft. Most of the time the code is spending in the solver call (cthyb). In the example you are mentioning roughly 85% of the time are spent there, making this the computational expensive part. However, there is nothing in solid_dmft slowing down your calculations compared to a more minimal setup you might achieve by tailoring the script to your problem. This should clarify a bit your second question. Regarding your first question: the NdNiO2 tutorial example you are mentioning should take roughly 4-5 hours on 1024 cores. I am not sure how many cores you in the end used? You are mentioning 96 nodes? How many cores does each node have? How computationally demanding your task is depends a lot on the system at hand. In general a larger U value will make things easier for cthyb and you can get better results with smaller number of If you are interested in approximate solvers, we will integrate the latest https://github.com/TRIQS/hartree_fock/ solver in solid_dmft, which will be very fast solving DMFT on the Hartree level, which is the same approximation done in DFT+U. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi @the-hampel, Yes indeed it was 96 cores and not nodes. but the calculation is well finished. and I still have some questions: 1-) for the parameter dc_type = 0 dc = True dc_dmft = False which is Type of double counting correction considered in DFTTOOLS we give the value of the occupation with DC_value. but with this method of solid_DMFT how to be sure that the electrons have converged? I have by this at the end of the calculation for the example of NdNiO2 Since in the example we are talking about the AFM calculation, I expected that at the end of the DMFT calculation the two SPINs would be opposite: how to have the spectral function like here? NiO |
Beta Was this translation helpful? Give feedback.
-
The convergence can be best tested when looking at the The impurity occupations itself in DMFT will greatly depend on the chosen projection method. The orbital occupations in Vasp might be misleading. Those are straight projections for all KS states on atomic d orbitals in the PAW spheres. When using the dfttools vasp converter it will take the same projections, but depending on your chosen energy window only in specific window. This will loose some projection weight, i.e. occupation. More importantly the converter will orthonormalize the projectors, which Vasp is not doing. This will increase the number of electrons again. For the NdNiO2 example you should see around 8.0 occupation per Ni side in the d orbitals, whereas in solid_dmft you have 8.5 electrons. This is reasonably close. I urge you to maybe also do the 4 tutorials here: https://github.com/TRIQS/tutorials/tree/unstable/AbinitioDMFT , which use solid_dmft in a very simple example, which you can run even on a normal laptop. It will also show you how to use MaxEnt to calculate spectral functions. For k-dependent spectral functions you have to use at the moment the interface through wannier90. This has technical reasons. However, the calculation of the impurity spectral function is explained in the tutorial I referred to. Regarding the magnetic moment: solid_dmft only prints the occupation per spin channel. You have to calculate the magnetic moment as difference between n_up - n_down by yourself. In your case:
this would lead to a moment of ~1 mu_B. And you can see that with this definition imp0 has +1 mu_B, whereas imp1 has a moment of -1 mu_B. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi,
|
Beta Was this translation helpful? Give feedback.
-
Dear TRIQS community,
I want to do an AFM calculation similar to the example you did on NdNiO2.
1-) Doing the NdNiO2 example this took me more than 24h running on 96 nodes. at the level of the analysis of the spectral function, to have the same tracing as here I have to do the maxent analysis?NiO or simply how to have this quantity?
2-) can we do the same AFM calculation with DFTTOOLS? because I launched the calculation in super slow I launched the calculation with solid_dmft (mpirun -np 240 solid_dmft confi.ini ) it has been running for more than 30 hours with a single iteration.
Beta Was this translation helpful? Give feedback.
All reactions