problem reading xml ONCV PSPs in abinit-8.8.2?

Moderators: torrent, jzwanzig

problem reading xml ONCV PSPs in abinit-8.8.2?

Postby sartyukhin » Sun Jun 03, 2018 5:23 am

Dear All,

I'm trying to use Abinit 8.8.2 with ONCVPSP. Аbinit is compiled with gcc 7.2.1, and statically linked to libpsml-1.1.7 and xmlf90-1.5.4 installed in /usr/local/

psml-related configure options:
--with-trio-flavor="netcdf+psml" --with-psml-incs="-I/usr/local/include" \
--with-psml-libs="/usr/local/lib/libpsml.a /usr/local/lib/libxmlf90.a -static-libgfortran

throws a "BUG" message while reading ONCV PSPs, after reading the complete PSP file e.g. http://quantum-simulation.org/potential ... BE-1.0.xml
Code: Select all
- inpspheads : Reading pseudopotential header in XML form from /home/artyukhin/BFO/pp/Bi_ONCV_PBE-1.0.xml
 Element: fpmd:species
 Element: description
 -- end Element: description
 Element: symbol
 -- end Element: symbol
 Element: atomic_number
 -- end Element: atomic_number
*** abbreviated here ***
 Element: d_ij
 -- end Element: d_ij
 Element: d_ij
 -- end Element: d_ij
 -- end Element: norm_conserving_semilocal_pseudopotential
 -- end Element: fpmd:species
 
--- !BUG
src_file: m_psxml2ab.F90
src_line: 457
mpi_rank: 0
message: |
    Cannot reach provenance level
...
 leave_new: decision taken to exit ...


Any insights are appreciated.

Kind regards,
Sergey
sartyukhin
 
Posts: 2
Joined: Sun Jun 03, 2018 5:00 am
Location: Italian Institute of Technology, Genova, Italy

Re: problem reading xml ONCV PSPs in abinit-8.8.2?

Postby sartyukhin » Mon Jun 04, 2018 3:46 am

The workaround that I have found is to replace "upf+fpmd" by "psp8" in the third line of the ONCV input for the pseudo and regenerate it, e.g.
Code: Select all
oncvpsp.x <Bi_ONCV_PBE-1.0.dat >Bi_ONCV_PBE-1.0.out
awk '/Begin PSPCODE8/{fl++;next}fl==1{print}' Bi_ONCV_PBE-1.0.out >Bi_ONCV_PBE-1.0.psp8

Abinit is then able to read the resulting .psp8 file.
sartyukhin
 
Posts: 2
Joined: Sun Jun 03, 2018 5:00 am
Location: Italian Institute of Technology, Genova, Italy


Return to Pseudopotentials and PAW datasets

Who is online

Users browsing this forum: No registered users and 1 guest

cron