-
Notifications
You must be signed in to change notification settings - Fork 107
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
BUG: Cannot read W POTCAR #1014
Comments
|
@Andrew-S-Rosen Thank you for pointing this out. Recently, I have successfully replicated the elastic constants results reported by the Materials Project, relying entirely on its original data, as demonstrated here. But based on your above comments, for my purpose above, it seems that I should have used the following two makers as the In [1]: from atomate2.vasp.flows.mp import MPGGADoubleRelaxMaker, MPGGAStaticMaker |
Yes, I confirmed this, as shown below: werner@x13dai-t:~/Public/repo/github.com/materialsproject/pymatgen.git$ ls ~/Public/hpc/vasp/pot/pmg_potcar/POT_PAW_PBE_64/POTCAR.W*
/home/werner/Public/hpc/vasp/pot/pmg_potcar/POT_PAW_PBE_64/POTCAR.W.gz
/home/werner/Public/hpc/vasp/pot/pmg_potcar/POT_PAW_PBE_64/POTCAR.W_sv_GW.gz
/home/werner/Public/hpc/vasp/pot/pmg_potcar/POT_PAW_PBE_64/POTCAR.W_sv.gz
werner@x13dai-t:~/Public/repo/github.com/materialsproject/pymatgen.git$ ug W_pv -g '*.yaml'
src/pymatgen/io/vasp/MITRelaxSet.yaml: symbol: W_pv
src/pymatgen/io/vasp/MVLRelax52Set.yaml: W: W_pv
src/pymatgen/io/vasp/MPHSERelaxSet.yaml: W: W_pv
src/pymatgen/io/vasp/MPRelaxSet.yaml: W: W_pv
src/pymatgen/io/vasp/MPAbsorptionSet.yaml: W: W_pv
|
@hongyi-zhao @Andrew-S-Rosen Hi, I solved this issue, if I use W_sv, I should use MP Meta GGA, which is compatible with MP R2SCAN data, and indeed I have no W_pv before, after I add W_pv, then use MPGGA is worked well. |
As @Andrew-S-Rosen pointed out, |
@hongyi-zhao Yes, it depends on which data we want to use, if we require MP GGA data, then we should use W_pv, which is outdated, but it is compatible with MP GGA data, and if we require MP R2SCAN data to construct phase diagram, we should use W_sv to calculate our own materials, W_sv is in VASP available_pseudo in potpaw.54, also this is shown in the MPSCANRelaxSet.yaml. But there is also another way that we can use MaterialsProjectDFTMixingScheme().process_entries, to mix the data from 2 functionals. For example, use W_sv and MPMetaGGARelaxMaker for any structure contains W(in potpaw.54), and for other elements that pseudo not change, we can use GGA data from MP and use MPGGARelaxMaker to do the calculations. Then use MPDFTMixingScheme to construct the phase diagram that all data are compatible. |
To use |
Yes, I have it, thank you. I have solved this issue. |
Hi,
I have encountered an issue that currently seems to be isolated to W POTCAR files. Here is the code I'm using:
I have created several similar jobs, each using a different POSCAR file, and all of them work fine except the one that includes W (Tungsten). Interestingly, it works for W as well when I use
RelaxMaker
instead ofMPGGARelaxMaker
. My pseudopotential path is specified in~/.config/.pmgrc.yaml
as/home/VASP/MY_PSP
. Under this directory, I have aPOT_GGA_PAW_PBE
folder as per the pymatgen documentation, and I also have the required.gz
POTCAR files stored there. This setup works correctly for other elements, but when I attempt a calculation involving W, I encounter the following error:The content of the POTCAR for W appears normal and matches the format of other POTCARs that work correctly. Here are the relevant details:
It appears that the POTCAR file for W is not being correctly identified, even though it is in the correct directory and has the appropriate content. The error specifically mentions
'W_pv'
not being found.I think maybe this could be an issue within Atomate2 since it works normally when I use
RelaxMaker
.Many thanks in advance!
The text was updated successfully, but these errors were encountered: