-
Notifications
You must be signed in to change notification settings - Fork 15
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
No JTH potential for Si #1202
Comments
The potentials are packaged in https://github.com/eisenforschung/sphinx-data |
Ok so I see that Si is indeed missing |
@freyso Do you remember if there was a specific reason not to include the |
If I remember correctly the potentials were originally downloaded from https://www.abinit.org/downloads/PAW2 |
I took a look but the data is given in XML (while our data isn't). Was there a converter? Otherwise I'm gonna do it manually |
It should work with http://users.wfu.edu/natalie/papers/pwpaw/man.html if I remember correctly, this can be installed from conda https://anaconda.org/conda-forge/atompaw |
If I remember correctly, Si was removed because it was pathological (PAW-corrected norm not garantueed to be positive). I do not remember which version of the PAW set this was, maybe there is an updated version by now. If this is still the same potential, it is highly likely that this is broken. Regarding xml format: sphinx is able to read xml PAW format since version 3.0.5 (March 2022). However, it may need a fix in the pyiron-sphinx interface to enable that. |
And the way I got the PAW potentials in atomicdata format (which is the intrinsic format of atompaw): I downloaded the xml files, extracted the input file for the atompaw generator which is embedded as a comment in the end, and reran atompaw. |
@freyso Can you share the syntax to load the xml files? Currently, we use:
|
|
but does it mean we should not simply download the Si file and start using it? |
Is there actually an established workflow that can be used to test pseudo potentials? |
No. Mostafa Joulaian did some work in his master thesis analogous to the Delta project, but it turned out to be quite a mess in the end, in part because the delta project lacked a useful database for structures and parameters (cutoff/k-points/etc.), in part because too many cases needed some finetuning in the setup (e.g. convergence parameters). It had been my hope to learn from Mostafa's master project how to generalize, but in the end, I felt it was no good basis for a potential testing according to my expectations. |
bare sphinx can. |
Sorry I meant we should not blindly trust the latest Abinit Si potential? |
Better not. I am sure there was a reason why I excluded it at the time, but this is min. 3 years ago, so I don't remember the details. |
ok from the pyiron developer perspective that presents a huge problem, because that means there's no way to do Si calculations in the open source version. Do you see a possibility to suggest a quick workflow? We'll take care of the actual implementation. |
I found something - I generated in 2018 a directory named JTH-1.1, and it contains a list of PAW .atomicdata files that looks suspiciously similar to the one in pyiron. The README reads:
|
So I suspect this is the current abinit database, and the Si potential shouldn't be used. |
Ok then we got one problem solved. The other question is now whether there's a possibility to offer some pseudo potential that can be reliably used. Do you perhaps see a solution? |
And here is the end of output of the PAW generator when it generates the Si potential:
So as suspected, the overlap operator is pathological. (must be positive) |
If you need a Si potential, what about the GPAW ones (I think, xml format). |
And this can be used with SPHInX right? Should we test it beforehand? If yes, could you maybe tell us what to take a look at? |
Probably start with the basic stuff: Murnaghan plot for bulk Si? And then maybe energy-volume curve for your material of interest and compare with literature or VASP pot? Silicon shouldn't be very problematic, that's why I now remember that I was surprised that JTH produced such a lousy one (or maybe exactly because: if you run with low enough cutoff, you may be able to deform the projector enough to rise the overlap eigenvalue above zero (in the end, it is almost zero), and then you never notice that it will fail pw cutoff convergence tests). |
Btw: Jörg is from the "we always have to test the pseudopotentials we use" age (=early bronze age of DFT), so he may have additional hints what to test. |
I found this page. I copy and paste the first 20 lines of
This is the kind of xml that can be read? |
I hope so. No garantuee, since I had tested a few examples, and there is a lot of flexibility in the format (e.g. grid types), that needs to be accommodated. |
This raises
KeyError 'Si'
. The reason is simply because there is no JTH Si potential in the resources. Who created the potentials? @jan-janssenThe text was updated successfully, but these errors were encountered: