Dear all,<div><br /></div><div>I am trying to convert GTH pseudopotentials to the UPF format using the ATOM code in CP2K. Following previous posts found on this forum (for example <a href="https://groups.google.com/g/cp2k/c/WKk4HvqU7l0">this one</a>), I used a script as follows:<br /><br />&GLOBAL<br />PROJECT C<br />PROGRAM_NAME ATOM<br />&END GLOBAL<br />&ATOM<br />ELEMENT C<br />ELECTRON_CONFIGURATION CORE 2s2 2p2<br />CORE [He]<br />&METHOD<br />    METHOD_TYPE  KOHN-SHAM<br />    &XC<br />    &XC_FUNCTIONAL LDA<br />    &END XC_FUNCTIONAL<br />    &END XC<br />&END METHOD<br />&PP_BASIS<br />    BASIS_TYPE GEOMETRICAL_GTO<br />&END PP_BASIS<br />&POTENTIAL<br />    PSEUDO_TYPE GTH<br />    &GTH_POTENTIAL<br />        2    2<br />     0.34883045    2    -8.51377110     1.22843203<br />    2<br />     0.30455321    1     9.52284179<br />     0.23267730    0<br />&END<br />&END POTENTIAL<br />&PRINT<br />    &ANALYZE_BASIS<br />        OVERLAP_CONDITION_NUMBER T<br />        COMPLETENESS T<br />    &END ANALYZE_BASIS<br />    &UPF_FILE<br />    FILENAME ./C-GTH-LDA<br />    &END<br />&END<br />&END ATOM<br /><br />and got the .UPF file. However, when using this UPF file to run a simple calculation (diamond single point energy) in Quantum Espresso, we are getting completely different energies than using the UPF from QE library that should correspond to the same GTH pseudopotential (<a href="https://pseudopotentials.quantum-espresso.org/upf_files/C.pz-hgh.UPF">https://pseudopotentials.quantum-espresso.org/upf_files/C.pz-hgh.UPF</a>) <br /><br />Converted: total energy              =     -44.85859895 Ry<br />From QE website: total energy              =     -21.77590004 Ry<br /><br />Any advice on how to solve this problem would be greatly appreciated!<br /><br />Best,</div><div>Nemo</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/926e7a90-ff5b-4e2c-a82d-8337b0e88826n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/926e7a90-ff5b-4e2c-a82d-8337b0e88826n%40googlegroups.com</a>.<br />