Skip to content
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

error during read of case.qdmftup :: x lapw2 -up -qdmft -c -so :: runsp_lapw -qdmft #140

Open
gmm05126 opened this issue May 20, 2013 · 2 comments

Comments

@gmm05126
Copy link

Dear all,

I have started spin-polarized calculations including spin-orbit [runsp_lapw -so -qdmft 4] slightly modifying Ce-gamma.py script from tutorial; changing Uint, JHund and adding to
S = Solver_HubbardI(Beta = Beta, Uint = Uint, JHund = JHund, l = l, Verbosity=2, UseSpinOrbit = SpinOrbit)
The calculations run up to lapw2 -up -qdmft -c -so; please see the list from :log file
(x) lapw0
(x) lapw1 -up
(x) lapw1 -dn
(x) lapwso -up
(x) lapw2 -up -almd -c -so
(x) lapw2 -dn -almd -c -so
(x) lapw2 -up -qdmft -c -so

where collapsed. Here are few very last output lines:

Chemical_Potential found in 52 iterations :
Total Density = 5.790087;Chemical_Potential = -2.045838
Trace of Density Matrix: {'ud': (5.7900872573605131+6.2552863027620289e-17j)}
forrtl: severe (24): end-of-file during read, unit 32, file /home/wien2k/CALC/case/case.qdmftup

What could be problem? I would like just to add that a test non spin-polarized case without spin-orbit went successfully over one iteration.

Thanks in advance for any hint,
Martin Gmitra
Uni Regensburg

@leopo
Copy link
Contributor

leopo commented May 21, 2013

If you want to run spin-polarized SO calculations you have to modify the end of Ce-gamma.py, because the example is written for a non-spin-polarized case and it stores the Hubbard energy correction in Ce-gamma.qdmft. Then lapw2 tries to read it from *.qdmftup/-dn and fails.
So the SO-SP case you write the Hubbard energy correction to two separate files *.qdmftup/-dn as follows

f=open(LDAFilename+'.qdmftup','a')
f.write("%.16f\n"%(correnerg*0.5))
f.close()
f=open(LDAFilename+'.qdmftdn','a')
f.write("%.16f\n"%(correnerg*0.5))
f.close()

@gmm05126
Copy link
Author

Dear Leonid,
Thanks for you answer. Now the self-consistency is running. As far I see both the qdmftup and qdmftdn files are same. Could you please comment on it why is that? Is it because of spin-orbit coupling? How this writing to the qdmftup/dn files would look like in case without spin-orbit coupling.
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants