Convert PP from UPF to XML

Questions and discussions regarding the use of Qbox
Forum rules
You must be a registered user to post in this forum. Registered users may also post new topics if they consider that their subject does not correspond to any topic already present on the forum.
Post Reply
lesheng
Posts: 10
Joined: Tue Feb 04, 2014 2:16 pm

Convert PP from UPF to XML

Post by lesheng »

Hi everyone,

I'm trying to convert a NORMCONS PP file used in quantum-espresso to the xml file used in Qbox. However, when I use the upf2qso to convert it, it shows me the following error:

" upf2qso v1.4 2014-02-24
found EOF before <PP_HEADER>
upf2qso: PeriodicTable.C:27: int PeriodicTable::z(std::string) const: Assertion `i != zmap.end()' failed.
Aborted"

Could anyone help me on this please?

The QE PP file can be found here: http://www.quantum-espresso.org/wp-cont ... mt_fhi.UPF

Thanks,
Lesheng Li
Lesheng Li
Ph.D Candidate
Chemistry Department
University of North Carolina at Chapel Hill
fgygi
Site Admin
Posts: 167
Joined: Tue Jun 17, 2008 7:03 pm

Re: Convert PP from UPF to XML

Post by fgygi »

Hi Lesheng,
The current version of upf2qso can only read the old UPF format. The new UPF format is quite different (especially in the way it uses XML attributes) and we will need to implement another version of upf2qso.
In the meantime, if you don't have a specific reason to use that particular oxygen potential, I would recommend using the following norm-conserving (HSCV) PBE potential for oxygen:

http://fpmd.ucdavis.edu/potentials/O/O_HSCV_PBE-1.0.xml

This potential has been extensively tested in simulations of water and ice (see e.g. http://dx.doi.org/10.1021/ct2000952 )

Other HSCV potentials are available at http://fpmd.ucdavis.edu/potentials

Francois
lesheng
Posts: 10
Joined: Tue Feb 04, 2014 2:16 pm

Re: Convert PP from UPF to XML

Post by lesheng »

Thanks, I'll have a look.

Best,
Lesheng Li

fgygi wrote:Hi Lesheng,
The current version of upf2qso can only read the old UPF format. The new UPF format is quite different (especially in the way it uses XML attributes) and we will need to implement another version of upf2qso.
In the meantime, if you don't have a specific reason to use that particular oxygen potential, I would recommend using the following norm-conserving (HSCV) PBE potential for oxygen:

http://fpmd.ucdavis.edu/potentials/O/O_HSCV_PBE-1.0.xml

This potential has been extensively tested in simulations of water and ice (see e.g. http://dx.doi.org/10.1021/ct2000952 )

Other HSCV potentials are available at http://fpmd.ucdavis.edu/potentials

Francois
Lesheng Li
Ph.D Candidate
Chemistry Department
University of North Carolina at Chapel Hill
Post Reply