Closed lucamontana closed 8 years ago
Hi Luca,
I guess your problem as posed is really ill-defined. Which energy (DMRG-CASPT2, DMRG-SCF, DMRG) for which problems and which active spaces are you talking about?
I'm also adding @quanp because he knows a lot on active space selection.
I see this as a problem with regard to how one should use DMRG and not with bugs in the code. So I'll close it, but it remains possible to make new posts in this thread.
Sebastian
Hi Luca,
I agree with what Sebastian wrote. My experience with CheMPS2 is that for very large active space, you might be stuck in a local minimum, but it is rare if you use a sufficient large D. The problem you had probably come from the active space since DMRG is not a black box method, even you use a large active space. Did you check your active space in the two calculations (20,30) and (30,40)? Is it DMRG-CI or DMRG-SCF? Nevertheless, it is not surprising that you have very different total energies in the two calculations because you used different active spaces. What you should compare is relative energy, i.e. GS-S1 relative energy (the active space must be the same of course).
Best regards, Quan
How can you can tell if you are stuck in a local minimum? Just by searching different solutions or is there a numerical way to say in the DMRG procedure?
Dear Kannon,
By checking energy differences with respect to addition of zero to large noise to the dmrg wave function. If both results are equal, you are NOT stuck in a local minimum.
LUCA
Dear Seb,
I mean here only dmrg-scf. I need to do it for larger active spaces to show reviewer convergence of excitation energies wrt different active spaces. I assumed that for larger active spaces choice of orbital ordering and orbital selection is less important.
Bests LUCA
Dear Quan,
It depends on what you understand under large active space, i did with chemps2 up to 84 orbitals to recover dynamical correlation a year ago. I use as initial D, D= 250. I am always comparing relative energies. As i said previously S_1 energy (First excited state).
Best wishes LUCA
Dear Luca,
Best regards, Quan
Dear Quan,
Question :
Beside convergence of dmrg wrt different active spaces, i have another problem with accuracy of my relative energy wrt to experimental data. I generated the FCIDUMP with resolution of identity, as i am studying large molecules up to 300 atoms.
Could this have an effect on the accuracy of dmrg results, as it is quite initial guess dependent ?
Do you recommend to start from DFT or HF orbitals ? My preference is HF, however i get sometimes better results with DFT. Best wishes LUCA
Hi Luca,
Again, are you sure that you have the same DMRG-SCF active space in GS and S1? Did you plot the orbitals? If you use different starting orbitals (HF vs. DFT) and you get different results, then definitely you obtain different DMRG-SCF active spaces.
Before doing DMRG-SCF, you should
I did not use RI for my calculation but Cholesky decomposition. I don't think RI affects your results. The fact that you have bad, arbitrary results probably comes from ill-defined, unbalanced active space.
Hope this help, Quan
Dear Quan,
Yes, i have the same DMRG-SCF active space in GS and S1.
1) my active space is quite large up to 40 orbitals, that means active space selection and orbital ordering should be much less important or not ?
2) Ok, i never rotated my orbitals, however does n't it become less important for larger active spaces ? Pi orbitals are strongly correlated, should they be put together one after another ?
3) D is fine, i checked different dimensions.
I can obtain more or less converged results wrt different active spaces, however the agreement with experimental data is not good, most probably due to my bad starting orbitals.
Which code do you use for FCIDUMP generation with Cholesky decomposition ?
Best wishes LUCA
Hi Luca,
Sebastian and I recently implement Molcas-CheMPS2 interface and I'm using it.
Best regards, Quan
@kannon92 Regarding getting stuck in local minima:
In my opinion, the best way to test if you're in a local minimum with bond dimension D, is to go to larger virtual dimension D + D', but very approximately:
and then return to virtual dimension D and converge again. If the energy is the same as the energy before enlarging D to D + D', then you're most likely NOT in a local minimum.
The choice of D' depends. If D = 250, you can easily afford D + D' = 500. If D = 4000, you might want to stick with D + D' = 5000 for wall time reasons. Just don't use too small increments, like e.g. D + D' = 4050 when D = 4000. Let's say you want to increase at least 10 to 20%.
@lucamontana
@quanp : Thanks for helping!
Dear Sebastian,
I have a general problem with dmrg which is that for larger systems, i obtain different results for let say S_1 excitation energy for different number of electrons and active spaces (n,m), although n,m parameters are quite large such as (20,30) or (30,40). So it seems to be extremely difficult to obtain converged results with respect to n,m for larger simple systems (up to 100 atoms, mostly carbons and hydrogens). I have for my system, oscillations ranging from 0.5 to 4 eV for S_1 energy depending on n.m paramters. Is there any remedy for this inconsistency ?
By the way it is a very nice youtube video. Best wishes LUCA