Hi,
I am trying to add ONCV(quantum-simulation.org) to the pseudo-potential with the tutorial. ONCV is some norm conserving pseudo-potential like peudo-dojo.
https://aiida-pseudo.readthedocs.io/en/latest/howto.html
However, it does not work for .upf or .tar.gz file.
$ aiida-pseudo install family ~/AiiDA/tutorial_pseudo/ONCV/sg15_oncv_upf_2020-02-06 ONCV -P pseudo.upf
Report: creating a pseudopotential family from directory `/home/yang/AiiDA/tutorial_pseudo/ONCV/sg15_oncv_upf_2020-02-06`... [FAILED]
Critical: directory `/home/yang/AiiDA/tutorial_pseudo/ONCV/sg15_oncv_upf_2020-02-06` contains pseudo potentials with duplicate elements
$ aiida-pseudo install family quicksetup ONCV -f gztar
Report: attempting to download data from `quicksetup`... [FAILED]
Critical: Invalid URL 'quicksetup': No scheme supplied. Perhaps you meant https://quicksetup?
(aiida_QE_VASP_YAMBO) yang@yang-Inspiron-3670:~/AiiDA/tutorial_pseudo/ONCV$ aiida-pseudo install family ~/AiiDA/tutorial_pseudo/ONCV ONCV -f gztar
Report: creating a pseudopotential family from directory `/home/yang/AiiDA/tutorial_pseudo/ONCV`... [FAILED]
Critical: `<class 'aiida_pseudo.data.pseudo.pseudo.PseudoPotentialData'>` constructor did not define the element and could not parse a valid element symbol from the filename `{filename}` either. It should have the format `ELEMENT.EXTENSION`
The ONCV file names look like this:
$ ls sg15_oncv_upf_2020-02-06
Ag_ONCV_PBE-1.0.upf Co_ONCV_PBE_FR-1.0.upf Ir_ONCV_PBE-1.0.upf Pb_ONCV_PBE-1.2.upf S_ONCV_PBE-1.1.upf
Ag_ONCV_PBE-1.2.upf Cr_ONCV_PBE-1.0.upf Ir_ONCV_PBE-1.2.upf Pb_ONCV_PBE_FR-1.0.upf S_ONCV_PBE-1.2.upf
Ag_ONCV_PBE_FR-1.0.upf Cr_ONCV_PBE-1.2.upf Ir_ONCV_PBE_FR-1.0.upf Pd_ONCV_PBE-1.0.upf S_ONCV_PBE_FR-1.1.upf
Al_ONCV_PBE-1.0.upf Cr_ONCV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y_ONCV_PBE-1.0.upf
Cl_ONCV_PBE-1.0.upf H_ONCV_PBE_FR-1.0.upf N_ONCV_PBE-1.2.upf Si_ONCV_PBE-1.0.upf Y_ONCV_PBE-1.2.upf
Cl_ONCV_PBE-1.1.upf In_ONCV_PBE-1.0.upf N_ONCV_PBE_FR-1.0.upf Si_ONCV_PBE-1.1.upf Y_ONCV_PBE_FR-1.0.upf
Cl_ONCV_PBE-1.2.upf In_ONCV_PBE-1.1.upf O_ONCV_PBE-1.0.upf Si_ONCV_PBE-1.2.upf Zn_ONCV_PBE-1.0.upf
Cl_ONCV_PBE_FR-1.1.upf In_ONCV_PBE-1.2.upf O_ONCV_PBE-1.2.upf Si_ONCV_PBE_FR-1.1.upf Zn_ONCV_PBE-1.2.upf
C_ONCV_PBE-1.0.upf In_ONCV_PBE_FR-1.0.upf O_ONCV_PBE_FR-1.0.upf Sn_ONCV_PBE-1.0.upf Zn_ONCV_PBE_FR-1.0.upf
C_ONCV_PBE-1.2.upf I_ONCV_PBE-1.0.upf Os_ONCV_PBE-1.0.upf Sn_ONCV_PBE-1.1.upf Zr_ONCV_PBE-1.0.upf
C_ONCV_PBE_FR-1.0.upf I_ONCV_PBE-1.1.upf Os_ONCV_PBE-1.2.upf Sn_ONCV_PBE-1.2.upf Zr_ONCV_PBE-1.2.upf
Co_ONCV_PBE-1.0.upf I_ONCV_PBE-1.2.upf Os_ONCV_PBE_FR-1.0.upf Sn_ONCV_PBE_FR-1.1.upf Zr_ONCV_PBE_FR-1.0.upf
Co_ONCV_PBE-1.2.upf I_ONCV_PBE_FR-1.1.upf Pb_ONCV_PBE-1.0.upf S_ONCV_PBE-1.0.upf
Ideally I want to keep the file names. If not, how should I change the file names(there are several files for one elements)?
Many thanks for that!
Sincerely,
Dr. Guoyu Yang
Lecturer
Jimei Univ, School of Science, Digital Fujian Big Data Modeling and Intelligent Computing Institute
185 Yinjiang Rd.,
Jimei District, Xiamen,361021
Fujian, China
E-mail: 201961000100@jmu.edu.cn